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

Noto Serif HK: Version 2.003-H1;hotconv 1.1.1;makeotfexe 2.6.0 added #8050

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

simoncozens
Copy link
Collaborator

Taken from the upstream repo https://www.github.com/notofonts/noto-cjk at commit https://www.github.com/notofonts/noto-cjk/commit/985fa52c81c1d6692ccdd82bc3656e8fb932fd89.

PR Checklist:

  • Family categorization tags collected from the type design team with the Categories Form
  • minisite_url definition in the METADATA.pb file for commissioned projects
  • primary_script definition in the METADATA.pb file for all projects that have a primary non-Latin based language support target
  • subsets definitions in the METADATA.pb reflect the actual subsets and languages present in the font files (in alphabetic order). For CJK fonts, only include one of the following subsets chinese-hongkong, chinese-simplified, chinese-traditional, korean, japanese.
  • Fontbakery checks are reviewed and failing checks are resolved in collaboration with the upstream font development team
  • Diffenator2 regression checks for revisions on all projects that are currently in production
  • Designers bio info have to be present in the designer catalog (at least an issue should be opened for tracking this, if they are not)
  • Check designers order in metadata.pb, since the first one of the list appears as “principal designer”
  • Social media formatted visual assets for all new commissioned projects in the Drive directory, communicate with the repository Maintainer so that they can push this content to the Social Media tracker spreadsheet
  • Social media content draft for all new commissioned projects in the Drive directory and Social Media tracker spreadsheet, communicate with the repository Maintainer so that they can push this content to the Social Media tracker spreadsheet

@simoncozens
Copy link
Collaborator Author

HK-related notes for 2.003:

This release changed a lot of Chinese forms into Japanese forms and vice versa, largely in response to a bug report here: adobe-fonts/source-han-serif#155

  • U+5E3D 帽 was changed to the Japanese form, see A1
  • U+62CB 拋 was changed to the Japanese form, see A3
  • U+6F74 潴 was changed to the Japanese form, see A4
  • U+588F 墏 was changed to the Chinese form, see A6
  • U+5C07 將 was changed to the Chinese form, see A7
  • U+5C4D 屍 was changed to the Chinese form, see A8
  • U+5D88 嶈 was changed to the Chinese form, see A9
  • U+613F 愿 was changed to the Japanese form, see A10
  • U+63C3 揃 was changed to the Japanese form, see A11
  • U+64E5 擥 was changed to the Taiwanese form, see A12
  • U+68C8 棈 was changed to the Japanese form, see A13
  • U+69F3 槳 was changed to the Chinese form, see A14
  • U+6B7B 死 was changed to the Chinese form, see A15
  • U+6F3F 漿 was changed to the Chinese form, see A16
  • U+714E 煎 was changed to the Japanese form, see A17
  • U+731C 猜 was changed to the Japanese form, see A18
  • U+76E5 盥 was changed to the Japanese form, see A19
  • U+787B 硻 was changed to the Chinese form, see A20
  • U+86F8 蛸 was changed to the Japanese form, see A21
  • U+87BF 螿 was changed to the Chinese form, see A22
  • U+8CA7 貧 was changed to the Chinese form, see A23
  • U+8E61 蹡 was changed to the Chinese form, see A24
  • U+9306 錆 was changed to the Japanese form, see A25
  • U+962A 阪 was changed to the Japanese form, see A26
  • U+975C 靜 was changed to the Japanese form, see A27
  • U+9BB9 鮹 was changed to the Japanese form, see A28
  • U+9BD6 鯖 was changed to the Japanese form, see A29

There were design fixes (see items C7-C9 of the same issue) to the vertical stroke in the following glyphs. The "paddy field" 田 should be vertically joined with the component below it.

  • U+7562 畢
  • U+7BF3 篳
  • U+7BF3 罼

And one more fix:

U+66F8 書 was changed to the Japanese form, see adobe-fonts/source-han-serif#175

This comment was marked as outdated.

This comment was marked as outdated.

@simoncozens simoncozens force-pushed the gftools_packager_ofl_notoserifhk branch from df6ef94 to 213d5bb Compare August 19, 2024 10:25
Copy link

FontBakery report

fontbakery version: 0.12.10

Experimental checks

These won't break the CI job for now, but will become effective after some time if nobody raises any concern.

[1] NotoSerifHK[wght].ttf
🔥 FAIL Checking that the typoAscender exceeds the yMax of the /Agrave.
  • 🔥 FAIL

    OS/2.sTypoAscender value should be greater than 932, but got 880 instead


    [code: typoAscender]

All other checks

[26] NotoSerifHK[wght].ttf
🔥 FAIL METADATA.pb: Check URL on copyright string is the same as in repository_url field.

But: font copyright string has 'http://www.adobe.com' and OFL text has 'http://www.adobe.com'

[code: mismatch]
🔥 FAIL Shapes languages in all GF glyphsets.
  • 🔥 FAIL

    GF_Latin_Vietnamese glyphset:

Language FAIL messages
vi_Latn (Vietnamese) Some mark glyphs were missing: ◌̂, ◌̃, ◌̆, ◌̉, ◌̛, ◌̣
[code: failed-language-shaping]
🔥 FAIL Combined length of family and style must not exceed 32 characters.
  • 🔥 FAIL

    Variable font instance name 'Noto Serif HK ExtraLight ExtraLight' formed by space-separated concatenation of font family name (nameID 1) and instance subfamily nameID 266 exceeds 32 characters.

This has been found to cause shaping issues for some accented letters in Microsoft Word on Windows 10 and 11.

[code: instance-too-long]
  • 🔥 FAIL

    Variable font instance name 'Noto Serif HK ExtraLight ExtraLight' formed by space-separated concatenation of font family name (nameID 1) and instance subfamily nameID 266 exceeds 32 characters.

This has been found to cause shaping issues for some accented letters in Microsoft Word on Windows 10 and 11.

[code: instance-too-long]
  • 🔥 FAIL

    Variable font instance name 'Noto Serif HK ExtraLight SemiBold' formed by space-separated concatenation of font family name (nameID 1) and instance subfamily nameID 274 exceeds 32 characters.

This has been found to cause shaping issues for some accented letters in Microsoft Word on Windows 10 and 11.

[code: instance-too-long]
  • 🔥 FAIL

    Variable font instance name 'Noto Serif HK ExtraLight SemiBold' formed by space-separated concatenation of font family name (nameID 1) and instance subfamily nameID 274 exceeds 32 characters.

This has been found to cause shaping issues for some accented letters in Microsoft Word on Windows 10 and 11.

[code: instance-too-long]
  • 🔥 FAIL

    Variable font instance name 'Noto Serif HK ExtraLight ExtraBold' formed by space-separated concatenation of font family name (nameID 1) and instance subfamily nameID 278 exceeds 32 characters.

This has been found to cause shaping issues for some accented letters in Microsoft Word on Windows 10 and 11.

[code: instance-too-long]
  • 🔥 FAIL

    Variable font instance name 'Noto Serif HK ExtraLight ExtraBold' formed by space-separated concatenation of font family name (nameID 1) and instance subfamily nameID 278 exceeds 32 characters.

This has been found to cause shaping issues for some accented letters in Microsoft Word on Windows 10 and 11.

[code: instance-too-long]
🔥 FAIL Check license file has good copyright string.
  • 🔥 FAIL

    First line in license file is:

"copyright 2014-2021 adobe (http://www.adobe.com/), with reserved font name 'source'"

which does not match the expected format, similar to:

"Copyright 2022 The Familyname Project Authors (git url)"

[code: bad-format]
🔥 FAIL Ensure dotted circle glyph is present and can attach marks.
  • 🔥 FAIL

    The following glyphs could not be attached to the dotted circle glyph:

- acutecomb

- gravecomb

- uni0307

- uni030C

[code: unattached-dotted-circle-marks]

🔥 FAIL Ensure files are not too large.
  • 🔥 FAIL

    Font file is 16.0Mb, larger than limit 9.0Mb


    [code: massive-font]
🔥 FAIL Copyright notices match canonical pattern in fonts
  • 🔥 FAIL

    Name Table entry: Copyright notices should match a pattern similar to:

"Copyright 2020 The Familyname Project Authors (git url)"

But instead we have got:

"(c) 2017-2024 Adobe (http://www.adobe.com/)."

[code: bad-notice-format]
  • 🔥 FAIL

    METADATA.pb: Copyright notices should match a pattern similar to:

"Copyright 2020 The Familyname Project Authors (git url)"

But instead we have got:

"(c) 2017-2024 Adobe (http://www.adobe.com/)."

[code: bad-notice-format]
⚠️ WARN Font has correct post table version?
  • ⚠️ WARN

    Post table format 3 use has niche use case problems.Please review the check rationale for additional details.


    [code: post-table-version]
⚠️ WARN Check mark characters are in GDEF mark glyph class.
  • ⚠️ WARN

    The following mark characters could be in the GDEF mark glyph class:
    uni0304 (U+0304), uni20DD (U+20DD), uni20DE (U+20DE), uni302A (U+302A), uni302B (U+302B), uni302C (U+302C), uni302D (U+302D), uni3099 (U+3099) and uni309A (U+309A)


    [code: mark-chars]
⚠️ WARN Detect any interpolation issues in the font.
  • ⚠️ WARN

    Interpolation issues were found in the font:

- Contour 15 in glyph 'uni3B22': becomes underweight between wght=200 and wght=900.

- Contour 2 point 15 in glyph 'uniFF7C' has a kink between location wght=200 and location wght=900

- Contour 1 point 17 in glyph 'uniFF9D' has a kink between location wght=200 and location wght=900

- Contour 10 in glyph 'uni5ABB': becomes underweight between wght=200 and wght=900.

- Contour 19 in glyph 'uni56D3': becomes underweight between wght=200 and wght=900.

[code: interpolation-issues]

⚠️ WARN Check math signs have the same width.
  • ⚠️ WARN

    The most common width is 1000 among a set of 43 math glyphs.
    The following math glyphs have a different width, though:

Width = 571: equal, plus, minus, logicalnot, less, greater

[code: width-outliers]
⚠️ WARN Does the font contain a soft hyphen?
  • ⚠️ WARN

    This font has a 'Soft Hyphen' character.


    [code: softhyphen]
⚠️ WARN Check font contains no unreachable glyphs
  • ⚠️ WARN

    The following glyphs could not be reached by codepoint or substitution rules:

- glyph00470

- glyph00472

- glyph00473

- glyph00477

- glyph00603

- glyph01006

- glyph01112

- glyph01134

- glyph01668

- glyph01670

- 96 more.

Use -F or --full-lists to disable shortening of long lists.

[code: unreachable-glyphs]
⚠️ WARN Validate size, and resolution of article images, and ensure article page has minimum length and includes visual assets.
  • ⚠️ WARN

    Article page lacks visual assets.


    [code: missing-visual-asset]
⚠️ WARN Check for codepoints not covered by METADATA subsets.
  • ⚠️ WARN

    The following codepoints supported by the font are not covered by
    any subsets defined in the font's metadata file, and will never
    be served. You can solve this by either manually adding additional
    subset declarations to METADATA.pb, or by editing the glyphset
    definitions.

  • U+02C7 CARON: try adding one of: yi, tifinagh, canadian-aboriginal
  • U+02C9 MODIFIER LETTER MACRON: not included in any glyphset definition
  • U+02CA MODIFIER LETTER ACUTE ACCENT: not included in any glyphset definition
  • U+02CB MODIFIER LETTER GRAVE ACCENT: not included in any glyphset definition
  • U+02D9 DOT ABOVE: try adding one of: yi, canadian-aboriginal
  • U+02EA MODIFIER LETTER YIN DEPARTING TONE MARK: not included in any glyphset definition
  • U+02EB MODIFIER LETTER YANG DEPARTING TONE MARK: not included in any glyphset definition
  • U+0307 COMBINING DOT ABOVE: try adding one of: syriac, old-permic, tifinagh, malayalam, math, coptic, canadian-aboriginal, tai-le
  • U+030C COMBINING CARON: try adding one of: cherokee, tai-le
  • U+0391 GREEK CAPITAL LETTER ALPHA: try adding one of: greek, elbasan, math 12802 more.

Use -F or --full-lists to disable shortening of long lists.

Or you can add the above codepoints to one of the subsets supported by the font: chinese-hongkong, cyrillic, latin, latin-ext, menu, vietnamese

[code: unreachable-subsetting]
⚠️ WARN Check the direction of the outermost contour in each glyph
  • ⚠️ WARN

    The following glyphs have a counter-clockwise outer contour:

* glyph18174 has a counter-clockwise outer contour

* glyph18176 has a counter-clockwise outer contour

* glyph20530 has a counter-clockwise outer contour

* glyph20602 has a counter-clockwise outer contour

* glyph20901 has a counter-clockwise outer contour

* glyph20902 has a counter-clockwise outer contour

* glyph20902 has a counter-clockwise outer contour

* quotedblleft (U+201C) has a counter-clockwise outer contour

* quotedblleft (U+201C) has a counter-clockwise outer contour

* quotedblright (U+201D) has a counter-clockwise outer contour

* 42 more.

Use -F or --full-lists to disable shortening of long lists.

[code: ccw-outer-contour]
⚠️ WARN Is there kerning info for non-ligated sequences?
  • ⚠️ WARN

    GPOS table lacks kerning info for the following non-ligated sequences:

- f + f

- f + i

- f + l

[code: lacks-kern-info]

⚠️ WARN Are there caret positions declared for every ligature?
  • ⚠️ WARN

    This font lacks caret position values for ligature glyphs on its GDEF table.


    [code: lacks-caret-pos]
⚠️ WARN Ensure fonts have ScriptLangTags declared on the 'meta' table.
  • ⚠️ WARN

    This font file does not have a 'meta' table.


    [code: lacks-meta-table]
ℹ️ INFO List all superfamily filepaths
  • ℹ️ INFO

    ofl/notoserifhk


    [code: family-path]
ℹ️ INFO Font contains all required tables?
  • ℹ️ INFO

    This font contains the following optional tables:

- loca

- prep

- BASE

- GPOS

- GSUB

- gasp

- vhea

- vmtx

[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 EPAR table present in font?
ℹ️ 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 Show hinting filesize impact.
  • ℹ️ INFO

    Hinting filesize impact:

ofl/notoserifhk/NotoSerifHK[wght].ttf
Dehinted Size 16.0Mb
Hinted Size 16.0Mb
Increase 24 bytes
Change 0.0 %
[code: size-impact]
ℹ️ 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 2.003-H1;hotconv 1.1.1;makeotfexe 2.6.0']


    [code: version-not-detected]
[1] Family checks
ℹ️ INFO Check axis ordering on the STAT table.
  • ℹ️ INFO

    None of the fonts lack a STAT table.

And these are the most common STAT axis orderings:
('wght', 1)

[code: summary]

Summary

💥 ERROR ☠ FATAL 🔥 FAIL ⚠️ WARN ⏩ SKIP ℹ️ INFO ✅ PASS 🔎 DEBUG
0 0 8 12 51 8 172 0
0% 0% 3% 5% 20% 3% 69% 0%

Note: The following loglevels were omitted in this report:

  • SKIP
  • PASS
  • DEBUG

@simoncozens
Copy link
Collaborator Author

(Best tested with Diffenator3)

@simoncozens simoncozens linked an issue Aug 20, 2024 that may be closed by this pull request
@vv-monsalve
Copy link
Collaborator

LGTM.

@vv-monsalve vv-monsalve merged commit f8be24f into main Aug 20, 2024
7 checks passed
@vv-monsalve vv-monsalve deleted the gftools_packager_ofl_notoserifhk branch August 20, 2024 21:05
@vv-monsalve vv-monsalve changed the title Noto Serif HK: Version 2.003-H1;hotconv 1.1.1;makeotfexe 2.6.0 added Noto Serif HK: Version 2.003-H1;hotconv 1.1.1;makeotfexe 2.6.0 added Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Live
Development

Successfully merging this pull request may close these issues.

Update Noto Serif CJK to v2.003
2 participants