diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-12-23 16:54:30 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-12-23 16:56:19 +0000 |
commit | 2b2cd7bfe73fcc5bf500147b61772679b9923902 (patch) | |
tree | b83744cf1a82c4f15f907e9eb0a7554292df8d5a /source | |
parent | 9bc4493099ae2e4264445ac9f8465e8876b8724a (diff) | |
download | mupdf-2b2cd7bfe73fcc5bf500147b61772679b9923902.tar.xz |
Bug 694749: Fix transformation of hinted glyphs
Simple typo. Thanks to Alexander Monakov for spotting this.
Diffstat (limited to 'source')
-rw-r--r-- | source/fitz/font.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/font.c b/source/fitz/font.c index 83fedc6a..b1ba1b02 100644 --- a/source/fitz/font.c +++ b/source/fitz/font.c @@ -485,8 +485,8 @@ do_ft_render_glyph(fz_context *ctx, fz_font *font, int gid, const fz_matrix *trm /* enable grid fitting for non-antialiased rendering */ float scale = fz_matrix_expansion(&local_trm); m.xx = local_trm.a * 65536 / scale; - m.xy = local_trm.b * 65536 / scale; - m.yx = local_trm.c * 65536 / scale; + m.yx = local_trm.b * 65536 / scale; + m.xy = local_trm.c * 65536 / scale; m.yy = local_trm.d * 65536 / scale; v.x = 0; v.y = 0; |