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

[gftools-packager] Urbanist: Version 1.250 added #3431

Merged
merged 16 commits into from Jul 15, 2021

Conversation

coreyhu
Copy link
Contributor

@coreyhu coreyhu commented May 20, 2021

@coreyhu
Copy link
Contributor Author

coreyhu commented May 20, 2021

Hi @RosaWagner this is a followup to #3418 which is now closed. There've been some updates and the fontbakery checks on the static files should now all pass. The variable file uses an ital axis so it only fails the unsupported-ital check.

Apologies, are you able to re-add it to the pipeline?

@davelab6
Copy link
Member

@coreyhu wow this is amazing work!! I've approved this for @RosaWagner to merge once any issues she finds are resolved

@m4rc1e
Copy link
Collaborator

m4rc1e commented May 24, 2021

LGTM. Let's get this into production. Thanks @coreyhu!

@m4rc1e
Copy link
Collaborator

m4rc1e commented May 24, 2021

I've removed the ital axis since older versions of firefox/chrome have patchy support. We will reenable the axis once these browsers are used by less people.

@coreyhu
Copy link
Contributor Author

coreyhu commented May 24, 2021

Sounds good! Let me know if any additional changes are necessary. Will the italics still be available as static files?

@RosaWagner
Copy link
Contributor

Wait wait wait before merging. There are still some stuff to correct, like the OFL, which is missing a part in the header. @coreyhu contact me by email to arrange a call, so I can also explain the different choices for the ital axis.

@RosaWagner RosaWagner added -- Needs Upstream Resolution Upstream fix required before moving forward and removed - Ready for Review labels May 25, 2021
@coreyhu
Copy link
Contributor Author

coreyhu commented May 25, 2021

Thanks, the OFL header has been updated and I sent you an email to follow up. Let me know if there's any additional changes that need to be made!

@coreyhu
Copy link
Contributor Author

coreyhu commented Jun 1, 2021

Hi all, I made the following changes:

  • Updated the OFL header
  • Built two separate Roman and Italic VF files that can be used until the ital axis is better supported.
  • Repackaged with --no-source

Please let me know if any other changes are necessary

@RosaWagner
Copy link
Contributor

RosaWagner commented Jun 3, 2021

Base letters (and comb accents) don't have anchors. Sorry I missed that earlier. This check is still not implemented in FB but will come.
coreyhu/Urbanist#28

@RosaWagner RosaWagner linked an issue Jun 3, 2021 that may be closed by this pull request
8 tasks
@RosaWagner RosaWagner added - Ready for Review and removed -- Needs Upstream Resolution Upstream fix required before moving forward labels Jun 4, 2021
@RosaWagner
Copy link
Contributor

Fontbakery report

Fontbakery version: 0.7.37

[8] Urbanist-Italic[wght].ttf
🔥 FAIL: Checks METADATA.pb font.post_script_name matches postscript name declared on the name table.
🔥 FAIL: METADATA.pb font.full_name value matches fullname declared on the name table?
🔥 FAIL: METADATA.pb font.style "italic" matches font internals?
🔥 FAIL: METADATA.pb font.name and font.full_name fields match the values declared on the name table?
WARN: METADATA.pb: Fontfamily is listed on Google Fonts API?
WARN: A static fonts directory with at least two fonts must accompany variable fonts
--- Rationale ---
Variable font family directories kept in the google/fonts git repo may include a
static/ subdir containing static fonts.
These files are meant to be served for users that still lack support for
variable fonts in their web browsers.
  • WARN Please consider adding a subdirectory called "static/" and including in it static font files. [code: missing]
WARN: METADATA.pb: Designer is listed with the correct name on the Google Fonts catalog of designers?
  • com.google.fonts/check/metadata/designer_profiles

  • WARN It seems that Corey Hu is still not listed on the designers catalog. Please submit a photo and a link to a webpage where people can learn more about the work of this designer/typefoundry. [code: profile-not-found]

WARN: Are there any misaligned on-curve points?
--- Rationale ---
This check heuristically looks for on-curve points which are close to, but do
not sit on, significant boundary coordinates. For example, a point which has a
Y-coordinate of 1 or -1 might be a misplaced baseline point. As well as the
baseline, here we also check for points near the x-height (but only for lower
case Latin letters), cap-height, ascender and descender Y coordinates.
Not all such misaligned curve points are a mistake, and sometimes the design may
call for points in locations near the boundaries. As this check is liable to
generate significant numbers of false positives, it will pass if there are more
than 100 reported misalignments.
  • WARN The following glyphs have on-curve points which have potentially incorrect y coordinates:
    • uni1E9E: X=567.0,Y=1399.0 (should be at cap-height 1400?)
    • question: X=238.0,Y=-2.0 (should be at baseline 0?)
    • question: X=351.0,Y=-2.0 (should be at baseline 0?) and integral: X=-27.5,Y=2.0 (should be at baseline 0?) [code: found-misalignments]

[4] Urbanist[wght].ttf
WARN: METADATA.pb: Fontfamily is listed on Google Fonts API?
WARN: A static fonts directory with at least two fonts must accompany variable fonts
--- Rationale ---
Variable font family directories kept in the google/fonts git repo may include a
static/ subdir containing static fonts.
These files are meant to be served for users that still lack support for
variable fonts in their web browsers.
  • WARN Please consider adding a subdirectory called "static/" and including in it static font files. [code: missing]
WARN: METADATA.pb: Designer is listed with the correct name on the Google Fonts catalog of designers?
  • com.google.fonts/check/metadata/designer_profiles

  • WARN It seems that Corey Hu is still not listed on the designers catalog. Please submit a photo and a link to a webpage where people can learn more about the work of this designer/typefoundry. [code: profile-not-found]

WARN: Are there any misaligned on-curve points?
--- Rationale ---
This check heuristically looks for on-curve points which are close to, but do
not sit on, significant boundary coordinates. For example, a point which has a
Y-coordinate of 1 or -1 might be a misplaced baseline point. As well as the
baseline, here we also check for points near the x-height (but only for lower
case Latin letters), cap-height, ascender and descender Y coordinates.
Not all such misaligned curve points are a mistake, and sometimes the design may
call for points in locations near the boundaries. As this check is liable to
generate significant numbers of false positives, it will pass if there are more
than 100 reported misalignments.
  • WARN The following glyphs have on-curve points which have potentially incorrect y coordinates:
    • uni1E9E: X=567.0,Y=1399.0 (should be at cap-height 1400?)
    • question: X=434.5,Y=-2.0 (should be at baseline 0?)
    • question: X=547.5,Y=-2.0 (should be at baseline 0?) and integral: X=168.5,Y=2.0 (should be at baseline 0?) [code: found-misalignments]

Summary

💔 ERROR 🔥 FAIL ⚠ WARN 💤 SKIP ℹ INFO 🍞 PASS 🔎 DEBUG
0 4 8 98 17 266 0
0% 1% 2% 25% 4% 68% 0%

Note: The following loglevels were omitted in this report:

  • SKIP
  • INFO
  • PASS
  • DEBUG

@RosaWagner
Copy link
Contributor

Side note: for this PR we are waiting for fonttools to fix the problem with the name ID25 : fonttools/fonttools#2336

@coreyhu
Copy link
Contributor Author

coreyhu commented Jun 11, 2021

Would there be an issue with adding a step in the build workflow to correct nameID 25 after running VarLib Instancer?

@RosaWagner
Copy link
Contributor

You can do so :)
Internally we decided that it should be fixed by fonttools, so I am not spending time on it, but you can do. Please inspect Texturina’s names table. Someone else will have to check it, cause I am on holidays for 3 weeks from today :)

@coreyhu
Copy link
Contributor Author

coreyhu commented Jun 14, 2021

Enjoy the break! Meanwhile, nameID 25 should now be updated. Is someone able to check it out? Thanks in advance!

@coreyhu
Copy link
Contributor Author

coreyhu commented Jul 11, 2021

Finally got around to writing the postprocessing script for updating the name table. I believe this should match Texturina

@RosaWagner
Copy link
Contributor

Author corrected the name ID 25 with a script after slicing Roman/Italic with Fonttools, so I doubled check in Indesign and it works fine :)

LGTM

Fontbakery report

Fontbakery version: 0.7.37

[1] Family checks
🔥 FAIL: Do we have the latest version of FontBakery installed?

[1] Urbanist-Italic[wght].ttf
WARN: Are there any misaligned on-curve points?
--- Rationale ---
This check heuristically looks for on-curve points which are close to, but do
not sit on, significant boundary coordinates. For example, a point which has a
Y-coordinate of 1 or -1 might be a misplaced baseline point. As well as the
baseline, here we also check for points near the x-height (but only for lower
case Latin letters), cap-height, ascender and descender Y coordinates.
Not all such misaligned curve points are a mistake, and sometimes the design may
call for points in locations near the boundaries. As this check is liable to
generate significant numbers of false positives, it will pass if there are more
than 100 reported misalignments.
  • WARN The following glyphs have on-curve points which have potentially incorrect y coordinates:
    • uni1E9E: X=567.0,Y=1399.0 (should be at cap-height 1400?)
    • question: X=238.0,Y=-2.0 (should be at baseline 0?)
    • question: X=351.0,Y=-2.0 (should be at baseline 0?) and integral: X=-27.5,Y=2.0 (should be at baseline 0?) [code: found-misalignments]

[1] Urbanist[wght].ttf
WARN: Are there any misaligned on-curve points?
--- Rationale ---
This check heuristically looks for on-curve points which are close to, but do
not sit on, significant boundary coordinates. For example, a point which has a
Y-coordinate of 1 or -1 might be a misplaced baseline point. As well as the
baseline, here we also check for points near the x-height (but only for lower
case Latin letters), cap-height, ascender and descender Y coordinates.
Not all such misaligned curve points are a mistake, and sometimes the design may
call for points in locations near the boundaries. As this check is liable to
generate significant numbers of false positives, it will pass if there are more
than 100 reported misalignments.
  • WARN The following glyphs have on-curve points which have potentially incorrect y coordinates:
    • uni1E9E: X=567.0,Y=1399.0 (should be at cap-height 1400?)
    • question: X=434.5,Y=-2.0 (should be at baseline 0?)
    • question: X=547.5,Y=-2.0 (should be at baseline 0?) and integral: X=168.5,Y=2.0 (should be at baseline 0?) [code: found-misalignments]

Summary

💔 ERROR 🔥 FAIL ⚠ WARN 💤 SKIP ℹ INFO 🍞 PASS 🔎 DEBUG
0 1 2 196 15 179 0
0% 0% 1% 50% 4% 46% 0%

Note: The following loglevels were omitted in this report:

  • SKIP
  • INFO
  • PASS
  • DEBUG

Urbanist_QA.zip

@RosaWagner RosaWagner merged commit fe7c8ea into google:main Jul 15, 2021
@RosaWagner RosaWagner added --- Live Font is visible on API and removed --- to_production labels Aug 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--- Live Font is visible on API I New Font
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add the Urbanist Family
4 participants