-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Black Han Sans: 1.001 #8591
base: main
Are you sure you want to change the base?
Black Han Sans: 1.001 #8591
Conversation
Hotfixing the font to correct an upstream bug wherein the glyph is not properly encoded in the cmap
FontBakery reportfontbakery version: 0.13.0a5 Check results[38] BlackHanSans-Regular.ttf🔥 FAIL Name table ID 6 (PostScript name) must be consistent across platforms.
🔥 FAIL PostScript name follows OpenType specification requirements?
🔥 FAIL Checking Vertical Metric Linegaps.
Overridden: This check was originally a WARN but was overridden by the universal profile: For Google Fonts, all messages from this check are considered FAILs. [code: hhea]🔥 FAIL Font contains '.notdef' as its first glyph?
🔥 FAIL Are there disallowed characters in the NAME table?
🔥 FAIL Are there unwanted tables?
They can be removed with the 'fix-unwanted-tables' script provided by gftools. [code: unwanted-tables]🔥 FAIL Font contains glyphs for whitespace characters?
🔥 FAIL METADATA.pb: Check URL on copyright string is the same as in repository_url field.
🔥 FAIL Checks METADATA.pb font.post_script_name matches postscript name declared on the name table.
🔥 FAIL Shapes languages in all GF glyphsets.
🔥 FAIL Does DESCRIPTION file contain a upstream Git repo URL?
🔥 FAIL DESCRIPTION.en_us.html must have more than 200 bytes.
🔥 FAIL Copyright notices match canonical pattern in fonts
"Copyright 2020 The Familyname Project Authors (git url)" But instead we have got: "(c) ZESSTYPE 2015" [code: bad-notice-format]
"Copyright 2020 The Familyname Project Authors (git url)" But instead we have got: "(c) ZESSTYPE 2015" [code: bad-notice-format]
"Copyright 2020 The Familyname Project Authors (git url)" But instead we have got: "Copyright 2015 The Black Han Sans Authors" [code: bad-notice-format]
[code: mismatch] 🔥 FAIL Check license file has good copyright string.
"copyright 2015 the black han sans authors" which does not match the expected format, similar to: "Copyright 2022 The Familyname Project Authors (git url)" [code: bad-format]🔥 FAIL Check Google Fonts glyph coverage.
Use -F or --full-lists to disable shortening of long lists. [code: missing-codepoints]
|
ofl/blackhansans/BlackHanSans-Regular.ttf | |
---|---|
Dehinted Size | 389.5kb |
Hinted Size | 975.3kb |
Increase | 585.8kb |
Change | 150.4 % |
ℹ️ INFO Font contains all required tables?
- ℹ️ INFO
This font contains the following optional tables:
- cvt
- fpgm
- loca
- prep
- gasp
[code: optional-tables]
ℹ️ INFO METADATA.pb: Validate family.minisite_url field.
- ℹ️ INFO
Please consider adding a family.minisite_url entry.
[code: lacks-minisite-url]
ℹ️ INFO Check for presence of an ARTICLE.en_us.html file
- ℹ️ INFO
This font doesn't have an ARTICLE.en_us.html file.
[code: missing-article]
ℹ️ INFO Is the Grid-fitting and Scan-conversion Procedure ('gasp') table set to optimize rendering?
- ℹ️ INFO
These are the ppm ranges declared on the gasp table:
PPM <= 65535: flag = 0x0F - Use grid-fitting - Use grayscale rendering - Use gridfitting with ClearType symmetric smoothing - Use smoothing along multiple axes with ClearType®
[code: ranges]ℹ️ INFO Font has old ttfautohint applied?
- ℹ️ INFO
Could not detect which version of ttfautohint was used in this font. It is typically specified as a comment in the font version entries of the 'name' table. Such font version strings are currently: ['Version 1.001', 'Version 1.001']
[code: version-not-detected]
[1] Family checks
Summary
💥 ERROR | ☠ FATAL | 🔥 FAIL | ⏩ SKIP | ℹ️ INFO | ✅ PASS | 🔎 DEBUG | |
---|---|---|---|---|---|---|---|
0 | 0 | 15 | 15 | 74 | 9 | 139 | 0 |
0% | 0% | 6% | 6% | 29% | 4% | 55% | 0% |
Note: The following loglevels were omitted in this report:
- SKIP
- PASS
- DEBUG
Hey @aaronbell! Thank you for that PR! :) I start the review with the fontbakery report. EDIT: Sorry, I'm just seeing this: Copyright, nameID6 and description can maybe hotfixed I think, but ignore the rest of my comments :) Fontbakery
🔥 FAIL Name table ID 6 (PostScript name) must be consistent across platforms.
🔥 FAIL DESCRIPTION.en_us.html must have more than 200 bytes.
🔥 FAIL METADATA.pb: Check URL on copyright string is the same as in repository_url field.
🔥 FAIL Font contains glyphs for whitespace characters?
🔥 FAIL Are there unwanted tables?
|
Related to #6559: The bug was: When using the font "Black Hansans", the letter "몇" is displayed as "몋". I want to make sure it's normal! |
GF_CJK_Q4 work – Hotfixing the font to correct an upstream bug wherein the glyph is not properly encoded in the cmap.
Resolves: #6559
I'm initiating this fix as a hotfix to the GF version because (1) the upstream maintainer has been [https://github.com/zesstype/Black-Han-Sans/issues/1](unresponsive on this issue) for over a year now. And (2) this version of the project was updated with a Latin character set for GF purposes, which is not reflected in the upstream repro.
It would probably be worth (at some point) to rebuild a proper source repository for this project, but in the meantime, just leave as is.