Hi,

FOP Fonts do not need to be installed on your system.
You just need to pass fonts location to FOP.

1/ register all used font files in configuration file (see [1], more precisely "register a particular font")

2/ depending on how you use fop (either command line or embedded in your app), provide your config file to FOP (see [2] or [3])

note that the <font-base> configuration option can be very usefull here, either directly set in config file, or using the fopFactory.setFontBaseURL() method (see [4]).


[1] http://xmlgraphics.apache.org/fop/1.0/fonts.html#register
[2] http://xmlgraphics.apache.org/fop/1.0/configuration.html#general-available
[3] http://xmlgraphics.apache.org/fop/1.0/embedding.html#config-external
[4] http://xmlgraphics.apache.org/fop/1.0/embedding.html#fop-factory

Le 22/05/2012 13:28, Phillip B Oldham a écrit :
Is it possible to start an app which uses the FOP jar and, at runtime,
load and use a font rather than "installing" it before running the
app? I'm developing an library for our team to use which will load an
FO file, any image assets and (hopefully) any fonts needed to render a
PDF. I've got everything working except the fonts, where I've hit a
bit of a wall. Is it possible?


--
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to