summaryrefslogtreecommitdiff
path: root/pango/pangowin32-fontmap.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2001-08-09 23:40:54 +0000
committerHans Breuer <hans@src.gnome.org>2001-08-09 23:40:54 +0000
commit20cd4088fe5bab1cde436ab572a0cc8b38cb7418 (patch)
tree5086639592b55020d4029042ac6d8514742e9650 /pango/pangowin32-fontmap.c
parent8634415d0e761d18210e54fb045f7b4af07bf046 (diff)
downloadpango-20cd4088fe5bab1cde436ab572a0cc8b38cb7418.tar.gz
restore the previously selected font into the device context.
2001-08-10 Hans Breuer <hans@breuer.org> * pango/pangowin32.c (pango_win32_render) : restore the previously selected font into the device context. (pango_win32_font_get_glyph_extents) : info->ink_rect.y needs to be negative to get underlines right * pango/pangowin32-fontmap.c (pango_win32_font_map_list_fonts) : Don't g_assert_not_reached () on !family case. This is what the X version does as well. Testcase for win32: testfonts.c * pango/testfonts.c : (new file) simple test program for win32 which renders all or selected fonts into a bitmap * pango/makefile.msc : re-enable testfonts compiling
Diffstat (limited to 'pango/pangowin32-fontmap.c')
-rw-r--r--pango/pangowin32-fontmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangowin32-fontmap.c b/pango/pangowin32-fontmap.c
index 7cdbefde..748100e9 100644
--- a/pango/pangowin32-fontmap.c
+++ b/pango/pangowin32-fontmap.c
@@ -342,7 +342,7 @@ pango_win32_font_map_list_fonts (PangoFontMap *fontmap,
else
{
/* FIXME: (Alex) What the heck is this? I think it should just be removed */
- g_assert_not_reached ();
+ /* HB: I don't think so, the X version does the same ... */
*n_descs = win32fontmap->n_fonts;
if (descs)
{