[dvipdfmx] xdvipdfmx:fatal: invalid offsize data

Shunsaku Hirata shunsaku.hirata74 at gmail.com
Thu May 14 14:15:53 CEST 2020


Dear all,

Sorry for late reply.

> Maybe the present xdvipdfmx can't handle variable fonts,
> but Karl says the message is not appropriate.

Yes, dvipdmfx does not support variable fonts (CFF2) which is recent
addition to OpenType format. The error message is indeed wrong:
dvipdfmx tries to read a usual CFF font table although it is not found.
I will fix this.

Thanks,
Shunsaku Hirata

2020年4月30日(木) 8:35 Akira Kakuto <kakuto at w32tex.org>:
>
> Hirata-san,
>
> > Well, the error message pretty clearly indicates a bug. Even if
> > xdvipdfmx can't handle the font, it should at least give up gracefully.
>
> Please go to
> https://sources.voidlinux.org/cantarell-fonts-0.201/
> and obtain
> cantarell-fonts-0.201.tar.xz.
>
> Expand it and goto the directory
> cantarell-fonts-0.201/prebuilt
>
> In the directory make a tex file:
>
> % test.tex
> \nopagenumbers\font\xxx="[Cantarell-VF.otf]" at 10pt
> \xxx Write gibberish here.\bye
>
> Then run
> xetex -no-pdf test.tex
> xdvipdfmx test.xdv
>
> The error message will be:
>
> test.xdv -> test.pdf
> [1
> xdvipdfmx:fatal: invalid offsize data
>
> No output PDF file written.
>
>
> Maybe the present xdvipdfmx can't handle variable fonts,
> but Karl says the message is not appropriate.
>
> Best,
> Akira
>



More information about the dvipdfmx mailing list.