Hi Kamal,

FYI, the Unix autodetect feature looks in the following locations for fonts it can use :-

java user.home + "/.fonts",
"/usr/local/fonts",
"/usr/share/fonts",
"/usr/X11R6/lib/X11/fonts"

As Jeremias says, you can configure FOP to look in a particular <directory/> (see http://xmlgraphics.apache.org/fop/trunk/fonts.html).

Adrian.

Jeremias Maerki wrote:
On 17.07.2007 14:39:29 Kamal wrote:
<snip/>
Auto detection and auto registration of custom fonts sounds good. Can we have more info?

Well, it's not perfect, yet, but the basic idea is that users should not need to worry about registering custom fonts. If the Arial TrueType font is present on the system where FOP runs, then the user should now be able to use that font in his FO documents without taking any additional steps (like generating metrics and registering triplets in the configuration file).
How does this work in a Unix environment?

Some known font locations are preconfigured in FOP. FOP goes looking for
fonts in those directories. Additional locations can easily be
configured in the user configuration.

See 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fonts/autodetect/UnixFontDirFinder.java?view=markup

Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to