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/07/29 07:32:29 UTC

DO NOT REPLY [Bug 11247] New: - Error encountered in converting ttf file in FOP

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=11247>.
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=11247

Error encountered in converting ttf file in FOP

           Summary: Error encountered in converting ttf file in FOP
           Product: Fop
           Version: 0.20.4
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: general
        AssignedTo: fop-dev@xml.apache.org
        ReportedBy: l060972@yahoo.com


Hi,

I use the TTFReader to generate the font file from ttf or ttc to type 1 font 
file used by FOP.  Since I wanna use chinese and unicode, therefore, two font 
files namely arialuni.ttf from Win2K and mingliu.ttc from Chinese WinNT have 
been selected.  Unfortunately, I encouter different error as converting these 
files

arialuni.ttf = OutofMemoery return
mingliu.ttc = java.io.IOException: Failed to read font at 
java.lang.Throwable.fillInStackTrace

can you help me to resolve it.

Another question, according to your instruction, the converted font file should 
be included in conf/userconfig.xml and then use fop.sh (in unix)to generate the 
PDF file.  How about in servlet version, can we instruct the program to read 
this configuration file to include the fonts in PDF file

Thanks
Andrew

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