summaryrefslogtreecommitdiff
path: root/platform/gl/gl-font.c
diff options
context:
space:
mode:
Diffstat (limited to 'platform/gl/gl-font.c')
-rw-r--r--platform/gl/gl-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/gl/gl-font.c b/platform/gl/gl-font.c
index 08dd773a..8a331b3e 100644
--- a/platform/gl/gl-font.c
+++ b/platform/gl/gl-font.c
@@ -137,7 +137,7 @@ static struct glyph *lookup_glyph(fz_font *font, int gid, float *xp, float *yp)
int w, h;
/* match fitz's glyph cache quantization */
- fz_scale(&trm, g_font_size, -g_font_size);
+ trm = fz_scale(g_font_size, -g_font_size);
trm.e = *xp;
trm.f = *yp;
fz_subpixel_adjust(ctx, &trm, &subpix_trm, &subx, &suby);