Iam creating a smart filter. When i add some characters to the filter.. the count in the glyph app doesnot get update until i restart the glyph app. How can i do it via coding?
How do you add the glyphs? Directly in the file in the Info Folder?
no… we are importing them via some process and giving it some tag…
How exactly are you doing it?
no no iam creating composite glyph via code and wanted to assign some tags to it. and that filter capture that tag.
So you have a filter for tags. Than you assign a tag to a glyph and the filter isn’t updating? Or you add a glyph that already has a tag to the font?
Can you show your script? Maybe make a simplified version of the script that shows the problem?
only the count is not updating until i restart the application.
this count is not updating.
Can you show the full script?
I suspect that there is a font.disableUpdateInterface()
but not a closing font.enableUpdateInterface()
.
It may happen that another script is causing this.
no there is no such font.disableUpdateInterface()
i saw a flaw in the application itself.. whenever i remove the tag from the application.. it is also not updating the smart filter count.. Can you please try this on your end?
You are right. I fixed it. Thanks for pointing that out.
can you please share the code snippet for updating the count in the filter?
This is handled automatically with the next update.
can you send me the code snippet? i donot want to upgrade the plugin for some reasons.
There is no snippet.