Hi. I am a newbie in
FOP and I am struggling with a question regarding fonts.
I inherited a
project from a colleague and I am a bit lost.
We want to generate
pdf files. For that, currently (and until we have a complete database structure
built / and the .net engine that will generate these pdf files), we are doing
some tests to understand if we will be able to generate the files as requested
using fop.
An xml file, a xsd
and a xslt were created.
The xml file has a
special tag that we called XMLContent because it will contain tags like
<strong> and <em> inside the text.
(Example:
<field1>Here is my text. It will be <strong>difficult</strong>
to get it <em>formatted</em>
correctly</field1>)
The xsd defined the
proper fields as being of type XMLContent:
- <xs:element name="field1" type="um:XMLContent"/>
The xslt has a
section were it tries to handle these xml tags.
- <
But, when I try to
generate the pdf (using command line), the tags are completely ignored (no text
is output in bold or italic)
Also, in the log fop
generates on the screen it does not return any error regarding the fonts. It
outputs "[INFO] setting up fonts" and continues...
Can someone
help?
Thanks,
--------------------------------------
Andreia Oliveira
---------------------------------------
