Hello Everyone,
I've defined my non-system font in manifest.mf file:
Name: me/jan/resources/fonts/droid-sans.ttf
Content-Type: application/x-font
The specified name corresponds to the package name me.jan.resources.fonts,
where that ttf file is stored.
I use minimum configuration:
<fop version="1.0">
<renderers>
<renderer mime="application/pdf">
<fonts>
<auto-detect/>
</fonts>
</renderer>
</renderers>
</fop>
The font name is 'Droid Sans', it is of the Regular type and of the weight
400. If this font-family is used in the FO file this way:
<fo:block font-family="Droid Sans">Hello World!</fo:block>
I am getting this message:
WARNING: Font "Droid Sans,normal,400" not found. Substituting with
"any,normal,400".
I've also tested to prepend that path with /
Name: /me/jan/resources/fonts/droid-sans.ttf
But no progress.
What could be wrong with this configuration? (FOP 1.0, Win7)
Regards,
Jan
Btw, that font autodetection has been performed just for the first time and
from that moment I made several changes in the package hierarchy/font file
name. I suppose that font list is cached somehow. Would be helpful to empty
that chache? And how it can be triggered?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]