summaryrefslogtreecommitdiff
path: root/src/hb-directwrite.h
diff options
context:
space:
mode:
authorEbrahim Byagowi <ebrahim@gnu.org>2019-03-29 13:00:56 -0700
committerGitHub <noreply@github.com>2019-03-29 13:00:56 -0700
commitb292772e6ef15728dd66329e637265748df0efe1 (patch)
tree6f9974e1f296718ce77749e6832ad6aaf0491731 /src/hb-directwrite.h
parent59f36f36820f6e6fb1d3b6da26d6b5ee7588c42f (diff)
downloadharfbuzz-master.tar.gz
[dwrite] A new API, hb_directwrite_face_get_font_face (#1600)HEADmaster
Can be useful when using HarfBuzz for font loading and shaping but using DirectWrite for rendering.
Diffstat (limited to 'src/hb-directwrite.h')
-rw-r--r--src/hb-directwrite.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/hb-directwrite.h b/src/hb-directwrite.h
index 09776fd0..de813d06 100644
--- a/src/hb-directwrite.h
+++ b/src/hb-directwrite.h
@@ -37,6 +37,9 @@ hb_directwrite_shape_experimental_width (hb_font_t *font, hb_buffer_t *buffer,
HB_EXTERN hb_face_t *
hb_directwrite_face_create (IDWriteFontFace *font_face);
+HB_EXTERN IDWriteFontFace *
+hb_directwrite_face_get_font_face (hb_face_t *face);
+
HB_END_DECLS
#endif /* HB_DIRECTWRITE_H */