xdvipdfmx:fatal: invalid offsize data

Karl Berry karl at freefriends.org
Thu Apr 30 00:49:03 CEST 2020


Hi Ken,

Thanks for the report.

    More generally, is this a bug in xdvipdfmx that it gets broken 

Well, the error message pretty clearly indicates a bug. Even if
xdvipdfmx can't handle the font, it should at least give up gracefully.

    If so, where should I report it ?

There is a list dvipdfmx at tug.org (https://lists.tug.org/dvipdfmx).

Sometimes the dvipdfmx maintainers will see reports here on tex-live,
but not always.

    \setmainfont{Cantarell}

To ease debugging, I suggest:

1) reducing this to a plain xetex document and check that it still fails.
If memory serves (untested):
\nopagenumbers \font\a="Cantarell" \a Hello world\end

2) checking if the behavior is the same if the font is found through
the filesystem, instead of involving fontconfig (same caveats):
\nopagenumbers \font\a="[Cantarell.otf]" \a Hello world\end

A full path to a file can also be given, if it's not in your texmf trees,
like [/usr/share/fonts/whatever/whatever.otf].

3) restating exactly where the problematic font can be downloaded.

Thanks,
Karl


More information about the tex-live mailing list.