diff options
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r-- | fitz/res_font.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c index 56481962..47ec7c37 100644 --- a/fitz/res_font.c +++ b/fitz/res_font.c @@ -923,7 +923,7 @@ fz_render_t3_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, fz_co bounds = fz_bound_glyph(ctx, font, gid, trm); bounds = fz_expand_rect(bounds, 1); - bbox = fz_rect_covering_rect(bounds); + bbox = fz_irect_from_rect(bounds); bbox = fz_intersect_irect(bbox, scissor); glyph = fz_new_pixmap_with_bbox(ctx, model ? model : fz_device_gray, bbox); |