From cd3238a63b904fd0792ca04f1dac7ff04ef98eb4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sun, 20 Aug 2000 22:02:14 +0000 Subject: Handle also ft_pixel_mode_mono glyphs. 2000-08-21 Tor Lillqvist * 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. --- examples/viewer-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/viewer-win32.c') diff --git a/examples/viewer-win32.c b/examples/viewer-win32.c index cbfb8033..6ecb41c9 100644 --- a/examples/viewer-win32.c +++ b/examples/viewer-win32.c @@ -650,7 +650,7 @@ main (int argc, char **argv) font_description.variant = PANGO_VARIANT_NORMAL; font_description.weight = 500; font_description.stretch = PANGO_STRETCH_NORMAL; - font_description.size = 16000; + font_description.size = 16 * PANGO_SCALE; pango_context_set_font_description (context, &font_description); -- cgit v1.2.1