This commit is contained in:
Kovid Goyal 2017-10-30 21:25:10 +05:30
parent 3643a78b18
commit 8fc9f97c12
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -192,6 +192,9 @@ face_has_codepoint(PyObject *s, char_type cp) {
return FT_Get_Char_Index(((Face*)s)->face, cp) > 0; return FT_Get_Char_Index(((Face*)s)->face, cp) > 0;
} }
hb_font_t*
harfbuzz_font_for_face(PyObject *self) { return ((Face*)self)->harfbuzz_font; }
// Boilerplate {{{ // Boilerplate {{{
static PyMemberDef members[] = { static PyMemberDef members[] = {