I have some projects where I used the Instance Cooker script to generate instances in Variable Font Glyphs files. I ran into trouble with QA because I see that the script creates an ital axis, enters a {0,0} mapping in the AVAR table, and sets an Axis Location Custom Parameter with for an ital axis when using this in the recipe
#Italic:ital
0:Normal*
or
#Italic:ital
1:Italic
It is my understanding that an ital axis should not exist unless the Glyphs file contains actual interpolation between upright and italic lettershapes. However deleting the ital section from the recipe omits the āItalicā particle of in the instance name and does not set the italic flag for them either.
Iāll see what I can do. You can delete the ital axis afterwards again if it bothers you. Leaving it in there shouldnāt make a difference though. Because Italic is a design axis in STAT even when it is not a variation axis in fvar. The latter will only happen if you actually interpolate along the axis.
Alright. So can I ā to hot-fix it ā manually delete the ital axis, but then keep the ital entry in the custom Axis Values parameter? Or can I delete that one too?
(As a test I deleted both the ital axis and the custom italAxis Values parameter for both Rom & Ita, and the fonts work in browsers, but I have not done further testing so I donāt know where it would otherwise break.)
Thank you. That fixed that issue, but when I tested the instances the Bold style linking was broken in Glyphs when I have Pica as elidable, and if I do not set it to elidable then I wonāt have any plain āFontnameā instances, which I understand is no bueno. Generated the VF fonts, and tested them in TextEdit and Pages both with and without Pica elidable, and both did not stylelink to the corresponding Italic, but rather to the first Italic instance.
The use of Pica is because I had a report that some applications did not understand the use of Normal in multiple axes. I then tried to change that back to Normal but that didnāt fix it. The style linking still jumps from Regular to Micro Italic.
Another thing is that the static instances are not linked explicitly (greyed out āRegularā value or is it an example, a placeholder???)
This does not surprise me. CoreText apps have lots of issues with style linking. Make sure it is correct in your STAT table and pray for a fix in Cupertino. If you submit an error report, let me know its number. Perhaps I can pinch the right people.
Once any of the checkboxes are activated, it will assume āRegularā if you leave it empty. So you do not have to write it explictly.
(Connected issue so Iāll put it here) Axis Values entries are not added after running either Instance Cooker or Read and Write STAT Axis Values (OTVAR) script if anyAxis Values entry already exist. This feels unintended?
I think a pop-up message that says āYou have pre-existing Axis Values. Remove before running this script.ā ā or something to that effect would help. That way the user is not confused thinking the script overwrote the existing fields. As it is now the script fails its task unbeknownst to the user if there are existing entries.