Hi,
Batik (SVG engine used by FOP) uses fonts installed on your system.
Threfore, you need to both set it in FOP conf ig file AND make it
available in your system.
See FOP list archive [1] for further info.
[1] http://old.nabble.com/Japanese-fonts-in-SVG-fop-0.95-to26513163.html
HTH,
Pascal
Klaus Malorny a écrit :
Hi,
sorry if this is a FAQ, but I did my homework and did not find any satisfying
answer.
I am using fop 0.95 to build a PDF document. Platform is HP-UX, Java 6,
headless. The document contains an SVG, created by Inkscape. Besides some
scaling issues (for which Inkscape is responsible and which have been resolved
so far), I have the problem that the font referenced from the SVG (DejaVu Sans)
is not used for rendering, but Helvetica instead. The font embedding itself
works -- the surrounding text, generated via XSL:FO, appears in the DejaVu Sans
font. The fonts are included via the FOP configuration file.
Interestingly, a few years ago I did the same with 0.93/Java 5 on a similar
platform, but with different fonts, and it worked like a charm. Any idea why
this no longer works would be appreciated.
Regards,
Klaus
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]