summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index 47ec7c37..ea4b588f 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -887,12 +887,12 @@ fz_bound_t3_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm)
}
fz_pixmap *
-fz_render_t3_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, fz_colorspace *model, fz_irect scissor)
+fz_render_t3_glyph(fz_context *ctx, fz_font *font, int gid, fz_matrix trm, fz_colorspace *model, fz_bbox scissor)
{
fz_display_list *list;
fz_matrix ctm;
fz_rect bounds;
- fz_irect bbox;
+ fz_bbox bbox;
fz_device *dev;
fz_pixmap *glyph;
fz_pixmap *result;
@@ -923,8 +923,8 @@ 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_irect_from_rect(bounds);
- bbox = fz_intersect_irect(bbox, scissor);
+ bbox = fz_bbox_from_rect(bounds);
+ bbox = fz_intersect_bbox(bbox, scissor);
glyph = fz_new_pixmap_with_bbox(ctx, model ? model : fz_device_gray, bbox);
fz_clear_pixmap(ctx, glyph);