diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-01-06 16:12:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-06 16:12:36 +0100 |
commit | 990c79c8e5288a3315a73d8c55084a594f82ccac (patch) | |
tree | d6d1ceb1feee2902b4e71d605a1aaf962c50569f /include | |
parent | 0ae5e72a2baa3a19aa51be4d6a91c4d23edac20f (diff) | |
download | mupdf-990c79c8e5288a3315a73d8c55084a594f82ccac.tar.xz |
epub: Cache font encoding lookups.
Add a caching table for the lower planes of unicode, which cover the
latin, greek, cyrillic, hebrew and arabic scripts.
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/fitz/font.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h index 21794d59..3a272d26 100644 --- a/include/mupdf/fitz/font.h +++ b/include/mupdf/fitz/font.h @@ -61,6 +61,9 @@ struct fz_font_s /* cached glyph metrics */ float *advance_table; + /* cached unicode encoding lookup */ + int *unicode_table; + /* substitute metrics */ int width_count; short width_default; /* in 1000 units */ |