summaryrefslogtreecommitdiff
path: root/pango/testfonts.c
diff options
context:
space:
mode:
authorHans Breuer <hans@breuer.org>2004-08-06 18:33:23 +0000
committerHans Breuer <hans@src.gnome.org>2004-08-06 18:33:23 +0000
commit285abaf4388ff793e1daf5d2084c69a83a9d82eb (patch)
tree01eb09fbed1fcfaf9eff3dc4e4ec969467664c7c /pango/testfonts.c
parent35adf5a98dee743082a5b0a9467ce92ff450f4b9 (diff)
downloadpango-285abaf4388ff793e1daf5d2084c69a83a9d82eb.tar.gz
updated
2004-08-06 Hans Breuer <hans@breuer.org> * pango/pango.def pango/pangoft2.def pango/pangowin32.def pango/makefile.msc : updated * pango/pangofc-decoder.c : static the pango_fc_decoder_*init implementations * pango/pangowin32.c : remove the duplicated, empty implementation of pango_win32_font_init(), also replace parent_class variable with pango_win32_font_parent_class as defined by G_DEFINE_TYPE * modules/basic/basic-win32.c : implement basic_engine_covers * pango/testfonts.c : iterate three common font names as was intended orginally and said in the comment for years
Diffstat (limited to 'pango/testfonts.c')
-rw-r--r--pango/testfonts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/testfonts.c b/pango/testfonts.c
index e387eee8..133b9181 100644
--- a/pango/testfonts.c
+++ b/pango/testfonts.c
@@ -91,7 +91,7 @@ int main (int argc, char **argv)
/* try to load some fonts often hardcoded */
for (i = 0; i < G_N_ELEMENTS (std_fonts); i++)
{
- PangoFontDescription *desc = pango_font_description_from_string("Sans 12");
+ PangoFontDescription *desc = pango_font_description_from_string(std_fonts[i]);
/* spits warnings if font cannot be loaded */
font = pango_font_map_load_font (fontmap, context, desc);