Bugzilla – Bug 615620
(pdfwrite) TT checksums missed
Last modified: 2009-06-02 12:01:45 PDT
Originally reported by: firstname.lastname@example.org
psf_write_truetype_data writes TT font with incorrect
checksums for most tables. It is small importance
because most TT interpreters ignore them. Perhaps a
complete fix should generate TT data in 2 passes : the
first pass computes the checksums, the second one
really writes data. So complex due to the output stream
isn't positionable (likely it's a FlateEncode filter).
I'd suggest to implement a special encoding filter for
checksums, and execute the body of
psf_write_truetype_data twice : first with the checksum
filter, second with the real output stream. After a TT
table is completed, its checksum to be taken from the
filter and to be put into the 'tables' array.
Comment originally by email@example.com
Logged In: YES
Need to move this to issues.