[PATCH] Transform the glyph advance by the font matrix
Adrian Johnson
ajohnson at redneon.com
Sat Nov 1 03:20:07 PDT 2008
---
poppler/CairoFontEngine.cc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/poppler/CairoFontEngine.cc b/poppler/CairoFontEngine.cc
index a18f566..07be458 100644
--- a/poppler/CairoFontEngine.cc
+++ b/poppler/CairoFontEngine.cc
@@ -614,6 +614,7 @@ _render_type3_glyph (cairo_scaled_font_t *scaled_font,
gfx->display(charProcs->getVal(glyph, &charProc));
output_dev->getType3GlyphWidth (&wx, &wy);
+ cairo_matrix_transform_distance (&matrix, &wx, &wy);
metrics->x_advance = wx;
metrics->y_advance = wy;
if (output_dev->hasType3GlyphBBox()) {
--
1.5.6.3
--------------030001040407080907060508
Content-Type: text/x-patch;
name="0004-Remove-cairo-font-matrix-y-flip-when-inside-a-Type-3.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename*0="0004-Remove-cairo-font-matrix-y-flip-when-inside-a-Type-3.pa";
filename*1="tch"
More information about the poppler
mailing list