diff options
author | Tor Andersson <tor@ghostscript.com> | 2010-06-19 17:04:04 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2010-06-19 17:04:04 +0200 |
commit | 8e59d2f0e102476c0dbd897661860666c12e8aa6 (patch) | |
tree | b4ce4ab1eccb87c1771b9a65c8ca6e8c77aea8c7 /fitz/res_text.c | |
parent | b058141ef35119f3e0b51c73716abbe235b034e2 (diff) | |
download | mupdf-8e59d2f0e102476c0dbd897661860666c12e8aa6.tar.xz |
Floats everywhere!
Diffstat (limited to 'fitz/res_text.c')
-rw-r--r-- | fitz/res_text.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fitz/res_text.c b/fitz/res_text.c index 57beeca2..60b7b43f 100644 --- a/fitz/res_text.c +++ b/fitz/res_text.c @@ -73,10 +73,10 @@ fz_boundtext(fz_text *text, fz_matrix ctm) trm.e = 0; trm.f = 0; - fbox.x0 = text->font->bbox.x0 * 0.001; - fbox.y0 = text->font->bbox.y0 * 0.001; - fbox.x1 = text->font->bbox.x1 * 0.001; - fbox.y1 = text->font->bbox.y1 * 0.001; + fbox.x0 = text->font->bbox.x0 * 0.001f; + fbox.y0 = text->font->bbox.y0 * 0.001f; + fbox.x1 = text->font->bbox.x1 * 0.001f; + fbox.y1 = text->font->bbox.y1 * 0.001f; fbox = fz_transformrect(trm, fbox); |