[PATCH] Remove cairo font matrix y flip when inside a Type 3 char
Adrian Johnson
ajohnson at redneon.com
Sat Nov 1 03:27:24 PDT 2008
Not sure why this was previously required but it now produces
incorrect results.
---
poppler/CairoOutputDev.cc | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/poppler/CairoOutputDev.cc b/poppler/CairoOutputDev.cc
index 70911b5..a1a2379 100644
--- a/poppler/CairoOutputDev.cc
+++ b/poppler/CairoOutputDev.cc
@@ -438,11 +438,6 @@ void CairoOutputDev::updateFont(GfxState *state) {
matrix.yy = -m[3] * fontSize;
matrix.x0 = 0;
matrix.y0 = 0;
- if (inType3Char) {
- cairo_matrix_t m;
- cairo_matrix_init_scale (&m, 1, -1);
- cairo_matrix_multiply (&matrix, &m, &matrix);
- }
cairo_set_font_matrix (cairo, &matrix);
}
--
1.5.6.3
--------------030001040407080907060508
Content-Type: text/x-patch;
name="0005-Restore-the-cairo-Type3-font-image-prescaling-funtio.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0005-Restore-the-cairo-Type3-font-image-prescaling-funtio.pa";
filename*1="tch"
More information about the poppler
mailing list