Typophile

how to select a unicode range using python

markzman

hey guys am a newbie in fontlab could you help me how to select a unicode range using macro?
like the “select alphanumeric”, I can’t figure out how it selects by unicode range.
here is the select alphanumeric codes:

fl.Unselect()

for i in range(0x41, 0x5b):
fl.Select(Uni(i))

for i in range(0x61, 0x7b):
fl.Select(Uni(i))

for i in range(0x30, 0x3A):
fl.Select(Uni(i))

fl.iglyph = 20

now how do I change this to select unicode range from Amacron to Gdotaccent?

Captured from web.archive.org on 4 Jul 2008. view this capture