Hi,
Just tried to make a custom sidebar entry. I did everything what is in the tutorial, copied the code from Groups.plist file, but got only one subgroup in each entry.
Glyphs Version 2.1.1 (782)
Thx.
Hi,
Just tried to make a custom sidebar entry. I did everything what is in the tutorial, copied the code from Groups.plist file, but got only one subgroup in each entry.
Glyphs Version 2.1.1 (782)
Thx.
can you post/send the code content of your custom sidebar file?
I copied the code without any changes from the tutorial.
{
categories = (
{
name = "Compatibility";
icon = compatibilityTemplate;
subGroup = (
{
name = "Web";
coverage = (
.notdef,
hyphen,
space
);
}
);
subGroup = (
{
name = "Windows";
coverage = (
nbspace,
softhyphen
);
}
);
},
);
languages = (
{
name = "Esperanto";
icon = EsperantoTemplate;
script = esperanto;
subGroup = (
{
name = "Letters";
coverage = (
Ccircumflex,
ccircumflex,
Gcircumflex,
gcircumflex,
Hcircumflex,
hcircumflex,
Jcircumflex,
jcircumflex,
Scircumflex,
scircumflex,
Ubreve,
ubreve
);
}
);
subGroup = (
{
name = "Marks";
coverage = (
circumflexcomb,
brevecomb
);
}
);
},
);
}
I just confirmed this. Only the last subGroup of each category/language is displayed. Also, if I select the parent category/language, nothing is displayed on the main glyph list on the right.
Same problem for me.
There is a mistake in the file. You can’t have two subgroups, but multiple entries.
{
categories = (
{
name = "Compatibility";
icon = compatibilityTemplate;
subGroup = (
{
name = "Web";
coverage = (
.notdef,
hyphen,
space
);
},
{
name = "Windows";
coverage = (
nbspace,
softhyphen
);
}
);
},
);
languages = (
{
name = "Esperanto";
icon = EsperantoTemplate;
script = esperanto;
subGroup = (
{
name = "Letters";
coverage = (
Ccircumflex,
ccircumflex,
Gcircumflex,
gcircumflex,
Hcircumflex,
hcircumflex,
Jcircumflex,
jcircumflex,
Scircumflex,
scircumflex,
Ubreve,
ubreve
);
},
{
name = "Marks";
coverage = (
circumflexcomb,
brevecomb
);
}
);
},
);
}
Edit: fixed subgroups.
Makes sense. On your example above, there are 2 subgroups in the categories, but I understand how it works now. Thanks!
Fixed in the tutorial.