You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A Tiff preview is a block of bnary data at the start of a EPS file. TeX just has to get past it without error to find the %%BoundingBox
In classic TeX this is achieved by making all characters have a safe catcode, but in luatex the UTF-8 decoder acts earlier and issues an error,.
The same would be true with xetex except there the bytes are replace by a Uniocde Replacement character with just a log info warning.
This could be addressed in the graphics package core EPS reader, but mostly backend specific code is kept out of there so I would propose
to fix in dvips.def in this repository.
The text was updated successfully, but these errors were encountered:
davidcarlisle
changed the title
Tiff previews cauing fatal UTF-8 decoding errors with luatex
Tiff previews causing fatal UTF-8 decoding errors with luatex
Jan 21, 2025
https://tex.stackexchange.com/a/735446/1090
A Tiff preview is a block of bnary data at the start of a EPS file. TeX just has to get past it without error to find the
%%BoundingBox
In classic TeX this is achieved by making all characters have a safe catcode, but in luatex the UTF-8 decoder acts earlier and issues an error,.
The same would be true with xetex except there the bytes are replace by a Uniocde Replacement character with just a log info warning.
This could be addressed in the
graphics
package core EPS reader, but mostly backend specific code is kept out of there so I would proposeto fix in
dvips.def
in this repository.The text was updated successfully, but these errors were encountered: