-
Notifications
You must be signed in to change notification settings - Fork 105
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
Beginnings of a designspace profile #3168
Conversation
In general I prefer to avoid creating new profiles. Things should fit some of the existing profiles such as This one though, as well as the In the future we might even make the profiles smart to distinguish whether source or binary checks should be performed, based on the types of files provided on the command line. |
Here I'm just expressing how I feel about this matter in terms of a long-term project vision. I've considered other ways people have tried to deal with creation of new profiles in past PRs and it seems to me that indiscriminate creation of many new profiles for the purpose of grouping checks while not including them as child-profiles under one of the existing vendor-specific or |
I think I'm going to open a new issue to discuss how to handle non-TTFs in profiles: #3169 |
I personally don't mind individual profiles for every source type if the checks are useful to all vendors. I can see this profile being used by everyone, not just us at Google Fonts. |
I guess if we needed our own designspace profile, we could create |
I agree that this should go in |
Have you seen this? https://github.com/LettError/DesignspaceProblems |
@simoncozens, do you plan on resuming efforts related to this PR? Such as integrating these checks into either |
At some point, yes. But I have to make sure that we can happily throw .designspace files at fontbakery and have them dispatched to checks with the appropriate conditions. (See #3169) That might already work, I just haven't tried it! |
hey, @simoncozens, as you told us you're on a "fontbakery hacking mood" this week, this could be a good PR to review |
Work on this continues at #3448 |
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR fonttools#3168)
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR fonttools#3168)
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR fonttools#3168)
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR fonttools#3168)
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR fonttools#3168)
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR fonttools#3168)
- com.google.fonts/check/designspace_has_sources: "Check that all sources in a designspace can be loaded successfully." - com.google.fonts/check/designspace_has_default_master: "Check that a default master is defined." - com.google.fonts/check/designspace_has_consistent_glyphset: "Check that non-default masters do not contain glyphs not found in the default master." - com.google.fonts/check/designspace_has_consistent_codepoints: "Check that Unicode assignments are consistent between masters." (Follow-up to PR #3168)
Description
This implements the following consistency checks on a
.designspace
file:To Do
CHANGELOG.md