summaryrefslogtreecommitdiff
path: root/pango/pangoxft-font.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-03-02 22:58:15 +0000
committerOwen Taylor <otaylor@src.gnome.org>2005-03-02 22:58:15 +0000
commitdacb1eb224be130143584ab6f750189b90c0822f (patch)
tree15733796e4bb96fef77d7390b220a0a50d828c37 /pango/pangoxft-font.c
parent023c57d9d6b41fcf631024ee120d4e76d4f87f98 (diff)
downloadpango-dacb1eb224be130143584ab6f750189b90c0822f.tar.gz
Go back to using Xft-reported metrics for all non-transformed fonts.
2005-03-02 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c (pango_xft_font_get_glyph_extents): Go back to using Xft-reported metrics for all non-transformed fonts. Reporting non-integer glyph metrics for fonts where people have disabled hinting in their config causes various problems. (reported variously, including #167801, Adam Sampson)
Diffstat (limited to 'pango/pangoxft-font.c')
-rw-r--r--pango/pangoxft-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 210a939a..7af080c7 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -313,7 +313,7 @@ pango_xft_font_get_glyph_extents (PangoFont *font,
}
else if (glyph)
{
- if (!fcfont->is_transformed && fcfont->is_hinted)
+ if (!fcfont->is_transformed)
get_glyph_extents_xft (fcfont, glyph, ink_rect, logical_rect);
else
get_glyph_extents_raw (xfont, glyph, ink_rect, logical_rect);