# Keeping references to glyph names up to date

**URL:** <https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535>\
**Category:** Scripting\
**Created:** [July 5, 2021, 12:12pm UTC](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535 "2021-07-05T12:12:59Z")\
**Posts on this page:** 5\
**Page:** 2

<div class="post-metadata">

**Author:** ![khaled](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/khaled/32/28528_2.png) [@khaled](https://forum.glyphsapp.com/u/khaled)\
**Post date:** [July 10, 2021, 11:33am UTC](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535/21 "2021-07-10T11:33:21Z")

</div>

So, do I have any other options? I don’t know ObjectiveC to port the script, and even if I did, I still use FontTools and I wouldn’t want to rewrite that too.

Can we have an official class that does this, say `GSGlyphReference`, I can’t possibly be the only one who needs a functionality like this.

---

<div class="post-metadata">

**Author:** ![GeorgSeifert](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/georgseifert/32/259_2.png) [@GeorgSeifert](https://forum.glyphsapp.com/u/GeorgSeifert)\
**Post date:** [July 10, 2021, 11:39am UTC](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535/22 "2021-07-10T11:39:00Z")

</div>

I can add such a class.

But I’m thinking about some other options, too. E.g. use of dedicated glyph name suffixes to group the extra glyphs, or use of tags.

---

<div class="post-metadata">

**Author:** ![khaled](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/khaled/32/28528_2.png) [@khaled](https://forum.glyphsapp.com/u/khaled)\
**Post date:** [July 10, 2021, 11:44am UTC](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535/23 "2021-07-10T11:44:56Z")

</div>

Suffixes would for for glyph variants, but I still have glyph assembly that needs other data besides glyph names and I don’t think I can use glyph suffixes here (a glyph assembly is an ordered sequence of parts, each part needs to record a glyph, a flag, and two measurements that need to be set by the designer).

---

<div class="post-metadata">

**Author:** ![GeorgSeifert](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/georgseifert/32/259_2.png) [@GeorgSeifert](https://forum.glyphsapp.com/u/GeorgSeifert)\
**Post date:** [July 20, 2021, 9:53pm UTC](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535/24 "2021-07-20T21:53:52Z")

</div>

I added `GSGlyphReference`.

---

<div class="post-metadata">

**Author:** ![khaled](https://forum.glyphsapp.com/user_avatar/forum.glyphsapp.com/khaled/32/28528_2.png) [@khaled](https://forum.glyphsapp.com/u/khaled)\
**Post date:** [July 23, 2021, 2:19pm UTC](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535/25 "2021-07-23T14:19:24Z")

</div>

> [@GeorgSeifert](#):
>
> `GSGlyphReference`

Thanks! Works just fine.

[Previous page](https://forum.glyphsapp.com/t/keeping-references-to-glyph-names-up-to-date/19535.md?page=1)
