Layers and components in the future

21 views
Skip to first unread message

Timo Klaavo

unread,
Jun 5, 2017, 7:10:02 AM6/5/17
to Unified Font Object Specification
Hi all!
The ufo3 spec states that "Components must only reference glyphs within the same layer that the component belongs to." I guess this choice was made with multiple masters and layered fonts in mind. I hope things will be more flexible in the future, so that any layer of any glyph could be referenced on any layer of any glyph, as long as circular references are avoided. Now layers in ufo3 are simply fonts within fonts with no shared components, and many tools don't follow only that kind of model.

Btw. There's a small error in the ufo spec. In countour indentifier description: "Unique identifier for the component." Should be "Unique identifier for the contour.", I suppose.

Thanks!

Timo

Tal Leming

unread,
Jun 5, 2017, 7:15:34 AM6/5/17
to ufo-...@googlegroups.com
Hi Timo,

> The ufo3 spec states that "Components must only reference glyphs within the same layer that the component belongs to." I guess this choice was made with multiple masters and layered fonts in mind. I hope things will be more flexible in the future, so that any layer of any glyph could be referenced on any layer of any glyph, as long as circular references are avoided.

This is something that I thought about but kicked the can down the road because there were so many other things to figure out. I have an idea now: add a baselayer attribute to the <component> element in GLIF. That would reference a layer name. We'd have to figure out backwards compatibility and all that.

> Btw. There's a small error in the ufo spec. In countour indentifier description: "Unique identifier for the component." Should be "Unique identifier for the contour.", I suppose.

Ah, yes.

Would you mind opening a couple of Github issues for these? I don't have time to work on them today, but I'd like to have a record of them.

Thanks,
Tal

Timo Klaavo

unread,
Jun 5, 2017, 8:41:50 AM6/5/17
to ufo-...@googlegroups.com
Thanks for the quick reply. Sounds good!
I opened new issues on GitHub for these.

Timo
> --
> You received this message because you are subscribed to a topic in the Google Groups "Unified Font Object Specification" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/topic/ufo-spec/AnMix6T0v6Q/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to ufo-spec+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages