summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mupdf/fitz/font.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h
index 1e053470..21794d59 100644
--- a/include/mupdf/fitz/font.h
+++ b/include/mupdf/fitz/font.h
@@ -52,11 +52,15 @@ struct fz_font_s
fz_rect bbox; /* font bbox is used only for t3 fonts */
+ int glyph_count;
+
/* per glyph bounding box cache */
int use_glyph_bbox;
- int bbox_count;
fz_rect *bbox_table;
+ /* cached glyph metrics */
+ float *advance_table;
+
/* substitute metrics */
int width_count;
short width_default; /* in 1000 units */