SOLVED unicodes dissapear in variable generated with Batch
ro-hernandezz last edited by ro-hernandezz
I'm having a problem with generating a variable font from batch: Some glyphs (zerowidthnobreak, zerowidthspace, enspace and joinerspace) lose their unicodes in the final variable file.
They're there in the sources and in all the interpolated instances but they seem to dissapear when batch makes the temp ttfs (I checked one) and are then missing in the final file.
I checked the Batch Report and, in Making master glyphs compatible, it shows:
Adding missing glyph 'zerowidthspace' in master 'FONT Extended Thin (foreground)' Adding missing glyph 'zerowidthspace' in master 'FONT Extended Black (foreground)' Adding missing glyph 'zerowidthspace' in master 'FONT VF Compact Thin (foreground)' Adding missing glyph 'zerowidthspace' in master 'FONT Compact Black (foreground)'
for all these glyphs and for all the masters. The glyphs are there in the final ttf, they just don't have unicodes. 🤔
I'm stumped on where to look for the error, any pointers are appreciated.
And honestly if you have another way to add the unicodes to my compiled font via ttx or something else, that's welcome too 😛 I just want these files out the door.
Edit: I ran the generate again, checked the Output window and there's nothing reported there.
super! thanks for the PR, that is very much appreciated!!
ro-hernandezz last edited by
@frederik Oooh, So those glyphs weren't getting autounicoded later or something?
Anyway, This version almost worked, but it threw an undefined variable name error. I added a line that seemed to fix it and that let me generate OK and I made a pull request of that on github.
Thank you so much!
could you check this version of Batch: https://github.com/typemytype/batchRoboFontExtension/archive/refs/heads/master.zip
You will need to download and install Batch manually. I didnt touch the version number so Mechanic will dont show an update yet.
dont know why Ive written batch to extract the font math glyph by his geometry only...
when that flag is
Trueunicodes and names arent copied over...