xdvipdfmx:fatal: invalid offsize data

Ken Moffat zarniwhoop at ntlworld.com
Wed Apr 29 04:41:50 CEST 2020


On Tue, Apr 28, 2020 at 11:11:36PM +0100, Ken Moffat via tex-live wrote:
> 
> I've just tried this using (self-compiled) TL2020.  With DejaVu Sans
> it works as expected, but with Cantarell Regular (from
> cantarell-fonts-0.201 xelatex fails with
>  xdvipdfmx:fatal: invalid offsize data
> 
Workaround: remove Cantarell-VF.otf

According to fc-list that seems to contain all the other variations
of the font, and according to 'file' it is OpenType font data, so I
guess it might be some sort of OTF equivalent to a TrueType ttc
collection.  (gurgles ...) - it is a Variable Font.
 https://en.wikipedia.org/wiki/Variable_fonts

More generally, is this a bug in xdvipdfmx that it gets broken when
xelatex encounters this Variable Font (just specified as
'Cantarell', in the presence of Cantarell-Regular which is also
found by fontconfig within Cantarell-VF) ?  If so, where should I
report it ?

Or are VF fonts in general a problem ?

This is the only VF I currently have, and in general I don't think
they'll be very useful for my browser and PDF usage.

Took a quick look for Variable Fonts at https://v-fonts.com/ but
most seem to be commercial.  Hmm, KyivType from the link to
https://www.behance.net/gallery/90690285/KyivType-variable-superfamily
is labelled as "Freeware. Font free for commercial and
non-commercial use. Must not be decompiled.  NoDerivates." can be
downloaded from rastvor.com.ua/KyivType.zip.

No, three ttf (sic) fonts in the KyivType-VariableGX/ directory,
every otf font in the package appears to be a single weight, so not
useful for testing if VF fonts in general are a problem.

ĸen
-- 
He could send for Ptraci, his favourite handmaiden. She was special.
Her singing always cheered him up. Life seemed so much brighter when
she stopped.   -- Pyramids


More information about the tex-live mailing list.