summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/font.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-05-25 12:10:47 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-05-25 13:53:39 +0200
commit0287ff8ba2779274914f0509c9325f881c6634f2 (patch)
tree7513d9a174002387a0a2a5395c7428a92f64a159 /include/mupdf/fitz/font.h
parent32599868df1b3ecd553a0c1bc3e2521dd11b288a (diff)
downloadmupdf-0287ff8ba2779274914f0509c9325f881c6634f2.tar.xz
Update Type 3 font bbox with glyph bboxes if the former is invalid.
Fix for bug 697943. Set the initial replacement font bbox to the empty rectangle for type3 fonts, and let the type3 glyph loading initialize by taking the union of all glyph bboxes. Set the replacement font bbox for non-Type3 fonts to the unit rectangle. Also remove unused flag from fz_font struct.
Diffstat (limited to 'include/mupdf/fitz/font.h')
-rw-r--r--include/mupdf/fitz/font.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/mupdf/fitz/font.h b/include/mupdf/fitz/font.h
index 7d655222..7c71ca05 100644
--- a/include/mupdf/fitz/font.h
+++ b/include/mupdf/fitz/font.h
@@ -75,7 +75,6 @@ typedef struct
unsigned int force_hinting : 1; /* force hinting for DynaLab fonts */
unsigned int has_opentype : 1; /* has opentype shaping tables */
unsigned int invalid_bbox : 1;
- unsigned int use_glyph_bbox : 1;
} fz_font_flags_t;
/*