summaryrefslogtreecommitdiff
path: root/draw/draw_device.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-01-21 03:04:23 +0100
committerTor Andersson <tor.andersson@artifex.com>2012-01-21 03:04:23 +0100
commit4efd7b287f8fd4eb7966b37b7ab72b0b3993364b (patch)
tree0265f5738ddcdb35ef4a2d7cd15dfc97aeb60e18 /draw/draw_device.c
parent6fb3abfca56b8901cc400411c900367161d4f95a (diff)
downloadmupdf-4efd7b287f8fd4eb7966b37b7ab72b0b3993364b.tar.xz
Update image scaling subpixel offset calculations for top-down images.
Diffstat (limited to 'draw/draw_device.c')
-rw-r--r--draw/draw_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/draw/draw_device.c b/draw/draw_device.c
index 1cb3e4b9..12810420 100644
--- a/draw/draw_device.c
+++ b/draw/draw_device.c
@@ -504,7 +504,7 @@ fz_draw_fill_text(fz_device *devp, fz_text *text, fz_matrix ctm,
}
else
{
- fz_matrix ctm = {glyph->w, 0.0, 0.0, -glyph->h, x + glyph->x, y + glyph->y + glyph->h};
+ fz_matrix ctm = {glyph->w, 0.0, 0.0, glyph->h, x + glyph->x, y + glyph->y};
fz_paint_image(state->dest, state->scissor, state->shape, glyph, ctm, alpha * 255);
}
fz_drop_pixmap(dev->ctx, glyph);