/[Apache-SVN]
ViewVC logotype

Revision 1508208


Jump to revision: Previous Next
Author: vhennebert
Date: Mon Jul 29 21:45:20 2013 UTC (10 years, 8 months ago)
Changed paths: 104 (showing only 100; show all)
Log Message:
Directly use FOP fonts to lay out SVG images for PDF, PS and AFP outputs.
The metrics are now taken from FOP configured fonts and no longer from AWT equivalents. That avoids discrepancies in case AWT and FOP use slightly different fonts, or if the font is not installed on the system. That actually also avoids having to install the font on the system.
FOP is also used for the primary layout of text (prior to SVG-specific transforms like translation or rotation) for consistency between SVG and XSL-FO.
This is a joint work from Peter Hancock and myself.


Changed paths

Path Details
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/build.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/findbugs-exclude.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/lib/batik-all-1.7.jar deleted
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/lib/batik-all-trunk-patch1041.jar
(Copied from xmlgraphics/fop/branches/Temp_FopFontsForSVG/lib/batik-all-1.7.jar, r1508203)
added , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/Courier.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/CourierBold.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/CourierBoldOblique.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/CourierOblique.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/Helvetica.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/HelveticaBold.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/HelveticaBoldOblique.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/HelveticaOblique.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/Symbol.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/TimesBold.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/TimesBoldItalic.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/TimesItalic.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/TimesRoman.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/ZapfDingbats.xml modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/codegen/fonts/font-file.xsl modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/AFPEventProducer.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/AFPFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/AbstractOutlineFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/CharacterSet.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/CharacterSetBuilder.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/CharacterSetOrientation.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/DoubleByteFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/FopCharacterSet.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/IntegerKeyStore.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/OutlineFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/fonts/RasterFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/goca/GraphicsCharacterString.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/svg/AFPBridgeContext.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/svg/AFPFontFamilyResolver.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/svg/AFPTextHandler.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/afp/svg/AFPTextPainter.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fo/FOText.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/Base14Font.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/CIDFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/CustomFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/FontInfo.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/FontMetrics.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/GlyphMapping.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/LazyFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/MultiByteFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/SingleByteFont.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/TextFragment.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/truetype/TTFFile.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/truetype/TTFFontLoader.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/type1/AFMCharMetrics.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/fonts/type1/Type1FontLoader.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/image/loader/batik/ImageConverterSVG2G2D.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/image/loader/batik/PreloaderSVG.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/layoutmgr/inline/TextLayoutManager.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/AbstractGenericSVGHandler.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/afp/AFPSVGHandler.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/java2d/CustomFontMetricsMapper.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/java2d/Java2DFontMetrics.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/java2d/Java2DSVGHandler.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/java2d/SystemFontMetricsMapper.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/pdf/PDFImageHandlerSVG.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/ps/AbstractPSTranscoder.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/ps/PSImageHandlerSVG.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/ps/PSSVGHandler.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/render/ps/PSTextPainter.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/ACIUtils.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/AbstractFOPTextPainter.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/AbstractFOPTranscoder.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/NativeTextPainter.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/PDFTextPainter.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/PDFTextUtil.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/PDFTranscoder.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/SVGUserAgent.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/SimpleSVGUserAgent.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/ added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/AggregatingFontFamilyResolver.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/FOPFontFamilyResolver.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/FOPFontFamilyResolverImpl.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/FOPGVTFont.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/FOPGVTFontFamily.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/FOPGVTGlyphVector.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/src/java/org/apache/fop/svg/font/FilteringFontFamilyResolver.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/afp/fonts/IntegerKeyStoreTestCase.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/fonts/DejaVuLGCSerifTestCase.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/fonts/FontEventProcessingTestCase.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/fonts/svg-fonts.fo deleted
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/fonts/truetype/TTFFileTestCase.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/fonts/type1/AFMParserTestCase.java modified , text changed
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/fonts/type1/underline.afm added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/NativeTextPainterTest.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/OperatorValidator.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/PDFTextPainterTestCase.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/PSTextPainterTestCase.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/baseline-shift.svg added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/dx-dy.svg added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/font/ added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/font/BasicGlyphVectorTestCase.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/font/FOPFontFamilyResolverTestCase.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/font/FOPGVTFontTestCase.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/font/FOPGVTGlyphVectorTest.java added
Directoryxmlgraphics/fop/branches/Temp_FopFontsForSVG/test/java/org/apache/fop/svg/font/FontInfoBuilder.java added
[...]

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26