def setUnicodeValue(glyph, glyphList):

    if glyph.name in glyphList:
        glyph.unicode = int(glyphList[glyph.name], 16)
    else:
        uvNameMatch = re.match("uni([\dA-F]{4})$", glyph.name)
        if uvNameMatch:
            glyph.unicode = int(uvNameMatch.group(1), 16)
Try to ensure glyph has a unicode value -- used by FDK to make OTFs.
dataset/ETHPy150Open google/roboto/scripts/lib/fontbuild/generateGlyph.py/setUnicodeValue