fails with the error ".../tex/luatex/luaotfload/luaotfload-harf-var-t2-writer.lua:45: attempt to perform arithmetic on a string value (local 'first')." And indeed, the parameter first seems to often contain binary data (usually one or two bytes long) instead of a number.
The .ttf version of the font is handled correctly.
This is on Ubuntu 22.04 with an up-to-date TeXLive 2023 and the latest version of the font from https://github.com/adobe-fonts/source-serif/blob/release/VAR/SourceSerif4Variable-Roman.otf.
This code
fails with the error ".../tex/luatex/luaotfload/luaotfload-harf-var-t2-writer.lua:45: attempt to perform arithmetic on a string value (local 'first')." And indeed, the parameter
first
seems to often contain binary data (usually one or two bytes long) instead of a number. The .ttf version of the font is handled correctly. This is on Ubuntu 22.04 with an up-to-date TeXLive 2023 and the latest version of the font from https://github.com/adobe-fonts/source-serif/blob/release/VAR/SourceSerif4Variable-Roman.otf.