summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-06-16 23:22:24 +0200
committerTor Andersson <tor@ghostscript.com>2010-06-16 23:22:24 +0200
commitc2a2f1cf5349992896a86bcbcf648a0a27f4be9d (patch)
tree84663570c29c43cf11a125b5350d3f1d8f03af5e /fitz
parent15f58a6059d75119803a33288bfb304cfd8ba9fb (diff)
downloadmupdf-c2a2f1cf5349992896a86bcbcf648a0a27f4be9d.tar.xz
Fix typo in dev_text that caused the bounding boxes to be incorrect.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/dev_text.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fitz/dev_text.c b/fitz/dev_text.c
index 6ee36ca8..30643dd1 100644
--- a/fitz/dev_text.c
+++ b/fitz/dev_text.c
@@ -312,12 +312,12 @@ fz_textextractspan(fz_textspan **last, fz_text *text, fz_matrix ctm, fz_point *p
if (text->wmode)
{
adv = -1.0; /* TODO: freetype returns broken vertical metrics */
- rect.x0 = 0.0; rect.y1 = 0.0;
+ rect.x0 = 0.0; rect.y0 = 0.0;
rect.x1 = 1.0; rect.y1 = adv;
}
else
{
- rect.x0 = 0.0; rect.y1 = 0.0;
+ rect.x0 = 0.0; rect.y0 = 0.0;
rect.x1 = adv; rect.y1 = 1.0;
}
}