[luatex] "binary" marker missing in luatex 1.09, Development id: 6884

Patrick Gundlach patrick at gundla.ch
Sun Aug 12 10:20:50 CEST 2018



> Am 12.08.2018 um 10:00 schrieb Hans Hagen <j.hagen at xs4all.nl>:
> 
> On 8/11/2018 5:28 PM, Ulrike Fischer wrote:

>> In the pdf there is the "binary" marker on the line after the pdf
>> version missing. The uncompressed pdf starts like this:
>> %PDF-1.5
>> 3 0 obj
>> << /Length 449 >>
>> instead of
>> %PDF-1.5
>> %ÐÔÅØ
>> 3 0 obj
>> <</Length 133       >>
> It's on purpose.

At least PDF A-1 (ISO 19005-1:2005(E)) requires these binary markers.

"6.1.2 File header
The % character of the file header shall occur at byte offset 0 of the file.

The file header line shall be immediately followed by a comment consisting of a % character followed by at
least four characters, each of whose encoded byte values shall have a decimal value greater than 127."


Patrick





More information about the luatex mailing list