summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-19 17:04:04 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-19 17:04:04 +0200
commit8e59d2f0e102476c0dbd897661860666c12e8aa6 (patch)
treeb4ce4ab1eccb87c1771b9a65c8ca6e8c77aea8c7 /fitz/res_font.c
parentb058141ef35119f3e0b51c73716abbe235b034e2 (diff)
downloadmupdf-8e59d2f0e102476c0dbd897661860666c12e8aa6.tar.xz
Floats everywhere!
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c4
1 files changed, 2 insertions, 2 deletions
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