diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-04-28 08:19:38 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-04-28 08:19:38 +0000 |
commit | 328a89098e50c5d007c57467d7b143ca8d28ca9f (patch) | |
tree | 3dafdd127d6def81c5dd110214d7f6b4a0538c1f /pango/pangoxft-font.c | |
parent | 61064c7998cfcb870dbdf002021860903e3715e7 (diff) | |
download | pango-328a89098e50c5d007c57467d7b143ca8d28ca9f.tar.gz |
Don't use is_hinted. Metrics are always hinted now.
2006-04-28 Behdad Esfahbod <behdad@gnome.org>
* pango/pangofc-font.c (get_face_metrics),
(pango_fc_font_get_raw_extents): Don't use is_hinted. Metrics are
always hinted now.
* pango/pangoxft-font.c (_pango_xft_font_new): Remove hack that forced
is_hinted to TRUE.
Diffstat (limited to 'pango/pangoxft-font.c')
-rw-r--r-- | pango/pangoxft-font.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c index fe3844fb..d0ef5caa 100644 --- a/pango/pangoxft-font.c +++ b/pango/pangoxft-font.c @@ -96,12 +96,6 @@ _pango_xft_font_new (PangoXftFontMap *xftfontmap, "pattern", pattern, NULL); - /* Hack to force hinting of vertical metrics; hinting off for - * a Xft font just means to not hint outlines, but we still - * want integer line spacing, underline positions, etc - */ - PANGO_FC_FONT (xfont)->is_hinted = TRUE; - xfont->xft_font = NULL; return xfont; |