Hi Arian,

reading the source code, fopFactory.setFontBaseURL() is actually
deprecated, and should be replaced in FOP TRUNK with:
fopFactory.getFontManager().setFontBaseURL().
Note that the font subsystem has been widely rewritten since FOP 0.94.

Pascal


Arian a écrit :
> I saw the page 
> http://xmlgraphics.apache.org/fop/0.94/embedding.html#config-internal
> which recommends:
> fopFactory.setFontBaseURL("file:///C:/Temp/fonts");
> or via config file which would have fonts folder specified:
> fopFactory.setUserConfig(new File("C:/Temp/mycfg.xml"));
>
> but I think my coworker is saying eclipse says it is depreciated in
> the fop trunk version, so thought I'd ask here.
> So whats the new way to do it, and also is there a way to do it
> without full filepaths on filesystem (with relative url's)?
>
> Thanks!,
> Ari
>   


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

Reply via email to