summaryrefslogtreecommitdiff
path: root/pango/pangocoretext.c
diff options
context:
space:
mode:
authorJohn Ralls <jralls@ceridwen.us>2018-04-29 16:03:08 -0700
committerJohn Ralls <jralls@ceridwen.us>2018-05-08 17:55:35 -0700
commitf661cdbf8cfbdb2ba7241d8dfa4a579c6dfe0a94 (patch)
treeee57d3ef3507c65bd5a74c13ad10f63cb4c72964 /pango/pangocoretext.c
parentedb0dff3454d4d9ce6242a0f30ddaef993ee1e89 (diff)
downloadpango-f661cdbf8cfbdb2ba7241d8dfa4a579c6dfe0a94.tar.gz
Restore scaling of CoreText fonts.
Fixes bug 787867.
Diffstat (limited to 'pango/pangocoretext.c')
-rw-r--r--pango/pangocoretext.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
index 8cba1aae..2aa1810a 100644
--- a/pango/pangocoretext.c
+++ b/pango/pangocoretext.c
@@ -225,10 +225,7 @@ pango_core_text_font_class_init (PangoCoreTextFontClass *class)
object_class->finalize = pango_core_text_font_finalize;
font_class->describe = pango_core_text_font_describe;
- /* In CoreText the device unit is points so describe_absoulute and
- * describe are the same.
- */
- font_class->describe_absolute = pango_core_text_font_describe;
+ /* font_class->describe_absolute is left virtual for PangoCairoCoreTextFont. */
font_class->get_coverage = pango_core_text_font_get_coverage;
font_class->find_shaper = pango_core_text_font_find_shaper;
font_class->get_font_map = pango_core_text_font_get_font_map;