-
Notifications
You must be signed in to change notification settings - Fork 14
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
Intermediate layers, sparse composite glyphs, cryptic error messages #954
Comments
you mean, "intermediate" (aka brace) layers. "alternate" layers is what bracket layers are now called in Glyphs 3. The former are supposedly supported, the latter not yet (#533). I'll take a look at this, thanks for reporting. |
(I also agree the error message is cryptic and not very helpful) |
the issue is about decomposing composite glyphs when the composite defines more locations than the glyph it references as component. There is a "yeru-cy" glyph which is mixed, contains both simple contours and components and as such needs to be decomposed to simple glyph. It uses "softsign-cy" as component, but it contains an additional intermediate layer which "softsign-cy" doesn't have ( The right thing to do in this cases is to interpolate the missing layer while decomposing. in the meantime, we should at least make the error message clearer. |
the crypting error is raised in a method called Lines 189 to 197 in 266624a
|
Can I gently point out that an issue tracker with over a hundred open issues is not the easiest way for people to understand what is expected to work yet and what isn't? Maybe, a checklist or something? |
noted 😅 |
Ha, probably my fault :D
…On Thu, Oct 3, 2024, 7:14 AM Cosimo Lupo ***@***.***> wrote:
the crypting error is raised in a method called
convert_components_to_contours
https://github.com/googlefonts/fontc/blob/266624a8fd25d6bbdb901178e2ad6f4e0dbfa4a4/fontir/src/glyph.rs#L189-L197
—
Reply to this email directly, view it on GitHub
<#954 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABRKXABCSTLZH7MTD44EEH3ZZVGMJAVCNFSM6AAAAABN4EZSBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJRGUZTGOBSHA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Most of the big Noto fonts (particularly Noto Sans and Serif LGC for this example) have dropped Monotype's Semibold masters and replaced them, where needed, with alternate layers. This creates a sparse designspace where some glyphs have layers at the semibold position and others don't.
fontc seems to assume a non-sparse design space - at least that's what I'm interpreting from this (cryptic) error message:
The error message is cryptic for three reasons:
But I think the bigger issue here is that fontc is assuming a full designspace when it should be happy with a sparse one.
The text was updated successfully, but these errors were encountered: