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 2001/11/01 17:12:33 UTC

DO NOT REPLY [Bug 4569] New: - FOP 0.20.1 : Error while loading TTF fonts for PDF rendering

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: fop-dev@xml.apache.org
        ReportedBy: vboisard@csas.cz


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: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org