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

FOP 0.20.1 : Error while loading TTF fonts for PDF rendering

           Summary: FOP 0.20.1 : Error while loading TTF fonts for PDF
                    rendering
           Product: Fop
           Version: all
          Platform: HP
        OS/Version: HP-UX
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: pdf renderer
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


When Fop tries to read the TTF font file, it uses the following process:

get a start buffer size (size of file+1) and try to read them all from the 
stream.

However, if the file should have been loaded in one call (buffer big enough), 
there is a problem if some some reason, the file is not read entirely as it 
happens on my system.
Some iterations are needed here.

Example: my file is 270000 Bytes big.
The first read reads in fact only 65536

So I get EOF exception after when it tries to use the font

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to