I tried to create a custom entry in the sidebar following the instructions in the tutorial. It did not work for me. Have anyone tried this? I copied/pasted the text given in the tutorial, that is:
{
categories = (
{
name = "My Category";
icon = myTemplate;
subGroup = (
{
name = "My Group";
coverage = (
Hallo,
);
}
);
},
);
languages = (
{
name = Esperanto;
icon = EsperantoTemplate;
script = esperanto;
subGroup = (
{
name = Consonants;
coverage = (
A,
B,
C,
);
}
);
},
);
}
and saved it as “Groups.plist” into the “~/Library/Application Support/Glyphs/Info/” folder. Would this be enough to get al least a new item called “esperanto” under the “Languages” heading in the sidebar, or is there something missing?
Before posting, I’d done the same experiment—copying the text from the tutorial—and it worked. This only works in Glyphs 2.0.1. I tested with version 2.0.1 (752).
2.0.1 (752) is a beta version (Cutting Edge option in preferences). I’ll let @GeorgSeifert or @mekkablue answer if it’s supported in the 2.0.1 (727) version.
Just remember to do extra backups of your projects when working with a beta release. And I just checked the Change Log release notes. User-defined Categories/Languages was added in 2.0.1 (749).
Hi again (not sure I should open a new topic to extend this question)
Well, the thing is that now I am able to add custom entries to the sidebar (thank you composerjk), but I am not able to create subgroups, at least not more than one. What I would like is to create a new entry for a script and then create some subgroups inside it, the same way other scripts do. See the case of Greek for instance. It has four subgroups: Basic, Archaic letters, Polytonic and Coptic. How should I modify the source shown in the tutorial in order to get a similar result?
It seems that I am finding problems in every step of the process. Now I tried to add a customized icon and it is not working. I exported a PDF (16x16 pixel) from inDesign with the character I wanted to use as icon traced. Saved it with the name “MyiconTemplate.pdf” in a folder named “Icons” next to the “Groups.plist” file. I called it from this line in the code:
icon = MyiconTemplate;
No icon in the sidebar. Has anyone tried this?
There is also another minor issue concerning subgroups. Normally they show two numbers separated by a slash. The second shows the amount of characters that subgroup comprises, the first shows how many of them are already in the font. The initial state is normally something like 0/26. If you add 10 characters from that subgroup to your font the numbers would be 10/26. If you add all it would be 26/26. Either this is not working in customized subgroups or I am again missing something.
I’m having the same issue with the icon but my major problem is that the category appears but doesn’t filter, the main area is white. see the screenshot.