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

Can't export with smart component #927

Open
RosaWagner opened this issue Jul 7, 2023 · 4 comments
Open

Can't export with smart component #927

RosaWagner opened this issue Jul 7, 2023 · 4 comments

Comments

@RosaWagner
Copy link

repo: https://github.com/Alexandre-Bassi/ChaumontScript

ValueError: Could not generate smart component model for _smart_transvers used in <GSLayer "Italic" (Eth)>.
Locations were:
  Italic = {'Short': 0.0, 'Width': 0.0}
  Long = {'Short': 0.0, 'Width': 1.0}
  Short = {'Short': 1.0, 'Width': 0.0}
  Short = {'Short': 1.0, 'Width': 0.0}
  Long = {'Short': 0.0, 'Width': 1.0}
   = {'Short': 0.0, 'Width': 0.0}

@justvanrossum
Copy link
Contributor

I'm seeing this also in another project. I wonder if Glyphs perhaps ignores layers with duplicate locations?

Perhaps glyphsLib is correct in choking on this ambiguous data, though. But if Glyphs itself can resolve it, then glyphsLib should perhaps also do that.

@anthrotype
Copy link
Member

if Glyphs itself can resolve it, then glyphsLib should perhaps also do that.

the question is how does Glyphs.app resolve these duplicate locations, if at all?

@schriftgestalt
Copy link
Collaborator

Glyphs just picks the first layer it finds for each location.

But the setup with a "Width" and "Short" axis doesn’t make much sense for me.

@RosaWagner
Copy link
Author

@schriftgestalt what would make sense to you so we can fix and export?

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

4 participants