From: Maximilian Berger
Date: Mon, 10 Dec 2007 13:35:33 +0000 (+0000)
Subject: Added documentation for font-in-jar-files
X-Git-Tag: fop-0_95beta~221
X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ad1cf6d677d963b63f89a01114a4f8de176bd2b;p=xmlgraphics-fop.git
Added documentation for font-in-jar-files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@602898 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/src/documentation/content/xdocs/trunk/fonts.xml b/src/documentation/content/xdocs/trunk/fonts.xml
index 14f210a79..7d90f757e 100644
--- a/src/documentation/content/xdocs/trunk/fonts.xml
+++ b/src/documentation/content/xdocs/trunk/fonts.xml
@@ -25,6 +25,7 @@
+
@@ -302,6 +303,16 @@ It will display all of the font names and exit with an Exception.
+
+ Auto-Detect and auto-embedd feature
+
When the "auto-detect" flag is set in the configuration, FOP will automatically search for fonts in the default paths for your operating system.
+
FOP will also auto-detect fonts which are available in the classpath, if they are described as "application/x-font" in the MANIFEST.MF file. For example, if your .jar file contains font/myfont.ttf:
+
+
This feature allows you to create JAR files containing fonts. The JAR files can be added to fop by providem them in the classpath, e.g. copying them into the lib/ directory.
+ EmbeddingThe PostScript renderer does not yet support TrueType fonts, but can embed Type 1 fonts.