You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Nick Winger <ni...@vanguard.at> on 2002/02/11 14:42:38 UTC

problem with user font

hi !


i have defined my own font ( arial ):

i made an xml file for the font like this (in the root directory of fop):

java -cp
build\fop.jar;lib\xalan-2.0.0.jar;lib\xerces-1.2.3.jar;lib\jimi-1.0.jar
org.apache.fop.fonts.apps.TTFReader d:\winnt\fonts\arial.ttf ttfarial.xml

now i wrote that in the userconfig.xml file:

<fonts>
 <font metrics-file="ttfarial.xml" kerning="yes" embed-file="arial.ttf">
    <font-triplet name="Arial" style="normal" weight="normal"/>
    <font-triplet name="ArialMT" style="normal" weight="normal"/>
 </font>
</fonts>

when i compile my fo-file to pdf ( in it using the font-family=arial )
everything works, no errors,
but when i open the pdf file in acrobat reader i get an error message like
this ( i have to translate it from german to english):

while processing the site there was an error. a font has a wrong value for
CMap/Encoding.

anybody knows why this error appears in acrobat reader ?


Nick Winger


(Software-Developer)
==============================
VANGUARD Software GmbH
Julius Tandler Platz 8
1090 Vienna, AUSTRIA

Phone: +43-1-3195263-20
Fax:   +43-1-3195263-90
http://www.vanguard.at
==============================



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org