[pango/simplify-font-funcs] shape: use hb_font_get_nominal_glyph()
- From: Khaled Hosny <khaledh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/simplify-font-funcs] shape: use hb_font_get_nominal_glyph()
- Date: Thu, 1 Aug 2019 14:39:53 +0000 (UTC)
commit 177c7808aa3875edbc51133c38eb03de99f46cda
Author: Khaled Hosny <khaledhosny eglug org>
Date: Thu Aug 1 16:38:30 2019 +0200
shape: use hb_font_get_nominal_glyph()
Instead of setting variation selector to 0.
pango/pangofc-shape.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/pango/pangofc-shape.c b/pango/pangofc-shape.c
index ab88bb67..2e9806b8 100644
--- a/pango/pangofc-shape.c
+++ b/pango/pangofc-shape.c
@@ -190,7 +190,7 @@ pango_hb_font_get_nominal_glyph (hb_font_t *font,
}
}
- if (hb_font_get_glyph (context->parent, unicode, 0, glyph))
+ if (hb_font_get_nominal_glyph (context->parent, unicode, glyph))
return TRUE;
*glyph = PANGO_GET_UNKNOWN_GLYPH (unicode);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]