diff options
Diffstat (limited to 'source/fitz')
-rw-r--r-- | source/fitz/font.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c index a0a659fe..cd5c7648 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -1343,6 +1343,8 @@ fz_bound_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *trm, fz font->bbox_table[gid] = fz_empty_rect; } *rect = font->bbox_table[gid]; + if (fz_is_empty_rect(rect)) + *rect = font->bbox; } else { |