Are filters a Category in Glyphs?

I am wondering whether custom filters are a category in Glyphs?

for Example:

I have a custom filter callled “Red”,

Is it under Filters/Red same as in Letter/Uppercase?
(filters(category)/Red(subcategory) same as in Letter(Category)/Uppercase(Subcategory)

You can add your own entries in all of the sections in the sidebar.

I am talking about the LetterSpacer.
For the default config file it is:

But can I also apply it to a custom filter, since I am asking how is Filters called in Glyphs? I know it isn’t a Category, but is it something else I checked the GlyphData.xml and the CustomFilter.plist , but can’t figure it out?

I don’t understand what you are trying to do.

Basically does a glyphs have parameter .filter or something? How can I check if a glyph has a filter and which one?

print Glyphs.font.glyphs[“a”].Filter

same as:

print Glyphs.font.glyphs[“a”].category
print Glyphs.font.glyphs[“a”].subCategory

Glyphs don’t have a filter. You are looking in the wrong direction. The ‘category’ is a property of the glyphs that can be used in a filter.

1 Like