From 3ad1cf6d677d963b63f89a01114a4f8de176bd2b Mon Sep 17 00:00:00 2001 From: Maximilian Berger Date: Mon, 10 Dec 2007 13:35:33 +0000 Subject: [PATCH] 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 --- src/documentation/content/xdocs/trunk/fonts.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) 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:

+ Manifest-Version: 1.0 + +Name: font/myfont.ttf +Content-Type: application/x-font +

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.

+
Embedding The PostScript renderer does not yet support TrueType fonts, but can embed Type 1 fonts. -- 2.39.5