[pango/kill-ft-face] fixup! fc: Move font setup code from the shaper
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/kill-ft-face] fixup! fc: Move font setup code from the shaper
- Date: Wed, 10 Jul 2019 19:46:01 +0000 (UTC)
commit 22bbb915c0d18e03760a7616404697770a9b7dc8
Author: Matthias Clasen <mclasen redhat com>
Date: Wed Jul 10 15:45:37 2019 -0400
fixup! fc: Move font setup code from the shaper
pango/pangofc-font.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/pango/pangofc-font.c b/pango/pangofc-font.c
index be5db963..7b4f4167 100644
--- a/pango/pangofc-font.c
+++ b/pango/pangofc-font.c
@@ -983,9 +983,9 @@ pango_fc_font_create_hb_font (PangoFont *font)
hb_face = pango_fc_font_map_get_hb_face (PANGO_FC_FONT_MAP (fc_font->fontmap), fc_font);
hb_font = hb_font_create (hb_face);
- hb_ot_font_set_funcs (hb_font);
- hb_font_set_scale (hb_font, size * 1024 * x_scale, size * 1024 * y_scale);
- hb_font_set_ppem (hb_font, 0, 0);
+ hb_font_set_scale (hb_font,
+ size * PANGO_SCALE * x_scale,
+ size * PANGO_SCALE * y_scale);
if (key)
{
const char *variations = pango_fc_font_key_get_variations (key);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]