SOLVED Glyph Builder: uniXXXX glyph name doesn’t trigger unicode value
-
Hi,
When I generate glyphs with Glyph Builder those with uniXXXX names don't trigger a unicode value. (I have ticked the Auto Unicodes checkbox.)
uni1E83 = w + acute@top
This happens in RF 2007102200 as well as in the 4.0b 2104222316.
-
moved to a github issue on GlyphConstruction: https://github.com/typemytype/GlyphConstruction/issues/56
-
or you could express explicitly the unicode value, like this
uni1E93 = w + acute@top | 1E93
-
meanwhile, you could get the unicodes in the glyph objects using a script like this
import re pattern = re.compile('uni[0-9A-F]{4}') for eachGlyph in CurrentFont(): if pattern.match(eachGlyph.name) and eachGlyph.unicode is None: eachGlyph.unicode = int(eachGlyph.name[-4:], 16)
note: it adds the unicode value only if not assigned and it assumes that the letter component of the hexadecimal number (from the glyph name) is uppercase
-
Hi @martin,
thanks for your feedback, that's probably an issue with the extension. I'll open an issue on the github tool repository and report to the main headquarter :)