summaryrefslogtreecommitdiff
path: root/pango/pangocoretext.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-01-03 23:53:36 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-01-04 00:40:25 -0500
commite431886db2cfd5116c9d73306490633fa9a83547 (patch)
tree5bcd17fa6ff1249788045901f798815975d6d857 /pango/pangocoretext.c
parent749d7af9a9757fda86eb90480efbea110904ab04 (diff)
downloadpango-e431886db2cfd5116c9d73306490633fa9a83547.tar.gz
macos: Implement pango_font_get_face
This was returning NULL for coretext fonts. Good that we have tests for this. Fixes: #524
Diffstat (limited to 'pango/pangocoretext.c')
-rw-r--r--pango/pangocoretext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangocoretext.c b/pango/pangocoretext.c
index 44d2805a..e14ab16c 100644
--- a/pango/pangocoretext.c
+++ b/pango/pangocoretext.c
@@ -238,7 +238,7 @@ _pango_core_text_font_get_face (PangoCoreTextFont *font)
{
PangoCoreTextFontPrivate *priv = font->priv;
- return priv->face;
+ return pango_core_text_font_map_find_face (PANGO_CORE_TEXT_FONT_MAP (priv->fontmap), priv->key);
}
gpointer