diff options
Diffstat (limited to 'pango/shape.c')
-rw-r--r-- | pango/shape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/shape.c b/pango/shape.c index aed028b7..afb1db0d 100644 --- a/pango/shape.c +++ b/pango/shape.c @@ -295,7 +295,7 @@ pango_shape_with_flags (const gchar *item_text, if (flags & PANGO_SHAPE_ROUND_POSITIONS) { - if (pango_font_is_hinted (analysis->font)) + if (analysis->font && pango_font_is_hinted (analysis->font)) { double x_scale_inv, y_scale_inv; double x_scale, y_scale; |