projects
/
platform
/
upstream
/
pango.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ba204
)
Fix hb font scale
author
Behdad Esfahbod
<behdad@behdad.org>
Sun, 20 Dec 2009 19:58:50 +0000
(20:58 +0100)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sun, 20 Dec 2009 19:58:50 +0000
(20:58 +0100)
modules/basic/basic-fc.c
patch
|
blob
|
history
diff --git
a/modules/basic/basic-fc.c
b/modules/basic/basic-fc.c
index
f68a91d
..
2888944
100644
(file)
--- a/
modules/basic/basic-fc.c
+++ b/
modules/basic/basic-fc.c
@@
-249,8
+249,8
@@
basic_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED,
&context);
hb_font_set_scale (hb_font,
/* XXX CTM */
-
ft_face->size->metrics.x_scale
,
-
ft_face->size->metrics.y_scale
);
+
PANGO_UNITS_26_6 (ft_face->size->metrics.x_scale)
,
+
PANGO_UNITS_26_6 (ft_face->size->metrics.y_scale)
);
is_hinted = fc_font->is_hinted;
hb_font_set_ppem (hb_font,
is_hinted ? ft_face->size->metrics.x_ppem : 0,