]> source.dussan.org Git - xmlgraphics-fop.git/commit
Fixed regression introduced with rev 1095887:
authorJeremias Maerki <jeremias@apache.org>
Tue, 14 Jun 2011 12:58:55 +0000 (12:58 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 14 Jun 2011 12:58:55 +0000 (12:58 +0000)
commit860ebd14107d5288d95360b04cb8e3a375922f7b
tree13a1f602c6953515b52c491f1232e42dbf6e8f2f
parent59f99b381a9dd4bc2c978a80cd301a3a47179197
Fixed regression introduced with rev 1095887:
Painting state was not properly handled when painting text runs which could lead to missing color setters and therefore wrong font colors.
Removed save/restoreGraphicsState from PDFTextUtil as that doesn't update the painting state. Instead the code is now using equivalent methods from PDFGraphics2D.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1135540 13f79535-47bb-0310-9956-ffa450edef68
src/java/org/apache/fop/pdf/PDFTextUtil.java
src/java/org/apache/fop/svg/PDFGraphics2D.java
src/java/org/apache/fop/svg/PDFTextPainter.java