pdftex bug

Martin Münch Martin.Muench at Uni-Bonn.de
Wed Sep 13 11:00:43 CEST 2023


Hi!

cfftot1 changed its output "to work around pdftex bug":

https://github.com/kohler/lcdf-typetools/commit/606aa7236133a97c295f80bfd29a33ca022ddc05

 > Fix output of cfftot1 to work around pdftex bug.
 >
 > The default precision of real-number output, %.12g, could lead
 > to very long FontMatrix output lines. For one font (mentioned in
 > issue #34), you would see:
 >
 > /FontMatrix [0.000833333333333 0 0 0.000833333333333 0 0] readonly def
 >
 > This apparently overflows some code path in pdflatex, because the
 > output PDF file does not render the font. This commit instead uses
 > 9 decimal digits of precision, which leads to
 >
 > /FontMatrix [0.000833333333 0 0 0.000833333333 0 0] readonly def
 >
 > and a correctly rendered PDF after pdftex inclusion and processing.
 >
 > Simultaneously, do not output defaulted keys (like BlueShift 7),
 > and always output BlueValues (it is required).

Would it be possible to change pdflatex to handle more than 9 digits? 
cfftot1 might not be the only way to create them.

Regards
Martin


More information about the tex-live mailing list.