标签问题 Label problem

在Glyphs中,给某款字体中一些字加了一些标签,这些标签如何赋予给另一款字体?
In Glyphs, some words in a font are labeled. How can these labels be assigned to another font?

截屏2023-02-07 上午10.42.41

If you are using labels (tags), I highly recommend my plugin Guten Tag.

For an overview of managing tags with scripting, see section 3.4, Scripting With Tags, on page 13 of the Guten Tag Handbook:

Read the Python API document about GSGlyph.tags :
https://docu.glyphsapp.com/#GSGlyph.tags

Few code like this. Expand it as you need.

for g1 in font1.glyphs:
    if g2 := font2.glyphs[g1.name]:
        g2.tags = g1.tags
print 'Done'

这个可以直接用吗?具体怎么操作方便指导一下吗?:rose:
Can I use this directly? Is it convenient to guide how to operate? :rose: