From 8e59d2f0e102476c0dbd897661860666c12e8aa6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 19 Jun 2010 17:04:04 +0200 Subject: Floats everywhere! --- fitz/res_font.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fitz/res_font.c') diff --git a/fitz/res_font.c b/fitz/res_font.c index 9146437c..e8cf76e3 100644 --- a/fitz/res_font.c +++ b/fitz/res_font.c @@ -243,9 +243,9 @@ fz_renderftglyph(fz_font *font, int gid, fz_matrix trm) if (realw) scale = (float) subw / realw; else - scale = 1.0; + scale = 1; - trm = fz_concat(fz_scale(scale, 1.0), trm); + trm = fz_concat(fz_scale(scale, 1), trm); } /* freetype mutilates complex glyphs if they are loaded -- cgit v1.2.3