summaryrefslogtreecommitdiff
path: root/fitz/dev_draw.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 /fitz/dev_draw.c
parent6c8f97da2a3d5cca947290a97ec2e30690e3a496 (diff)
downloadmupdf-e443e4a930481ea7c8bd83179481c4b0c707df13.tar.xz
Remove unused functions.
Diffstat (limited to 'fitz/dev_draw.c')
-rw-r--r--fitz/dev_draw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fitz/dev_draw.c b/fitz/dev_draw.c
index f4889aeb..de1c17c7 100644
--- a/fitz/dev_draw.c
+++ b/fitz/dev_draw.c
@@ -324,10 +324,10 @@ fz_drawfilltext(void *user, fz_text *text, fz_matrix ctm,
tm.e = text->els[i].x;
tm.f = text->els[i].y;
trm = fz_concat(tm, ctm);
- x = fz_floor(trm.e);
- y = fz_floor(trm.f);
- trm.e = QUANT(trm.e - fz_floor(trm.e), HSUBPIX);
- trm.f = QUANT(trm.f - fz_floor(trm.f), VSUBPIX);
+ x = floor(trm.e);
+ y = floor(trm.f);
+ trm.e = QUANT(trm.e - floor(trm.e), HSUBPIX);
+ trm.f = QUANT(trm.f - floor(trm.f), VSUBPIX);
fz_renderglyph(dev->cache, &glyph, text->font, gid, trm);
drawglyph(argb, dev->dest, &glyph, x, y);