Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify specification of the origin point for glyph cut-outs #90

Closed
dspreadbury opened this issue Apr 8, 2018 · 3 comments
Closed

Clarify specification of the origin point for glyph cut-outs #90

dspreadbury opened this issue Apr 8, 2018 · 3 comments
Assignees
Milestone

Comments

@dspreadbury
Copy link
Contributor

Reported by Erik Ronström. Regarding cut-outs, the SMuFL spec says:

Each cut-out is specified as a pair of X,Y coordinates (in spaces), describing the innermost corner of a nominal rectangle that intersects the bounding box. For example, cutOutNE specifies the bottom left corner of a rectangle that intersects the top right corner of the bounding box of the glyph. The positions of each of the other corners of the cut-out rectangle are calculated using the bounding box of the glyph.

However, it doesn’t explicitly state the origin of the coordinate system. IMO, it would make most sense to use the same origin as the glyph’s origin. But using the metadata for Bravura 1.204, this gives wrong results. It looks like the cut-outs in Bravura are instead measured from the bottom-left corner of of the glyph’s bounding box.

The spec should be clarified to make this relationship clear.

@dspreadbury dspreadbury added this to the SMuFL 1.2 milestone Apr 8, 2018
@dspreadbury dspreadbury self-assigned this Apr 8, 2018
@lpugin
Copy link

lpugin commented Apr 9, 2018

How does this relate to #71 ? Are you suggesting to change (back?) to the glyph origin? I think it would indeed be more inline with what font editors normally produce.

@dspreadbury
Copy link
Contributor Author

It doesn't change anything about #71: it simply entails making it explicit in the spec what point the cut-outs are relative to.

dspreadbury pushed a commit that referenced this issue Jan 14, 2019
…to FSA (#38); add missing Unicode codepoint for quindicesimaAlta (#60); clarify specification for origin of glyph cut-out metadata (#90).
@dspreadbury
Copy link
Contributor Author

Fixed in #98.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants