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 bu...@apache.org on 2002/02/05 09:33:29 UTC

DO NOT REPLY [Bug 6238] New: - Error when opening pdf in acrobat reader

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6238>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6238

Error when opening pdf in acrobat reader

           Summary: Error when opening pdf in acrobat reader
           Product: Fop
           Version: all
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: nick.winger@vanguard.at


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.

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