Filters can only be saved locally?

these Filters can only be saved locally?

If this project file is opened on another computer, are these still there?

Filters are not stored as part of the font, but locally on your Mac. Opening the Glyphs file on a different Mac will show the filters that are set up on that other Mac. If you work on multiple Macs, you can copy the CustomFilters.plist file from one Mac to the other to have the same filters on both.

You can put the file into a shared folder (dropbox, iCould or GitHub) and put a symlink into the Application Support/Glyphs 3

CustomFilters.plist
Where is this file?

In ~/Application Support/Glyphs 3

I can’t find this on my computer.
Cannot find out anything.
360æˆȘć›Ÿ

In Glyphs, go to è„šæœŹ → æ‰“ćŒ€è„šæœŹæ–‡ä»¶ć€č:

A Finder window will open, showing the CustomFilter.plist file:

Is it possible to have multiple CustomFilter[...].plist files in the Application Support folder?
I want to use Christophs Latin S
XL filters, but not put the file next to .glyphs file – as he instructs in his repo. I rather would like to see them in every project, next to the default filters.

I would like to keep the default filters and the additional filters separated, also in the UI (exactly like it looks when the additional custom filter file sits next to a .glyphs file, with it’s own headline in the UI).

But I didn’t find out how to achieve that. If I just put it next to the CustomFilter.plist, it won’t show. It seems that in there it has to be called exactly “CustomFilter.plist”?

Create a Folder “Filters” in your Glyphs 3 app folder:

.../Library/Application Support/Glyphs 3/Filters

Then you can use multiple filters :

CustomFilter Filters 1.plist
CustomFilter Filters 2.plist
...
2 Likes

That works indeed! Thanks Hugo.

I added some characters to my current filter list. I have to restart everytime to see these changes. Is there any way.. I can update the list and see the changes without restarting the Glyph App?

Do you mean the list filter in the side bar?

You can select another filter or simply deselect the filter, and then select it again. That usually works for me.

yes iam talking about the filter in the side bar. It doesnot work for me. I have to restart the application after I update the CustomFilter.plist file.. Iam using Glyph App Version 3.2.3 (3260). Which version are you using?

Iam building some plugin for the glyph app
 iam adding and removing from the list via custom plugin iam building.

I’m trying to add a smart filter to CustomFilter.py via script. While I can successfully add the filter to the file, it doesn’t appear in the Glyphs App until I restart it.

Is there a way to make it appear immediately without restarting the app?

So you are changing the CustomFilter.plist direct instead of using the Glyphs UI?

To trigger an update, run this code in Glyphs:

from GlyphsApp import GSGlyphsInfo
from Cocoa import NSNotificationCenter
GSGlyphsInfo.sharedManager().reloadCustomFilterGroup()
NSNotificationCenter.defaultCenter().postNotificationName_object_("GSGlyphGroupsHaveChanged", None)
1 Like

Cool. It worked. Thank you Georg.

Why? Latest stable version is 3.3.1, latest beta 3.4.