]> source.dussan.org Git - xmlgraphics-fop.git/commit
As announced, I brought FontTriplet to more life by making it Serializable and using...
authorJeremias Maerki <jeremias@apache.org>
Thu, 22 Dec 2005 20:10:54 +0000 (20:10 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 22 Dec 2005 20:10:54 +0000 (20:10 +0000)
commit250a5e5363af3462693c80227e0666d0b5b75a8f
tree08472457a78d2cc6cf8e8c6b4ae98ee4180d7c59
parent3e74ade6902eb4ce94c5c6c7566a900437f4702b
As announced, I brought FontTriplet to more life by making it Serializable and using it to transport the information about the font in use through the area tree. This has small effects on the test cases as the values in the generated XML are slightly different. While refactoring I saw that there's some room for optimization. Too many objects are still created. It should be quite easy now with the FontTriplet to create a small cache.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358613 13f79535-47bb-0310-9956-ffa450edef68
18 files changed:
src/java/org/apache/fop/area/Trait.java
src/java/org/apache/fop/fo/properties/CommonFont.java
src/java/org/apache/fop/fonts/Font.java
src/java/org/apache/fop/fonts/FontInfo.java
src/java/org/apache/fop/fonts/FontSetup.java
src/java/org/apache/fop/fonts/FontTriplet.java
src/java/org/apache/fop/layoutmgr/TraitSetter.java
src/java/org/apache/fop/render/PrintRenderer.java
src/java/org/apache/fop/render/java2d/Java2DRenderer.java
src/java/org/apache/fop/render/pdf/PDFRenderer.java
src/java/org/apache/fop/render/ps/PSGraphics2D.java
src/java/org/apache/fop/render/ps/PSRenderer.java
src/java/org/apache/fop/render/ps/PSTextPainter.java
src/java/org/apache/fop/render/xml/XMLRenderer.java
src/java/org/apache/fop/svg/PDFGraphics2D.java
src/java/org/apache/fop/svg/PDFTextPainter.java
test/layoutengine/standard-testcases/block_font-family.xml
test/layoutengine/standard-testcases/block_font-style.xml