summaryrefslogtreecommitdiff
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
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)
-rw-r--r--ChangeLog9
-rw-r--r--ChangeLog.pre-1-109
-rw-r--r--pango/pangoxft-font.c2
3 files changed, 19 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 31721876..6996106e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
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)
+
+2005-03-02 Owen Taylor <otaylor@redhat.co>m
+
[ ChangeLog entry for some changes accidentally committed
a while ago ]
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index 31721876..6996106e 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,5 +1,14 @@
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)
+
+2005-03-02 Owen Taylor <otaylor@redhat.co>m
+
[ ChangeLog entry for some changes accidentally committed
a while ago ]
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);