off_t are changed into off64_t entirely, because Windows have a definition for off_t to 32-bit integer and it's hard to override.
Not sure why there is undefined IS_KANJI function in dpxfile.c. Looks like it's jumping one byte if its a Chinese character in the spawn argument. This is hacky so I commented it anyway. May need fix in the future for non-Latin support.
This is a supporting PR for the one in SILE. Please refer to https://github.com/simoncozens/sile/pull/567 for an overview of the big picture.
Note:
off_t
are changed intooff64_t
entirely, because Windows have a definition foroff_t
to 32-bit integer and it's hard to override.IS_KANJI
function indpxfile.c
. Looks like it's jumping one byte if its a Chinese character in the spawn argument. This is hacky so I commented it anyway. May need fix in the future for non-Latin support.