The width of A should be 400, as specified in the UFO data
workaround:
remove the height field in the UFO source data
go for a walk instead and forget about all this
remark:
I stumbled upon this when I worked with two interpolating UFO sources, one source with the height specified, the other without.
All interpolated instances have the height information within, and therefore all instances have an affected 0-width glyph.
The UFO sources were the result of a vfb3ufo conversion.
Attached files: Dummy-Style_01.ufo (source data) Dummy-Style_01.otf (resulting OTF) test_hmtx.py (verification script)
The attached UFO Dummy-Style_01.ufo contains a glyph A with the following header specifying width (normal) and height (uncommon):
problem:
When making an OTF from this UFO, the A in the resulting OTF file will have an advance width of 0.
Reading that UFO with the test_hmtx.py script (attached):
expected:
The width of A should be 400, as specified in the UFO data
workaround:
remark:
I stumbled upon this when I worked with two interpolating UFO sources, one source with the height specified, the other without. All interpolated instances have the height information within, and therefore all instances have an affected 0-width glyph. The UFO sources were the result of a vfb3ufo conversion.
1673.zip