Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Run SVG embedding.fo Example in FOP
How to run the SVG "embedding.fo" example in FOP to generated a PDF file?
✍: FYIcenter.com
FOP comes with an example XSL-FO file, embedding.fo,
which shows how to embed SVG images into PDF files.
You can use the "fop" command to convert it into a PDF file:
fyicenter> cd \local\fop-2.x\fop fyicenter> fop examples\fo\svg\embedding.fo \temp\embedding.pdf ... org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". ... org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". ... org.apache.fop.events.LoggingEventListener processEvent WARNING: The contents of fo:instream-foreign-object line 1 exceed the available area in the inline-progression direction by 31763 millipoints. (See position 36:29) ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1. ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #2.
The output PDF file is located at \temp\embedding.pdf.
Open it with a PDF viewer, you will see something like this:
2016-07-03, 3646🔥, 0💬
Popular Posts:
What Is log4j-1.2.15.jar? I got the JAR file from apache-log4j-1.2.15.zip. log4j-1.2.15.jar is the v...
How to download and install ojdbc11.jar for Oracle 21c? ojdbc11.jar for Oracle 21c is a Java JDBC Dr...
ANTLR is a powerful parser generator for multiple programming languages including Java. ANTLR contai...
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
What Is commons-fileupload-1.3.3 .jar?commons-fileupload-1.3.3 .jaris the JAR file for Apache Common...