diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-08-01 18:15:23 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-08-17 13:38:48 +0200 |
commit | 626ea2ea771735492c9a4350ae02b26ea09d1423 (patch) | |
tree | c92241b181a51719cbb47402bad98bb1984bf963 /include/mupdf/fitz/font.h | |
parent | e349ba5984fe837d3eec9649d718efe16169ca44 (diff) | |
download | mupdf-626ea2ea771735492c9a4350ae02b26ea09d1423.tar.xz |
Simplify stext structure and device.
* Use pool allocator and linked lists for all levels.
* Remove separate fz_stext_sheet struct.
* Remove unused 'script' style.
* Remove 'span' level items.
* Detect visual/logical RTL layouts.
* Detect indented paragraphs.
Diffstat (limited to 'include/mupdf/fitz/font.h')
-rw-r--r-- | include/mupdf/fitz/font.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h index a6e172a1..ef4cd74d 100644 --- a/include/mupdf/fitz/font.h +++ b/include/mupdf/fitz/font.h @@ -601,6 +601,12 @@ int fz_encode_character_with_fallback(fz_context *ctx, fz_font *font, int unicod void fz_get_glyph_name(fz_context *ctx, fz_font *font, int glyph, char *buf, int size); /* + Get font ascender and descender values. +*/ +float fz_font_ascender(fz_context *ctx, fz_font *font); +float fz_font_descender(fz_context *ctx, fz_font *font); + +/* Internal functions for our Harfbuzz integration to work around the lack of thread safety. */ |