Movatterモバイル変換


[0]ホーム

URL:


 

Apache XML Graphics Project Logo

Apache™ FOP

The Apache FOP Project

The Apache™ FOP Project

Apache™ FOP Development: SVG Issues

See alsoSVG User Documentation for more information.

Examples

These examples illustrate a number of issues relating to conversion to PDF:

SVG to PDF examples

svg filepng filepdf result
imagesimages.svgimages.pngimages.pdf
svg linkinglink.svglink.pnglink.pdf
gradients and patternspaints.svgpaints.pngpaints.pdf
various text and effects on texttext.svgtext.pngtext.pdf
transparent objectstransparency.svgtransparency.pngtransparency.pdf

As can be seen most of the specific issues are handled.

You will need Acrobat 5.0 to see transparency.

XSL:FO to PDF examples

fo filepdf result
embedding svgembedding.foembedding.fo.pdf

Developer Notes

For most output formats in FOP the SVG is simply drawn into an image with Batik. For PDF there are a set of classes to handle drawing theGVT (Graphic Vector Toolkit) into PDF markup.

Classes

These are the relevant classes, found in the package org.apache.fop.svg:

Ideas

Batik can convert ttf to svg font. This svg font could be converted into a pdf stroked font (type 3 font).

Apache Software Foundation

Copyright © 2025 The Apache Software Foundation, Licensed undertheApache License, Version 2.0.
Apache, Apache XML Graphics, Apache FOP, Apache Batik, the Apache logo, and theApache XML Graphics logos are trademarks ofThe ApacheSoftware Foundation. All other marks mentioned may be trademarks or registeredtrademarks of their respective owners.


[8]ページ先頭

©2009-2026 Movatter.jp