diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-08-01 12:23:08 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-08-01 19:15:47 +0100 |
commit | b73d7cabcb280ba7625e80978c1789eecd3c8ba4 (patch) | |
tree | b20eb30aa647a581cfbfda5408ec3aafbe536b3a /source | |
parent | b08617e17bfbc8504dc00cba724817ddf88b0203 (diff) | |
download | mupdf-b73d7cabcb280ba7625e80978c1789eecd3c8ba4.tar.xz |
Move to bitfields in fz_font rather than chars/ints etc.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c index a291eab8..560f96ec 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -59,7 +59,7 @@ fz_new_font(fz_context *ctx, const char *name, int use_glyph_bbox, int glyph_cou font->glyph_count = glyph_count; - font->use_glyph_bbox = use_glyph_bbox; + font->use_glyph_bbox = !!use_glyph_bbox; if (use_glyph_bbox && glyph_count <= MAX_BBOX_TABLE_SIZE) { font->bbox_table = fz_malloc_array(ctx, glyph_count, sizeof(fz_rect)); |