diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-01-03 23:53:36 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-01-04 00:40:25 -0500 |
commit | e431886db2cfd5116c9d73306490633fa9a83547 (patch) | |
tree | 5bcd17fa6ff1249788045901f798815975d6d857 /pango/pangocoretext-private.h | |
parent | 749d7af9a9757fda86eb90480efbea110904ab04 (diff) | |
download | pango-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-private.h')
-rw-r--r-- | pango/pangocoretext-private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pango/pangocoretext-private.h b/pango/pangocoretext-private.h index 9cade31a..d95ec642 100644 --- a/pango/pangocoretext-private.h +++ b/pango/pangocoretext-private.h @@ -152,6 +152,9 @@ PangoGravity pango_core_text_font_key_get_gravity (const Pango _PANGO_EXTERN CTFontDescriptorRef pango_core_text_font_key_get_ctfontdescriptor (const PangoCoreTextFontKey *key); +PangoCoreTextFace * pango_core_text_font_map_find_face (PangoCoreTextFontMap *map, + const PangoCoreTextFontKey *key); + G_END_DECLS #endif /* __PANGOCORETEXT_PRIVATE_H__ */ |