summaryrefslogtreecommitdiff
path: root/examples/viewer-ft2.c
diff options
context:
space:
mode:
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);