diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-03-02 22:57:59 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-03-02 22:57:59 +0000 |
commit | fc7d503db9078b7bb24f667cda65b8cf6c82f172 (patch) | |
tree | 1097f912fff36ff82800c0f2c69f0fbd56ac4c1c /pango | |
parent | d887e66dc5497ac0af84d9e22af6b98f4cc5d99e (diff) | |
download | pango-fc7d503db9078b7bb24f667cda65b8cf6c82f172.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')
-rw-r--r-- | pango/pangoxft-font.c | 2 |
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); |