From Unicode to grapheme

Hi, Iā€™m trying to copy to InDesign all the graphemes in my font file.
Now Iā€™m doing the following: :confused:

Step 1
first I try to copy the Unicode values from the glyph selected with this little script:

#PrintSelectedUnicode

myGlyphs = Glyphs.font.glyphs
for number in myGlyphs:
    print number.unicode

Result:

ā€”

Step 2
then I try to print the multiple graphemes with this code (I reduced the amount of glyphs)

#PrintGrafema
grafema = u"\u0041, \u00C1, \u0102, \u1EAE, \u1EB6, \u1EB0, \u1EB2,"
print grafema

Result:


ā€”

The questions:
There is some easier way to perform that task, or improve the code in one step? or any tool?

Thanks in advance!

Did you try to copy paste directly from the font view? And there are the system services that might help: https://glyphsapp.com/tutorials/system-services

1 Like

Thanks Georg, great tip!

You can set up a smart filter for every glyph that has a Unicode assigned. Then select the filter, select all, copy, paste.

1 Like

Added to my workflow. Many thanks mekkablue!