summaryrefslogtreecommitdiff
path: root/examples/viewer-ft2.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2000-08-20 22:02:14 +0000
committerTor Lillqvist <tml@src.gnome.org>2000-08-20 22:02:14 +0000
commitcd3238a63b904fd0792ca04f1dac7ff04ef98eb4 (patch)
tree20e3507658937baaf610ef3a48bac98439672255 /examples/viewer-ft2.c
parent1c7f0ddea0ef2f9471a1dd87cebee30443524bd6 (diff)
downloadpango-cd3238a63b904fd0792ca04f1dac7ff04ef98eb4.tar.gz
Handle also ft_pixel_mode_mono glyphs.
2000-08-21 Tor Lillqvist <tml@iki.fi> * pango/pangoft2.c (pango_ft2_render): Handle also ft_pixel_mode_mono glyphs. * pango/pangoft2*: Portability enhancements (non-gcc). * examples/viewer-{ft2,win32}.c: One more 1000 vs. PANGO_SCALE fix. * pango/module-defs.c.win32: New file. * pango/Makefile.am: Distribute it.
Diffstat (limited to 'examples/viewer-ft2.c')
-rw-r--r--examples/viewer-ft2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/viewer-ft2.c b/examples/viewer-ft2.c
index e077c525..e7e24bd1 100644
--- a/examples/viewer-ft2.c
+++ b/examples/viewer-ft2.c
@@ -696,7 +696,7 @@ main (int argc,
font_description.variant = PANGO_VARIANT_NORMAL;
font_description.weight = PANGO_WEIGHT_NORMAL;
font_description.stretch = PANGO_STRETCH_NORMAL;
- font_description.size = 24000;
+ font_description.size = 24 * PANGO_SCALE;
pango_context_set_font_description (context, &font_description);