diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-11-04 14:46:53 +0100 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-11-04 14:46:53 +0100 |
commit | cbbee31601e34f1f513a4d046d52963baebf07fa (patch) | |
tree | 6393fbd6066e53dcb7ed2b52f262f6ef0514e927 /render/rendertext.c | |
parent | 3386060e982e4fc353a4c405316c0c83bf459bab (diff) | |
download | mupdf-cbbee31601e34f1f513a4d046d52963baebf07fa.tar.xz |
type3 fonts
Diffstat (limited to 'render/rendertext.c')
-rw-r--r-- | render/rendertext.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/render/rendertext.c b/render/rendertext.c index 1a3c49db..6819ccd8 100644 --- a/render/rendertext.c +++ b/render/rendertext.c @@ -78,11 +78,11 @@ fz_rendertext(fz_renderer *gc, fz_textnode *text, fz_matrix ctm) tm.f = y; trm = fz_concat(tm, ctm); - ix = floor(trm.e); - iy = floor(trm.f); + ix = fz_floor(trm.e); + iy = fz_floor(trm.f); - trm.e = (trm.e - floor(trm.e)); - trm.f = (trm.f - floor(trm.f)); + trm.e = (trm.e - fz_floor(trm.e)); + trm.f = (trm.f - fz_floor(trm.f)); error = fz_renderglyph(gc->cache, &gl, text->font, g, trm); if (error) @@ -121,11 +121,11 @@ fz_rendercolortext(fz_renderer *gc, fz_textnode *text, fz_colornode *color, fz_m tm.f = y; trm = fz_concat(tm, ctm); - ix = floor(trm.e); - iy = floor(trm.f); + ix = fz_floor(trm.e); + iy = fz_floor(trm.f); - trm.e = (trm.e - floor(trm.e)); - trm.f = (trm.f - floor(trm.f)); + trm.e = (trm.e - fz_floor(trm.e)); + trm.f = (trm.f - fz_floor(trm.f)); error = fz_renderglyph(gc->cache, &gl, text->font, g, trm); if (error) |