Tools
↦ Autohint
↦ Light Latin
Tools
↦ Recalc MAXP
fonttools
varLib
to make instances (instance-[reg|cond].sh
in /tools
)cpgm
into a text file and save thatcpgm
in a text editorGROUP Hebrew
to the top, right below the /* ACT generated...
linecopy the Hebrew height CVT section from the source VF: it should be something very similar to the below
Hebrew
SquareHeight
106: 1290
ASM("SVTCA[Y]")
ASM("CALL[], 106, 89")
108: 0 /* base line */
ASM("SVTCA[Y]")
ASM("CALL[], 108, 89")
RoundHeight
107: 20 ~ 106 @ 42 /* overshoot height */
109: -4 ~ 108 @ 60 /* overshoot baseline */
110: -492 /* descender */
paste it into the new instance's cpgm
between the Figure ...
and Other ...
sections
change each Hebrew CVT from 1xx to 3xx: in other words, add 200 to every occurrence of [106...110]
in that section
dump the instance's VTTTalk
to text
open the VTTTalk
in a text editor
regex:
ResYAnchor\((\d+),106\)
ResYAnchor\(\1,306\)
107
& 307
and so onimport the cpgm
and VTTTalk
into the instance
open the instance in VTT
Tools
↦ Compile
↦ Control values
Tools
↦ Compile everything for all glyphs
you will probably have errors: this is expected
ctrl+3
to open the pre-program
compile it with ctrl+r
ctrl+7
to open the font program
compile it with ctrl+r
compile everything for all again
ctrl+9
to open the glyph palette
Tools
↦ Recalc MAXP
you did it, yay