summaryrefslogtreecommitdiff
path: root/draw/glyphcache.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-11 18:14:17 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-11 18:14:17 +0200
commite443e4a930481ea7c8bd83179481c4b0c707df13 (patch)
treedd42c1e23ec0e53ccfe7a8f169a15fd02a355127 /draw/glyphcache.c
parent6c8f97da2a3d5cca947290a97ec2e30690e3a496 (diff)
downloadmupdf-e443e4a930481ea7c8bd83179481c4b0c707df13.tar.xz
Remove unused functions.
Diffstat (limited to 'draw/glyphcache.c')
-rw-r--r--draw/glyphcache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/draw/glyphcache.c b/draw/glyphcache.c
index e9443934..42df8f41 100644
--- a/draw/glyphcache.c
+++ b/draw/glyphcache.c
@@ -307,8 +307,8 @@ fz_renderglyph(fz_glyphcache *arena, fz_glyph *glyph, fz_font *font, int cid, fz
key.b = ctm.b * 65536;
key.c = ctm.c * 65536;
key.d = ctm.d * 65536;
- key.e = (ctm.e - fz_floor(ctm.e)) * 256;
- key.f = (ctm.f - fz_floor(ctm.f)) * 256;
+ key.e = (ctm.e - floor(ctm.e)) * 256;
+ key.f = (ctm.f - floor(ctm.f)) * 256;
val = hashfind(arena, &key);
if (val)
@@ -329,8 +329,8 @@ fz_renderglyph(fz_glyphcache *arena, fz_glyph *glyph, fz_font *font, int cid, fz
gmisses++;
- ctm.e = fz_floor(ctm.e) + key.e / 256.0;
- ctm.f = fz_floor(ctm.f) + key.f / 256.0;
+ ctm.e = floor(ctm.e) + key.e / 256.0;
+ ctm.f = floor(ctm.f) + key.f / 256.0;
if (font->ftface)
{