Hi!
I have the following problem with embedding fonts:
i'm using apache-fop 0.95 (commandline) with a config file:
...
<fonts>
<!-- register all the fonts found in a directory -->
<directory>/var/apphome/<username>/xml-xsl/fonts</directory>
</fonts>
...
in the fonts-directory there exists a new font: "MyFont.ttf"
Within the xsl-file i add the line '<xsl:attribute
name="font-family">MyFont</xsl:attribute>'
Then I create the pdf and it looks quite well. But: the embedded font has
the Name "MyFont-Normal" instead of "MyFont".
What happens is that if I copy-paste a section from pdf into MSWord the font
will not be recognized / matched with the installed font (MyFont) on the
testmachine.
I've already tried wo embed this font by means of using:
...
<fonts>
/fonts/MyFont.xml" kerning="yes"
embed-url="file:///<path>/fonts/MyFont.ttf">
<font-triplet name="MyFont" style="normal" weight="normal"/>
</fonts>
...
The result is the same.
Can anybody explain this behaviour and maybe offer me a solution?
Thanks in advance
...
Werner
--
View this message in context:
http://old.nabble.com/problem-with-embedding-fonts-tp29183400p29183400.html
Sent from the FOP - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]