Hi, - As this is my first message here, I'd like to thank you very much
for providing and maintaining FOP. -
I'm using NFOP 1.1.0, which is translated almost 1:1 from FOP 0.20.5.
I would like to embed fonts into the resulting PDF document.
Currently, I'm registering fonts to FOP / the PDF document by code:
Configuration.put("fonts", <ArrayList of FontInfo objects>);
Configuration.put("fontBaseDir", "...");
That seems to work; font information is written by the PDFFont.toPDF()
method (but no (binary) "font code" / the font itself) (where would this
be done?). Font information also appears in Acrobat Reader's document
properties.
Nevertheless, the fonts won't get embedded, and Acrobat Reader reports
them as missing when they're not installed at the target computer.
My first problem is, this doesn't work completely, and moreover, I
cannot find anything else to be configurable by code.
The file paths to the metrics and font files are correct BTW, and the
issue concerns both TrueType and Type1 fonts.
OK, an alternative was to use <fop-dir>/conf/userconfig.xml. My problems
with that are, first, I don't know the XML root tag, resp., the XML
schema (I've already found the syntax of adding fonts there, though).
Second, this should produce the same results as manipulating the
Configuration directly.
Any ideas?
Best regards
Robert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]