diff options
Diffstat (limited to 'include/mupdf/fitz/font.h')
-rw-r--r-- | include/mupdf/fitz/font.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h index b6ea3362..313f5ac8 100644 --- a/include/mupdf/fitz/font.h +++ b/include/mupdf/fitz/font.h @@ -68,6 +68,9 @@ struct fz_font_s /* cached encoding lookup */ uint16_t *encoding_cache[256]; + + /* fallback font chain */ + fz_font *fallback; }; /* common CJK font collections */ @@ -103,6 +106,7 @@ void fz_decouple_type3_font(fz_context *ctx, fz_font *font, void *t3doc); float fz_advance_glyph(fz_context *ctx, fz_font *font, int glyph); int fz_encode_character(fz_context *ctx, fz_font *font, int unicode); +int fz_encode_character_with_fallback(fz_context *ctx, fz_font *font, int unicode, fz_font **out_font); void fz_print_font(fz_context *ctx, fz_output *out, fz_font *font); |