aboutsummaryrefslogtreecommitdiff
path: root/graphics/poppler/files/patch-fix_inverted_text
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/poppler/files/patch-fix_inverted_text')
-rw-r--r--graphics/poppler/files/patch-fix_inverted_text32
1 files changed, 0 insertions, 32 deletions
diff --git a/graphics/poppler/files/patch-fix_inverted_text b/graphics/poppler/files/patch-fix_inverted_text
deleted file mode 100644
index 8821c68fc11b..000000000000
--- a/graphics/poppler/files/patch-fix_inverted_text
+++ /dev/null
@@ -1,32 +0,0 @@
---- poppler/CairoOutputDev.cc 2006/09/21 00:56:33 1.44
-+++ poppler/CairoOutputDev.cc 2006/11/07 23:53:31 1.45
-@@ -263,8 +263,6 @@
-
- void CairoOutputDev::updateFont(GfxState *state) {
- cairo_font_face_t *font_face;
-- double m11, m12, m21, m22;
-- double w;
- cairo_matrix_t matrix;
-
- LOG(printf ("updateFont() font=%s\n", state->getFont()->getName()->getCString()));
-@@ -278,9 +276,6 @@
-
- if (!currentFont)
- return;
-- state->getFontTransMat(&m11, &m12, &m21, &m22);
-- m11 *= state->getHorizScaling();
-- m12 *= state->getHorizScaling();
-
- LOG(printf ("font matrix: %f %f %f %f\n", m11, m12, m21, m22));
-
-@@ -289,8 +284,8 @@
-
- double fontSize = state->getFontSize();
- double *m = state->getTextMat();
-- matrix.xx = m[0] * fontSize;
-- matrix.yx = m[1] * fontSize;
-+ matrix.xx = m[0] * fontSize * state->getHorizScaling();
-+ matrix.yx = m[1] * fontSize * state->getHorizScaling();
- matrix.xy = -m[2] * fontSize;
- matrix.yy = -m[3] * fontSize;
- matrix.x0 = 0;