def get_glyph_horizontal_advance(font, glyph_id):
    hmtx_table = font['hmtx'].metrics
    adv, lsb = hmtx_table[glyph_id]
    return adv
Returns the horiz advance of the glyph id.
dataset/ETHPy150Open googlei18n/nototools/nototools/font_data.py/get_glyph_horizontal_advance