fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
546 stars 99 forks source link

Getting v0.8.0 instead of v0.8.2 when installing FB from scratch #3456

Closed vv-monsalve closed 2 years ago

vv-monsalve commented 3 years ago

Observed behaviour

When installing Fontbakery in a new venv from scratch I'm only getting the Fontbakery version: 0.8.0 instead of the new updated 0.8.2.

In a call with @felipesanches he said this could be due to some required dependencies for the latest versions are not installed or updated locally. However, this is not being reported so that the user could know what is missing or needs to be updated.

Expected behaviour

Getting the latest version of Fontbakery when installing from scratch. Perhaps the FB installation could take care of installing/updating the needed dependencies? When running pip install --upgrade fontbakery and restarting the terminal the latest version gets installed indeed.

Otherwise, to receive a warning message including why the latest version hasn't been installed.

Resources and exact process needed to replicate

Attaching here the output terminal text of one case. Fb-Installation.txt

felipesanches commented 2 years ago

Perhaps the FB installation could take care of installing/updating the needed dependencies?

Actually, that's something pip is designed to do.

felipesanches commented 2 years ago

@vv-monsalve could you please type which fontbakery and let me know what it says?

felipesanches commented 2 years ago

@vv-monsalve, now that v0.8.3 was released, do you still have this kind of problem?

vv-monsalve commented 2 years ago

@felipesanches I've just created a new venv, installed FB from a requirements.txt file (listed on it as fontbakery>=0.8) and got: vv_monsalve@192 licorice % fontbakery --version 0.8.2

vv-monsalve commented 2 years ago

And it is not triggering the Fail about it

Fontbakery report

Fontbakery version: 0.8.2

[26] Licorice.ttf
πŸ”₯ FAIL: Checking file is named canonically. * [com.google.fonts/check/canonical_filename](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/canonical_filename)
--- Rationale ---
A font's filename must be composed in the following manner:
<familyname>-<stylename>.ttf
- Nunito-Regular.ttf,
- Oswald-BoldItalic.ttf
Variable fonts must list the axis tags in alphabetical order in square brackets
and separated by commas:
- Roboto[wdth,wght].ttf
- Familyname-Italic[wght].ttf
* πŸ”₯ **FAIL** Style name used in "Licorice.ttf" is not canonical. You should rebuild the font using any of the following style names: "Thin", "ExtraLight", "Light", "Regular", "Medium", "SemiBold", "Bold", "ExtraBold", "Black", "Thin Italic", "ExtraLight Italic", "Light Italic", "Italic", "Medium Italic", "SemiBold Italic", "Bold Italic", "ExtraBold Italic", "Black Italic". [code: bad-static-filename]
πŸ”₯ FAIL: Checking OS/2 fsType does not impose restrictions. * [com.google.fonts/check/fstype](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/fstype)
--- Rationale ---
The fsType in the OS/2 table is a legacy DRM-related field. Fonts in the Google
Fonts collection must have it set to zero (also known as "Installable
Embedding"). This setting indicates that the fonts can be embedded in documents
and permanently installed by applications on remote systems.
More detailed info is available at:
https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype
* πŸ”₯ **FAIL** In this font fsType is set to 4 meaning that: The font may be embedded, and temporarily loaded on the remote system, but documents that use it must not be editable. No such DRM restrictions can be enabled on the Google Fonts collection, so the fsType field must be set to zero (Installable Embedding) instead. [code: drm]
πŸ”₯ FAIL: Check `Google Fonts Latin Core` glyph coverage. * [com.google.fonts/check/glyph_coverage](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/glyph_coverage)
--- Rationale ---
Google Fonts expects that fonts in its collection support at least the minimal
set of characters defined in the `GF-latin-core` glyph-set.
* πŸ”₯ **FAIL** Missing required codepoints: 0x00AD (SOFT HYPHEN) [code: missing-codepoints]
πŸ”₯ FAIL: Substitute copyright, registered and trademark symbols in name table entries. * [com.google.fonts/check/name/unwanted_chars](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/unwanted_chars) * πŸ”₯ **FAIL** NAMEID #0 contains symbols that should be replaced by '(c)'. [code: unwanted-chars] * πŸ”₯ **FAIL** NAMEID #0 contains symbols that should be replaced by '(c)'. [code: unwanted-chars]
πŸ”₯ FAIL: Check license file has good copyright string. * [com.google.fonts/check/license/OFL_copyright](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/license/OFL_copyright)
--- Rationale ---
An OFL.txt file's first line should be the font copyright e.g:
"Copyright 2019 The Montserrat Project Authors
(https://github.com/julietaula/montserrat)"
* πŸ”₯ **FAIL** First line in license file does not match expected format: "copyright 20** the my font project authors (https://github.com/googlefonts/my-font-repository)"
πŸ”₯ FAIL: Check copyright namerecords match license file. * [com.google.fonts/check/name/license](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/license)
--- Rationale ---
A known licensing description must be provided in the NameID 14 (LICENSE
DESCRIPTION) entries of the name table.
The source of truth for this check (to determine which license is in use) is a
file placed side-by-side to your font project including the licensing terms.
Depending on the chosen license, one of the following string snippets is
expected to be found on the NameID 13 (LICENSE DESCRIPTION) entries of the name
table:
- "This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is available with a FAQ at: https://scripts.sil.org/OFL"
- "Licensed under the Apache License, Version 2.0"
- "Licensed under the Ubuntu Font Licence 1.0."
Currently accepted licenses are Apache or Open Font License.
For a small set of legacy families the Ubuntu Font License may be acceptable as
well.
When in doubt, please choose OFL for new font projects.
* πŸ”₯ **FAIL** License file OFL.txt exists but NameID 13 (LICENSE DESCRIPTION) value on platform 1 (MACINTOSH) is not specified for that. Value was: "End User's License Agreement Notice to user: By installing this font on your computer, you accept all the terms and conditions of this agreement. If you do not agree with the terms and conditions of this Agreement, destroy the original copies of the Font Software, and cease all use of the Font Software. This agreement pertains to software program formats which include one or more of the following: A) "Outline Fonts" (PostScriptTM file for Macintosh) B) "Bitmap Fonts" (related documentation and data which works in combination with the PostScriptTM file) C) "TrueType Fonts" (Suitcase file, or TTF WindowsTM file) D) "OpenType Fonts" (for use on Windows, Macintosh or Linux Operating Systems) This software contains metric information, digitally encoded machine readable Typeface programs. Listed items A through D underlined above are mutually referred to as "the Font Software." In return for acquiring a license to use the Font Software and documentation, you agree to the following terms and conditions: 1. USAGE. You agree that you will use the the Font Software to reproduce and display typefaces solely for the customary purposes of printing on devices located at a specific and singular local premise. The maximum number of simultaneous users is specified in the applicable receipt. 2. Proprietary Rights and obligations. The structure and organization of the Font Software are the valuable and exclusive property of Robert E. Leuschke and his suppliers and distributors. You will not make nor have made, nor permit to be made, any copies of the Font Software or any portions thereof, except one (1) copy solely for backup purposes or such copies as are necessary for the installation of the Font Software in accordance with the terms of this Agreement. Any copies of the Font Software shall contain the same proprietary notices which are contained in or on the Font Software. You agree not to modify, adapt, translate, manipulate, change, reverse engineer, decompile, disassemble, or create derivative works based upon the design of the Font Software. Trademarks shall be used in accordance with accepted trademark practice, including identification of trademark owners name. a) You may embed copies of the font software into your electronic documents for the purpose of printing and viewing the document. No other embedding rights are implied or permitted under this license. b) Access to the Font Software by third parties via access through internet connection is prohibited, unless a separate written agreement has been negotiated. 3. Assignment. You may not assign your rights under this agreement to a third party. Should you prefer to terminate this Agreement, all copies of the Font Software must be transferred or returned to Robert E. Leuschke, or destroyed. Except as set forth by the above, you may not assign your rights under this Agreement or rent, lease, loan, distribute or otherwise transfer the Font Software. You agree that the Font Software is for use exclusively in accordance with the sovereign laws of the United States of America and will not be shipped, transferred, or exported into any country or used in any manner prohibited by the laws of the United States of America and by the United States Export Administration Act. 4. No Other Rights. Robert E. Leuschke and his suppliers and distributors retain title and ownership of the Font Software, the media upon which it is recorded, and all subsequent copies of the Font Software, regardless of the form or media in or upon which the original and other copies may exist. Except as stated above, this Agreement does not grant you any rights to intellectual property rights in the Font Software. The use of any trademark as herein authorized does not give you any right of ownership in that trademark. 5. Term. This license is effective until terminated. Robert E. Leuschke has the right to terminate your license immediately if you fail to comply with any term of this Agreement. Upon any such termination, you will destroy the original copies of the Font Software, and related documentation and cease all use of the Font Software and trademarks. 6. Limited Warranty. (a) This Limited Warranty and any implied warranties are effective for a period of ninety (90) days from the date of delivery ("Limited Warranty Period") of the Font Software. Evidence of such Limited Warranty Period shall be determined by a copy of your receipt which shall accompany the Font Software. The Font Software shall be free from deliberate errors under normal use and service for a period of ninety (90) days after delivery to you. For the purposes of this agreement, an "error" shall be any flaw in the Font Format which causes improper reproduction when used properly on a computer device. You must do one of the following: Report all errors and return the Font Software to Robert E. Leuschke, or report all errors and destroy any and all of your copies of the Font Software. (b) If the software fails to comply with this warranty, Robert E. Leuschke at his option and discretion, will replace the Font Software media not meeting the warranty. No refunds shall be given for the Font Software. If failure of the Font Software media has resulted from accident, abuse, or misapplication of the product, then Robert E. Leuschke shall not be responsible for the replacement of the Font Software media under this Limited Warranty. (c) Robert E. Leuschke does not and cannot warranty the performance or results you may obtain by using the Font Software or its documentation. The foregoing states the sole and exclusive remedies for Robert E. Leuschke's breach of Warranty. Except for the foregoing Limited Warranty, Robert E. Leuschke makes no Warranties expressed or implied as to non-infringement of third party rights, or fitness for a particular purpose. (d) Some jurisdictions do not allow the exclusion of implied warranties or limitations on how long an implied warranty may last, so the above limitations may not apply to you. This warranty gives you specific legal rights concerning the Font Software and its usage. You may have other rights which vary from state to state and country to country. For further warranty information in regard to your local jurisdiction, contact legal representation in your area. 7. Limit of liability. (a) You further agree that any such legal liabilities incurred by any parties resulting from a default of this Agreement shall be the sole responsibility of your company. (b) In no way will Robert E. Leuschke be liable to you for any consequential or incidental damages, including any lost profits or lost savings, or for any claim by any party. (c) Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you. 8. Governing Laws. This Agreement will be governed by the laws in force in the State of Missouri, in the United States of America, excluding the application of its conflicts of law rules. This Agreement will not be governed by the United Nations Convention on Contracts for the International Sale of Goods, the application of which is expressly excluded. 9. Entire Agreement. You acknowledge that you have read this agreement, understand it and that it is the complete and exclusive statement of your agreement with Robert E. Leuschke; which supersedes any prior agreement, oral or written, and any other communications between Robert E. Leuschke and you1 relating to the subject matter of this agreement; and that your obligations under this agreement shall inure to the benefit of Robert E. Leuschke's licensors whose rights are licensed under this agreement. No variation of the terms of this agreement will be enforceable against Robert E. Leuschke unless Robert E. Leuschke gives his expressed, Written and signed consent. 10. Commitment. Robert E. Leuschke has made deliberate effort to provide within the Font Software the highest quality possible. Continued effort shall be made in good faith to provide such quality. For specific suggestions as to the improvement of the Font Software, please contact Robert E. Leuschke, at: 114 Long and Winding Road St. Peters, MO 63376 or call (636) 447-0040 between the hours of 9:00 a.m. and 5 p.m. Central Time. PostScript and Adobe Type Manager are trademarks of Adobe Systems, Inc. and Macintosh is a trademark of Apple Computers, Inc. registered in the United States of America." Must be changed to "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL" [code: wrong] * πŸ”₯ **FAIL** License file OFL.txt exists but NameID 13 (LICENSE DESCRIPTION) value on platform 3 (WINDOWS) is not specified for that. Value was: "End User's License Agreement Notice to user: By installing this font on your computer, you accept all the terms and conditions of this agreement. If you do not agree with the terms and conditions of this Agreement, destroy the original copies of the Font Software, and cease all use of the Font Software. This agreement pertains to software program formats which include one or more of the following: A) "Outline Fonts" (PostScriptTM file for Macintosh) B) "Bitmap Fonts" (related documentation and data which works in combination with the PostScriptTM file) C) "TrueType Fonts" (Suitcase file, or TTF WindowsTM file) D) "OpenType Fonts" (for use on Windows, Macintosh or Linux Operating Systems) This software contains metric information, digitally encoded machine readable Typeface programs. Listed items A through D underlined above are mutually referred to as "the Font Software." In return for acquiring a license to use the Font Software and documentation, you agree to the following terms and conditions: 1. USAGE. You agree that you will use the the Font Software to reproduce and display typefaces solely for the customary purposes of printing on devices located at a specific and singular local premise. The maximum number of simultaneous users is specified in the applicable receipt. 2. Proprietary Rights and obligations. The structure and organization of the Font Software are the valuable and exclusive property of Robert E. Leuschke and his suppliers and distributors. You will not make nor have made, nor permit to be made, any copies of the Font Software or any portions thereof, except one (1) copy solely for backup purposes or such copies as are necessary for the installation of the Font Software in accordance with the terms of this Agreement. Any copies of the Font Software shall contain the same proprietary notices which are contained in or on the Font Software. You agree not to modify, adapt, translate, manipulate, change, reverse engineer, decompile, disassemble, or create derivative works based upon the design of the Font Software. Trademarks shall be used in accordance with accepted trademark practice, including identification of trademark owners name. a) You may embed copies of the font software into your electronic documents for the purpose of printing and viewing the document. No other embedding rights are implied or permitted under this license. b) Access to the Font Software by third parties via access through internet connection is prohibited, unless a separate written agreement has been negotiated. 3. Assignment. You may not assign your rights under this agreement to a third party. Should you prefer to terminate this Agreement, all copies of the Font Software must be transferred or returned to Robert E. Leuschke, or destroyed. Except as set forth by the above, you may not assign your rights under this Agreement or rent, lease, loan, distribute or otherwise transfer the Font Software. You agree that the Font Software is for use exclusively in accordance with the sovereign laws of the United States of America and will not be shipped, transferred, or exported into any country or used in any manner prohibited by the laws of the United States of America and by the United States Export Administration Act. 4. No Other Rights. Robert E. Leuschke and his suppliers and distributors retain title and ownership of the Font Software, the media upon which it is recorded, and all subsequent copies of the Font Software, regardless of the form or media in or upon which the original and other copies may exist. Except as stated above, this Agreement does not grant you any rights to intellectual property rights in the Font Software. The use of any trademark as herein authorized does not give you any right of ownership in that trademark. 5. Term. This license is effective until terminated. Robert E. Leuschke has the right to terminate your license immediately if you fail to comply with any term of this Agreement. Upon any such termination, you will destroy the original copies of the Font Software, and related documentation and cease all use of the Font Software and trademarks. 6. Limited Warranty. (a) This Limited Warranty and any implied warranties are effective for a period of ninety (90) days from the date of delivery ("Limited Warranty Period") of the Font Software. Evidence of such Limited Warranty Period shall be determined by a copy of your receipt which shall accompany the Font Software. The Font Software shall be free from deliberate errors under normal use and service for a period of ninety (90) days after delivery to you. For the purposes of this agreement, an "error" shall be any flaw in the Font Format which causes improper reproduction when used properly on a computer device. You must do one of the following: Report all errors and return the Font Software to Robert E. Leuschke, or report all errors and destroy any and all of your copies of the Font Software. (b) If the software fails to comply with this warranty, Robert E. Leuschke at his option and discretion, will replace the Font Software media not meeting the warranty. No refunds shall be given for the Font Software. If failure of the Font Software media has resulted from accident, abuse, or misapplication of the product, then Robert E. Leuschke shall not be responsible for the replacement of the Font Software media under this Limited Warranty. (c) Robert E. Leuschke does not and cannot warranty the performance or results you may obtain by using the Font Software or its documentation. The foregoing states the sole and exclusive remedies for Robert E. Leuschke's breach of Warranty. Except for the foregoing Limited Warranty, Robert E. Leuschke makes no Warranties expressed or implied as to non-infringement of third party rights, or fitness for a particular purpose. (d) Some jurisdictions do not allow the exclusion of implied warranties or limitations on how long an implied warranty may last, so the above limitations may not apply to you. This warranty gives you specific legal rights concerning the Font Software and its usage. You may have other rights which vary from state to state and country to country. For further warranty information in regard to your local jurisdiction, contact legal representation in your area. 7. Limit of liability. (a) You further agree that any such legal liabilities incurred by any parties resulting from a default of this Agreement shall be the sole responsibility of your company. (b) In no way will Robert E. Leuschke be liable to you for any consequential or incidental damages, including any lost profits or lost savings, or for any claim by any party. (c) Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so the above limitation or exclusion may not apply to you. 8. Governing Laws. This Agreement will be governed by the laws in force in the State of Missouri, in the United States of America, excluding the application of its conflicts of law rules. This Agreement will not be governed by the United Nations Convention on Contracts for the International Sale of Goods, the application of which is expressly excluded. 9. Entire Agreement. You acknowledge that you have read this agreement, understand it and that it is the complete and exclusive statement of your agreement with Robert E. Leuschke; which supersedes any prior agreement, oral or written, and any other communications between Robert E. Leuschke and you1 relating to the subject matter of this agreement; and that your obligations under this agreement shall inure to the benefit of Robert E. Leuschke's licensors whose rights are licensed under this agreement. No variation of the terms of this agreement will be enforceable against Robert E. Leuschke unless Robert E. Leuschke gives his expressed, Written and signed consent. 10. Commitment. Robert E. Leuschke has made deliberate effort to provide within the Font Software the highest quality possible. Continued effort shall be made in good faith to provide such quality. For specific suggestions as to the improvement of the Font Software, please contact Robert E. Leuschke, at: 114 Long and Winding Road St. Peters, MO 63376 or call (636) 447-0040 between the hours of 9:00 a.m. and 5 p.m. Central Time. PostScript and Adobe Type Manager are trademarks of Adobe Systems, Inc. and Macintosh is a trademark of Apple Computers, Inc. registered in the United States of America." Must be changed to "This Font Software is licensed under the SIL Open Font License, Version 1.1. This license is available with a FAQ at: https://scripts.sil.org/OFL" [code: wrong]
πŸ”₯ FAIL: Is the Grid-fitting and Scan-conversion Procedure ('gasp') table set to optimize rendering? * [com.google.fonts/check/gasp](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/gasp)
--- Rationale ---
Traditionally version 0 'gasp' tables were set so that font sizes below 8 ppem
had no grid fitting but did have antialiasing. From 9-16 ppem, just grid
fitting. And fonts above 17ppem had both antialiasing and grid fitting toggled
on. The use of accelerated graphics cards and higher resolution screens make
this approach obsolete. Microsoft's DirectWrite pushed this even further with
much improved rendering built into the OS and apps.
In this scenario it makes sense to simply toggle all 4 flags ON for all font
sizes.
* πŸ”₯ **FAIL** Font is missing the 'gasp' table. Try exporting the font with autohinting enabled. If you are dealing with an unhinted font, it can be fixed by running the fonts through the command 'gftools fix-nonhinting' GFTools is available at https://pypi.org/project/gftools/ [code: lacks-gasp]
πŸ”₯ FAIL: Are there non-ASCII characters in ASCII-only NAME table entries? * [com.google.fonts/check/name/ascii_only_entries](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/ascii_only_entries)
--- Rationale ---
The OpenType spec requires ASCII for the POSTSCRIPT_NAME (nameID 6).
For COPYRIGHT_NOTICE (nameID 0) ASCII is required because that string should be
the same in CFF fonts which also have this requirement in the OpenType spec.
Note:
A common place where we find non-ASCII strings is on name table entries with
NameID > 18, which are expressly for localising the ASCII-only IDs into Hindi /
Arabic / etc.
* πŸ”₯ **FAIL** Bad string at [nameID 0, 'mac_roman']: 'b'©2012-2021 by Robert E. Leuschke'' [code: bad-string] * πŸ”₯ **FAIL** Bad string at [nameID 0, 'utf_16_be']: 'b'©2012-2021 by Robert E. Leuschke'' [code: bad-string] * πŸ”₯ **FAIL** There are 2 strings containing non-ASCII characters in the ASCII-only NAME table entries. [code: non-ascii-strings]
πŸ”₯ FAIL: Copyright notices match canonical pattern in fonts * [com.google.fonts/check/font_copyright](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/font_copyright) * πŸ”₯ **FAIL** Name Table entry: Copyright notices should match a pattern similar to: "Copyright 2019 The Familyname Project Authors (git url)" But instead we have got: "Β©2012-2021 by Robert E. Leuschke" [code: bad-notice-format] * πŸ”₯ **FAIL** Name Table entry: Copyright notices should match a pattern similar to: "Copyright 2019 The Familyname Project Authors (git url)" But instead we have got: "Β©2012-2021 by Robert E. Leuschke" [code: bad-notice-format]
πŸ”₯ FAIL: Check glyphs do not have components which are themselves components. * [com.google.fonts/check/glyf_nested_components](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/glyf_nested_components)
--- Rationale ---
There have been bugs rendering variable fonts with nested components.
Additionally, some static fonts with nested components have been reported to
have rendering and printing issues.
For more info, see:
* https://github.com/googlefonts/fontbakery/issues/2961
* https://github.com/arrowtype/recursive/issues/412
* πŸ”₯ **FAIL** The following glyphs have components which themselves are component glyphs: * uni1EAE * uni1EB0 * uni1EB2 * uni1EB4 * uni1EA6 * uni1EA8 * uni1EAA * uni01C4 * uni01C5 * uni1EC0 and 20 more. [code: found-nested-components]
πŸ”₯ FAIL: Font enables smart dropout control in "prep" table instructions? * [com.google.fonts/check/smart_dropout](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/smart_dropout)
--- Rationale ---
This setup is meant to ensure consistent rendering quality for fonts across all
devices (with different rendering/hinting capabilities).
Below is the snippet of instructions we expect to see in the fonts:
B8 01 FF    PUSHW 0x01FF
85          SCANCTRL (unconditinally turn on
                      dropout control mode)
B0 04       PUSHB 0x04
8D          SCANTYPE (enable smart dropout control)
"Smart dropout control" means activating rules 1, 2 and 5:
Rule 1: If a pixel's center falls within the glyph outline,
        that pixel is turned on.
Rule 2: If a contour falls exactly on a pixel's center,
        that pixel is turned on.
Rule 5: If a scan line between two adjacent pixel centers
        (either vertical or horizontal) is intersected
        by both an on-Transition contour and an off-Transition
        contour and neither of the pixels was already turned on
        by rules 1 and 2, turn on the pixel which is closer to
        the midpoint between the on-Transition contour and
        off-Transition contour. This is "Smart" dropout control.
For more detailed info (such as other rules not enabled in this snippet), please
refer to the TrueType Instruction Set documentation.
* πŸ”₯ **FAIL** The 'prep' table does not contain TrueType instructions enabling smart dropout control. To fix, export the font with autohinting enabled, or run ttfautohint on the font, or run the `gftools fix-nonhinting` script. [code: lacks-smart-dropout]
πŸ”₯ FAIL: Name table entries should not contain line-breaks. * [com.google.fonts/check/name/line_breaks](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/line_breaks)
--- Rationale ---
There are some entries on the name table that may include more than one line of
text. The Google Fonts team, though, prefers to keep the name table entries
short and simple without line breaks.
For instance, some designers like to include the full text of a font license in
the "copyright notice" entry, but for the GFonts collection this entry should
only mention year, author and other basic info in a manner enforced by
com.google.fonts/check/font_copyright
* πŸ”₯ **FAIL** Name entry LICENSE_DESCRIPTION on platform MACINTOSH contains a line-break. [code: line-break] * πŸ”₯ **FAIL** Name entry LICENSE_DESCRIPTION on platform WINDOWS contains a line-break. [code: line-break]
πŸ”₯ FAIL: OS/2.fsSelection bit 7 (USE_TYPO_METRICS) is set in all fonts. * [com.google.fonts/check/os2/use_typo_metrics](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/os2/use_typo_metrics)
--- Rationale ---
All fonts on the Google Fonts collection should have OS/2.fsSelection bit 7
(USE_TYPO_METRICS) set. This requirement is part of the vertical metrics scheme
established as a Google Fonts policy aiming at a common ground supported by all
major font rendering environments.
For more details, read:
https://github.com/googlefonts/gf-docs/blob/main/VerticalMetrics/README.md
Below is the portion of that document that is most relevant to this check:
Use_Typo_Metrics must be enabled. This will force MS Applications to use the
OS/2 Typo values instead of the Win values. By doing this, we can freely set the
Win values to avoid clipping and control the line height with the typo values.
It has the added benefit of future line height compatibility. When a new script
is added, we simply change the Win values to the new yMin and yMax, without
needing to worry if the line height have changed.
* πŸ”₯ **FAIL** OS/2.fsSelection bit 7 (USE_TYPO_METRICS) wasNOT set in the following fonts: ['Licorice.ttf']. [code: missing-os2-fsselection-bit7]
πŸ”₯ FAIL: Checking OS/2 usWinAscent & usWinDescent. * [com.google.fonts/check/family/win_ascent_and_descent](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/family/win_ascent_and_descent)
--- Rationale ---
A font's winAscent and winDescent values should be greater than the head table's
yMax, abs(yMin) values. If they are less than these values, clipping can occur
on Windows platforms (https://github.com/RedHatBrand/Overpass/issues/33).
If the font includes tall/deep writing systems such as Arabic or Devanagari, the
winAscent and winDescent can be greater than the yMax and abs(yMin) to
accommodate vowel marks.
When the win Metrics are significantly greater than the upm, the linespacing can
appear too loose. To counteract this, enabling the OS/2 fsSelection bit 7
(Use_Typo_Metrics), will force Windows to use the OS/2 typo values instead. This
means the font developer can control the linespacing with the typo values,
whilst avoiding clipping by setting the win values to values greater than the
yMax and abs(yMin).
* πŸ”₯ **FAIL** OS/2.usWinAscent value should be equal or greater than 1008, but got 911 instead [code: ascent]
πŸ”₯ FAIL: Description strings in the name table must not contain copyright info. * [com.google.fonts/check/name/no_copyright_on_description](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.google.fonts/check/name/no_copyright_on_description) * πŸ”₯ **FAIL** Some namerecords with ID=10 (NameID.DESCRIPTION) containing copyright info should be removed (perhaps these were added by a longstanding FontLab Studio 5.x bug that copied copyright notices to them.) [code: copyright-on-description]
πŸ”₯ FAIL: Space and non-breaking space have the same width? * [com.google.fonts/check/whitespace_widths](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/hmtx.html#com.google.fonts/check/whitespace_widths) * πŸ”₯ **FAIL** Space and non-breaking space have differing width: The space glyph named space is 241 font units wide, non-breaking space named (uni00A0) is 50 font units wide, and both should be positive and the same. GlyphsApp has "Sidebearing arithmetic" (https://glyphsapp.com/tutorials/spacing) which allows you to set the non-breaking space width to always equal the space width. [code: different-widths]
⚠ WARN: Checking OS/2 achVendID. * [com.google.fonts/check/vendor_id](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/vendor_id)
--- Rationale ---
Microsoft keeps a list of font vendors and their respective contact info. This
list is updated regularly and is indexed by a 4-char "Vendor ID" which is stored
in the achVendID field of the OS/2 table.
Registering your ID is not mandatory, but it is a good practice since some
applications may display the type designer / type foundry contact info on some
dialog and also because that info will be visible on Microsoft's website:
https://docs.microsoft.com/en-us/typography/vendors/
This check verifies whether or not a given font's vendor ID is registered in
that list or if it has some of the default values used by the most common font
editors.
Each new FontBakery release includes a cached copy of that list of vendor IDs.
If you registered recently, you're safe to ignore warnings emitted by this
check, since your ID will soon be included in one of our upcoming releases.
* ⚠ **WARN** OS/2 VendorID is 'UKWN', a font editor default. If you registered it recently, then it's safe to ignore this warning message. Otherwise, you should set it to your own unique 4 character code, and register it with Microsoft at https://www.microsoft.com/typography/links/vendorlist.aspx [code: bad]
⚠ WARN: Check if each glyph has the recommended amount of contours. * [com.google.fonts/check/contour_count](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/contour_count)
--- Rationale ---
Visually QAing thousands of glyphs by hand is tiring. Most glyphs can only be
constructured in a handful of ways. This means a glyph's contour count will only
differ slightly amongst different fonts, e.g a 'g' could either be 2 or 3
contours, depending on whether its double story or single story.
However, a quotedbl should have 2 contours, unless the font belongs to a display
family.
This check currently does not cover variable fonts because there's plenty of
alternative ways of constructing glyphs with multiple outlines for each feature
in a VarFont. The expected contour count data for this check is currently
optimized for the typical construction of glyphs in static fonts.
* ⚠ **WARN** This check inspects the glyph outlines and detects the total number of contours in each of them. The expected values are infered from the typical ammounts of contours observed in a large collection of reference font families. The divergences listed below may simply indicate a significantly different design on some of your glyphs. On the other hand, some of these may flag actual bugs in the font such as glyphs mapped to an incorrect codepoint. Please consider reviewing the design and codepoint assignment of these to make sure they are correct. The following glyphs do not have the recommended number of contours: Glyph name: percent Contours detected: 2 Expected: 5 Glyph name: ampersand Contours detected: 4 Expected: 1, 2 or 3 Glyph name: eight Contours detected: 2 Expected: 3 Glyph name: A Contours detected: 1 Expected: 2 Glyph name: F Contours detected: 2 Expected: 1 Glyph name: G Contours detected: 2 Expected: 1 Glyph name: J Contours detected: 2 Expected: 1 Glyph name: L Contours detected: 2 Expected: 1 Glyph name: M Contours detected: 2 Expected: 1 Glyph name: T Contours detected: 2 Expected: 1 Glyph name: Y Contours detected: 2 Expected: 1 Glyph name: Z Contours detected: 2 Expected: 1 Glyph name: d Contours detected: 1 Expected: 2 Glyph name: f Contours detected: 3 Expected: 1 Glyph name: j Contours detected: 3 Expected: 2 Glyph name: l Contours detected: 2 Expected: 1 Glyph name: o Contours detected: 3 Expected: 2 Glyph name: q Contours detected: 1 Expected: 2 Glyph name: s Contours detected: 2 Expected: 1 Glyph name: Agrave Contours detected: 2 Expected: 3 Glyph name: Aacute Contours detected: 2 Expected: 3 Glyph name: Acircumflex Contours detected: 2 Expected: 3 Glyph name: Atilde Contours detected: 2 Expected: 3 Glyph name: Adieresis Contours detected: 3 Expected: 4 Glyph name: AE Contours detected: 1 Expected: 2 Glyph name: Oslash Contours detected: 4 Expected: 2 or 3 Glyph name: Yacute Contours detected: 3 Expected: 2 Glyph name: germandbls Contours detected: 2 Expected: 1 Glyph name: ograve Contours detected: 4 Expected: 3 Glyph name: oacute Contours detected: 4 Expected: 3 Glyph name: ocircumflex Contours detected: 4 Expected: 3 Glyph name: otilde Contours detected: 4 Expected: 3 Glyph name: odieresis Contours detected: 5 Expected: 4 Glyph name: oslash Contours detected: 5 Expected: 3 Glyph name: Amacron Contours detected: 2 Expected: 3 Glyph name: Abreve Contours detected: 2 Expected: 3 Glyph name: Aogonek Contours detected: 1 Expected: 2 or 3 Glyph name: dcaron Contours detected: 2 Expected: 3 Glyph name: dcroat Contours detected: 1 Expected: 2 Glyph name: eogonek Contours detected: 3 Expected: 2 Glyph name: Gcircumflex Contours detected: 3 Expected: 2 Glyph name: Gbreve Contours detected: 3 Expected: 2 Glyph name: Gdotaccent Contours detected: 3 Expected: 2 Glyph name: uni0122 Contours detected: 3 Expected: 2 Glyph name: Jcircumflex Contours detected: 3 Expected: 2 Glyph name: jcircumflex Contours detected: 3 Expected: 2 Glyph name: kgreenlandic Contours detected: 0 Expected: 1 or 2 Glyph name: Lacute Contours detected: 3 Expected: 2 Glyph name: lacute Contours detected: 3 Expected: 2 Glyph name: uni013C Contours detected: 3 Expected: 2 Glyph name: Lcaron Contours detected: 3 Expected: 2 Glyph name: lcaron Contours detected: 3 Expected: 2 Glyph name: Lslash Contours detected: 2 Expected: 1 Glyph name: lslash Contours detected: 2 Expected: 1 Glyph name: omacron Contours detected: 4 Expected: 3 Glyph name: obreve Contours detected: 4 Expected: 3 Glyph name: ohungarumlaut Contours detected: 5 Expected: 4 Glyph name: sacute Contours detected: 3 Expected: 2 Glyph name: scircumflex Contours detected: 3 Expected: 2 Glyph name: scaron Contours detected: 3 Expected: 2 Glyph name: uni0162 Contours detected: 3 Expected: 1 or 2 Glyph name: Tcaron Contours detected: 3 Expected: 2 Glyph name: Tbar Contours detected: 3 Expected: 1 Glyph name: Uogonek Contours detected: 2 Expected: 1 Glyph name: uogonek Contours detected: 2 Expected: 1 Glyph name: Ycircumflex Contours detected: 3 Expected: 2 Glyph name: Ydieresis Contours detected: 4 Expected: 3 Glyph name: Zacute Contours detected: 3 Expected: 2 Glyph name: Zdotaccent Contours detected: 3 Expected: 2 Glyph name: Zcaron Contours detected: 3 Expected: 2 Glyph name: ohorn Contours detected: 3 Expected: 2 Glyph name: uni01C4 Contours detected: 5 Expected: 4 Glyph name: uni01C6 Contours detected: 3 Expected: 4 Glyph name: uni01C7 Contours detected: 4 Expected: 2 Glyph name: uni01C8 Contours detected: 4 Expected: 3 Glyph name: uni01C9 Contours detected: 5 Expected: 3 Glyph name: uni01CA Contours detected: 3 Expected: 2 Glyph name: uni01CC Contours detected: 4 Expected: 3 Glyph name: uni01CD Contours detected: 2 Expected: 3 Glyph name: uni01D5 Contours detected: 2 Expected: 4 Glyph name: uni01D9 Contours detected: 2 Expected: 4 Glyph name: uni01DB Contours detected: 3 Expected: 4 Glyph name: Gcaron Contours detected: 3 Expected: 2 Glyph name: uni01EA Contours detected: 3 Expected: 2 Glyph name: uni01EB Contours detected: 4 Expected: 2 Glyph name: AEacute Contours detected: 2 Expected: 3 Glyph name: Oslashacute Contours detected: 5 Expected: 4 Glyph name: oslashacute Contours detected: 6 Expected: 4 Glyph name: uni0200 Contours detected: 3 Expected: 4 Glyph name: uni0202 Contours detected: 2 Expected: 3 Glyph name: uni020D Contours detected: 5 Expected: 4 Glyph name: uni020F Contours detected: 4 Expected: 3 Glyph name: uni0219 Contours detected: 3 Expected: 2 Glyph name: uni021A Contours detected: 3 Expected: 2 Glyph name: uni022A Contours detected: 3 Expected: 5 Glyph name: uni022B Contours detected: 4 Expected: 5 Glyph name: uni022C Contours detected: 3 Expected: 4 Glyph name: uni0230 Contours detected: 3 Expected: 4 Glyph name: uni0232 Contours detected: 3 Expected: 2 Glyph name: uni0237 Contours detected: 2 Expected: 1 Glyph name: uni1EA0 Contours detected: 1 Expected: 3 Glyph name: uni1EA2 Contours detected: 2 Expected: 3 Glyph name: uni1EA4 Contours detected: 2 Expected: 4 Glyph name: uni1EA5 Contours detected: 3 Expected: 4 Glyph name: uni1EA6 Contours detected: 3 Expected: 4 Glyph name: uni1EA8 Contours detected: 3 Expected: 4 Glyph name: uni1EAA Contours detected: 3 Expected: 4 Glyph name: uni1EAC Contours detected: 2 Expected: 4 Glyph name: uni1EAE Contours detected: 3 Expected: 4 Glyph name: uni1EB0 Contours detected: 3 Expected: 4 Glyph name: uni1EB2 Contours detected: 3 Expected: 4 Glyph name: uni1EB4 Contours detected: 3 Expected: 4 Glyph name: uni1EB6 Contours detected: 2 Expected: 4 Glyph name: uni1EBE Contours detected: 2 Expected: 3 Glyph name: uni1EBF Contours detected: 3 Expected: 4 Glyph name: uni1ECD Contours detected: 4 Expected: 3 Glyph name: uni1ECF Contours detected: 4 Expected: 3 Glyph name: uni1ED0 Contours detected: 3 Expected: 4 Glyph name: uni1ED3 Contours detected: 5 Expected: 4 Glyph name: uni1ED5 Contours detected: 5 Expected: 4 Glyph name: uni1ED7 Contours detected: 5 Expected: 4 Glyph name: uni1ED9 Contours detected: 5 Expected: 4 Glyph name: uni1EDB Contours detected: 4 Expected: 3 Glyph name: uni1EDD Contours detected: 4 Expected: 3 Glyph name: uni1EDF Contours detected: 4 Expected: 3 Glyph name: uni1EE1 Contours detected: 4 Expected: 3 Glyph name: uni1EE3 Contours detected: 4 Expected: 3 Glyph name: Ygrave Contours detected: 3 Expected: 2 Glyph name: uni1EF4 Contours detected: 3 Expected: 2 Glyph name: uni1EF5 Contours detected: 1 Expected: 2 Glyph name: uni1EF6 Contours detected: 3 Expected: 2 Glyph name: uni1EF8 Contours detected: 3 Expected: 2 Glyph name: perthousand Contours detected: 3 Expected: 6 or 7 Glyph name: dong Contours detected: 2 Expected: 3 or 4 Glyph name: fi Contours detected: 4 Expected: 1, 2 or 3 Glyph name: fl Contours detected: 4 Expected: 1 or 2 Glyph name: A Contours detected: 1 Expected: 2 Glyph name: AE Contours detected: 1 Expected: 2 Glyph name: AEacute Contours detected: 2 Expected: 3 Glyph name: Aacute Contours detected: 2 Expected: 3 Glyph name: Abreve Contours detected: 2 Expected: 3 Glyph name: Acircumflex Contours detected: 2 Expected: 3 Glyph name: Adieresis Contours detected: 3 Expected: 4 Glyph name: Agrave Contours detected: 2 Expected: 3 Glyph name: Amacron Contours detected: 2 Expected: 3 Glyph name: Aogonek Contours detected: 1 Expected: 2 or 3 Glyph name: Atilde Contours detected: 2 Expected: 3 Glyph name: F Contours detected: 2 Expected: 1 Glyph name: G Contours detected: 2 Expected: 1 Glyph name: Gbreve Contours detected: 3 Expected: 2 Glyph name: Gcaron Contours detected: 3 Expected: 2 Glyph name: Gcircumflex Contours detected: 3 Expected: 2 Glyph name: Gdotaccent Contours detected: 3 Expected: 2 Glyph name: J Contours detected: 2 Expected: 1 Glyph name: Jcircumflex Contours detected: 3 Expected: 2 Glyph name: L Contours detected: 2 Expected: 1 Glyph name: Lacute Contours detected: 3 Expected: 2 Glyph name: Lcaron Contours detected: 3 Expected: 2 Glyph name: Lslash Contours detected: 2 Expected: 1 Glyph name: M Contours detected: 2 Expected: 1 Glyph name: Oslash Contours detected: 4 Expected: 2 or 3 Glyph name: Oslashacute Contours detected: 5 Expected: 4 Glyph name: T Contours detected: 2 Expected: 1 Glyph name: Tbar Contours detected: 3 Expected: 1 Glyph name: Tcaron Contours detected: 3 Expected: 2 Glyph name: Uogonek Contours detected: 2 Expected: 1 Glyph name: Y Contours detected: 2 Expected: 1 Glyph name: Yacute Contours detected: 3 Expected: 2 Glyph name: Ycircumflex Contours detected: 3 Expected: 2 Glyph name: Ydieresis Contours detected: 4 Expected: 3 Glyph name: Ygrave Contours detected: 3 Expected: 2 Glyph name: Z Contours detected: 2 Expected: 1 Glyph name: Zacute Contours detected: 3 Expected: 2 Glyph name: Zcaron Contours detected: 3 Expected: 2 Glyph name: Zdotaccent Contours detected: 3 Expected: 2 Glyph name: ampersand Contours detected: 4 Expected: 1, 2 or 3 Glyph name: d Contours detected: 1 Expected: 2 Glyph name: dcaron Contours detected: 2 Expected: 3 Glyph name: dcroat Contours detected: 1 Expected: 2 Glyph name: dong Contours detected: 2 Expected: 3 or 4 Glyph name: eight Contours detected: 2 Expected: 3 Glyph name: eogonek Contours detected: 3 Expected: 2 Glyph name: f Contours detected: 3 Expected: 1 Glyph name: fi Contours detected: 4 Expected: 3 Glyph name: fl Contours detected: 4 Expected: 2 Glyph name: germandbls Contours detected: 2 Expected: 1 Glyph name: j Contours detected: 3 Expected: 2 Glyph name: jcircumflex Contours detected: 3 Expected: 2 Glyph name: kgreenlandic Contours detected: 0 Expected: 1 or 2 Glyph name: l Contours detected: 2 Expected: 1 Glyph name: lacute Contours detected: 3 Expected: 2 Glyph name: lcaron Contours detected: 3 Expected: 2 Glyph name: lslash Contours detected: 2 Expected: 1 Glyph name: o Contours detected: 3 Expected: 2 Glyph name: oacute Contours detected: 4 Expected: 3 Glyph name: ocircumflex Contours detected: 4 Expected: 3 Glyph name: odieresis Contours detected: 5 Expected: 4 Glyph name: ograve Contours detected: 4 Expected: 3 Glyph name: ohorn Contours detected: 3 Expected: 2 Glyph name: ohungarumlaut Contours detected: 5 Expected: 4 Glyph name: omacron Contours detected: 4 Expected: 3 Glyph name: oslash Contours detected: 5 Expected: 3 Glyph name: oslashacute Contours detected: 6 Expected: 4 Glyph name: otilde Contours detected: 4 Expected: 3 Glyph name: percent Contours detected: 2 Expected: 5 Glyph name: perthousand Contours detected: 3 Expected: 6 or 7 Glyph name: q Contours detected: 1 Expected: 2 Glyph name: s Contours detected: 2 Expected: 1 Glyph name: sacute Contours detected: 3 Expected: 2 Glyph name: scaron Contours detected: 3 Expected: 2 Glyph name: scircumflex Contours detected: 3 Expected: 2 Glyph name: uni0122 Contours detected: 3 Expected: 2 Glyph name: uni013C Contours detected: 3 Expected: 2 Glyph name: uni0162 Contours detected: 3 Expected: 1 or 2 Glyph name: uni01C4 Contours detected: 5 Expected: 4 Glyph name: uni01C6 Contours detected: 3 Expected: 4 Glyph name: uni01C7 Contours detected: 4 Expected: 2 Glyph name: uni01C8 Contours detected: 4 Expected: 3 Glyph name: uni01C9 Contours detected: 5 Expected: 3 Glyph name: uni01CA Contours detected: 3 Expected: 2 Glyph name: uni01CC Contours detected: 4 Expected: 3 Glyph name: uni01CD Contours detected: 2 Expected: 3 Glyph name: uni01D5 Contours detected: 2 Expected: 4 Glyph name: uni01D9 Contours detected: 2 Expected: 4 Glyph name: uni01DB Contours detected: 3 Expected: 4 Glyph name: uni0219 Contours detected: 3 Expected: 2 Glyph name: uni021A Contours detected: 3 Expected: 2 Glyph name: uni022A Contours detected: 3 Expected: 5 Glyph name: uni022B Contours detected: 4 Expected: 5 Glyph name: uni022C Contours detected: 3 Expected: 4 Glyph name: uni0230 Contours detected: 3 Expected: 4 Glyph name: uni0232 Contours detected: 3 Expected: 2 Glyph name: uni0237 Contours detected: 2 Expected: 1 Glyph name: uni1EA0 Contours detected: 1 Expected: 3 Glyph name: uni1EA2 Contours detected: 2 Expected: 3 Glyph name: uni1EA4 Contours detected: 2 Expected: 4 Glyph name: uni1EA5 Contours detected: 3 Expected: 4 Glyph name: uni1EA6 Contours detected: 3 Expected: 4 Glyph name: uni1EA8 Contours detected: 3 Expected: 4 Glyph name: uni1EAA Contours detected: 3 Expected: 4 Glyph name: uni1EAC Contours detected: 2 Expected: 4 Glyph name: uni1EAE Contours detected: 3 Expected: 4 Glyph name: uni1EB0 Contours detected: 3 Expected: 4 Glyph name: uni1EB2 Contours detected: 3 Expected: 4 Glyph name: uni1EB4 Contours detected: 3 Expected: 4 Glyph name: uni1EB6 Contours detected: 2 Expected: 4 Glyph name: uni1EBE Contours detected: 2 Expected: 3 Glyph name: uni1EBF Contours detected: 3 Expected: 4 Glyph name: uni1ECD Contours detected: 4 Expected: 3 Glyph name: uni1ECF Contours detected: 4 Expected: 3 Glyph name: uni1ED0 Contours detected: 3 Expected: 4 Glyph name: uni1ED3 Contours detected: 5 Expected: 4 Glyph name: uni1ED5 Contours detected: 5 Expected: 4 Glyph name: uni1ED7 Contours detected: 5 Expected: 4 Glyph name: uni1ED9 Contours detected: 5 Expected: 4 Glyph name: uni1EDB Contours detected: 4 Expected: 3 Glyph name: uni1EDD Contours detected: 4 Expected: 3 Glyph name: uni1EDF Contours detected: 4 Expected: 3 Glyph name: uni1EE1 Contours detected: 4 Expected: 3 Glyph name: uni1EE3 Contours detected: 4 Expected: 3 Glyph name: uni1EF4 Contours detected: 3 Expected: 2 Glyph name: uni1EF5 Contours detected: 1 Expected: 2 Glyph name: uni1EF6 Contours detected: 3 Expected: 2 Glyph name: uni1EF8 Contours detected: 3 Expected: 2 Glyph name: uogonek Contours detected: 2 Expected: 1 [code: contour-count]
⚠ WARN: Are there caret positions declared for every ligature? * [com.google.fonts/check/ligature_carets](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/ligature_carets)
--- Rationale ---
All ligatures in a font must have corresponding caret (text cursor) positions
defined in the GDEF table, otherwhise, users may experience issues with caret
rendering.
If using GlyphsApp or UFOs, ligature carets can be defined as anchors with names
starting with 'caret_'. These can be compiled with fontmake as of version
v2.4.0.
* ⚠ **WARN** This font lacks caret position values for ligature glyphs on its GDEF table. [code: lacks-caret-pos]
⚠ WARN: Is there kerning info for non-ligated sequences? * [com.google.fonts/check/kerning_for_non_ligated_sequences](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/kerning_for_non_ligated_sequences)
--- Rationale ---
Fonts with ligatures should have kerning on the corresponding non-ligated
sequences for text where ligatures aren't used (eg
https://github.com/impallari/Raleway/issues/14).
* ⚠ **WARN** GPOS table lacks kerning info for the following non-ligated sequences: - f + f - f + i - i + f - f + l - l + f - i + l [code: lacks-kern-info]
⚠ WARN: Ensure fonts have ScriptLangTags declared on the 'meta' table. * [com.google.fonts/check/meta/script_lang_tags](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/meta/script_lang_tags)
--- Rationale ---
The OpenType 'meta' table originated at Apple. Microsoft added it to OT with
just two DataMap records:
- dlng: comma-separated ScriptLangTags that indicate which scripts, or languages
and scripts, with possible variants, the font is designed for
- slng: comma-separated ScriptLangTags that indicate which scripts, or languages
and scripts, with possible variants, the font supports
The slng structure is intended to describe which languages and scripts the font
overall supports. For example, a Traditional Chinese font that also contains
Latin characters, can indicate Hant,Latn, showing that it supports Hant, the
Traditional Chinese variant of the Hani script, and it also supports the Latn
script
The dlng structure is far more interesting. A font may contain various glyphs,
but only a particular subset of the glyphs may be truly "leading" in the design,
while other glyphs may have been included for technical reasons. Such a
Traditional Chinese font could only list Hant there, showing that it’s designed
for Traditional Chinese, but the font would omit Latn, because the developers
don’t think the font is really recommended for purely Latin-script use.
The tags used in the structures can comprise just script, or also language and
script. For example, if a font has Bulgarian Cyrillic alternates in the locl
feature for the cyrl BGR OT languagesystem, it could also indicate in dlng
explicitly that it supports bul-Cyrl. (Note that the scripts and languages in
meta use the ISO language and script codes, not the OpenType ones).
This check ensures that the font has the meta table containing the slng and dlng
structures.
All families in the Google Fonts collection should contain the 'meta' table.
Windows 10 already uses it when deciding on which fonts to fall back to. The
Google Fonts API and also other environments could use the data for smarter
filtering. Most importantly, those entries should be added to the Noto fonts.
In the font making process, some environments store this data in external files
already. But the meta table provides a convenient way to store this inside the
font file, so some tools may add the data, and unrelated tools may read this
data. This makes the solution much more portable and universal.
* ⚠ **WARN** This font file does not have a 'meta' table. [code: lacks-meta-table]
⚠ WARN: Checking Vertical Metric Linegaps. * [com.google.fonts/check/linegaps](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/hhea.html#com.google.fonts/check/linegaps) * ⚠ **WARN** OS/2 sTypoLineGap is not equal to 0. [code: OS/2]
⚠ WARN: Does the font have a DSIG table? * [com.google.fonts/check/dsig](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/dsig.html#com.google.fonts/check/dsig)
--- Rationale ---
Microsoft Office 2013 and below products expect fonts to have a digital
signature declared in a DSIG table in order to implement OpenType features. The
EOL date for Microsoft Office 2013 products is 4/11/2023. This issue does not
impact Microsoft Office 2016 and above products.
As we approach the EOL date, it is now considered better to completely remove
the table.
But if you still want your font to support OpenType features on Office 2013,
then you may find it handy to add a fake signature on a dummy DSIG table by
running one of the helper scripts provided at
https://github.com/googlefonts/gftools
Reference: https://github.com/googlefonts/fontbakery/issues/1845
* ⚠ **WARN** This font has a digital signature (DSIG table) which is only required - even if only a dummy placeholder - on old programs like MS Office 2013 in order to work properly. The current recommendation is to completely remove the DSIG table. [code: found-DSIG]
⚠ WARN: Do any segments have colinear vectors? * [com.google.fonts/check/outline_colinear_vectors](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/.html#com.google.fonts/check/outline_colinear_vectors)
--- Rationale ---
This check looks for consecutive line segments which have the same angle. This
normally happens if an outline point has been added by accident.
This check is not run for variable fonts, as they may legitimately have colinear
vectors.
* ⚠ **WARN** The following glyphs have colinear vectors: * Aringacute (U+01FA): L<<33.0,836.0>--<66.0,870.0>> -> L<<66.0,870.0>--<77.0,880.0>> * M (U+004D): L<<545.0,255.0>--<618.0,446.0>> -> L<<618.0,446.0>--<632.0,483.0>> * M (U+004D): L<<649.0,483.0>--<626.0,418.0>> -> L<<626.0,418.0>--<603.0,349.0>> * ae (U+00E6): L<<291.0,387.0>--<291.0,392.0>> -> L<<291.0,392.0>--<291.0,393.0>> * aeacute (U+01FD): L<<291.0,387.0>--<291.0,392.0>> -> L<<291.0,392.0>--<291.0,393.0>> * aringacute (U+01FB): L<<33.0,836.0>--<66.0,870.0>> -> L<<66.0,870.0>--<77.0,880.0>> * e (U+0065): L<<112.0,387.0>--<112.0,392.0>> -> L<<112.0,392.0>--<112.0,393.0>> * eacute (U+00E9): L<<112.0,387.0>--<112.0,392.0>> -> L<<112.0,392.0>--<112.0,393.0>> * ebreve (U+0115): L<<112.0,387.0>--<112.0,392.0>> -> L<<112.0,392.0>--<112.0,393.0>> * ecaron (U+011B): L<<112.0,387.0>--<112.0,392.0>> -> L<<112.0,392.0>--<112.0,393.0>> and 52 more. [code: found-colinear-vectors]
⚠ WARN: Do outlines contain any jaggy segments? * [com.google.fonts/check/outline_jaggy_segments](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/.html#com.google.fonts/check/outline_jaggy_segments)
--- Rationale ---
This check heuristically detects outline segments which form a particularly
small angle, indicative of an outline error. This may cause false positives in
cases such as extreme ink traps, so should be regarded as advisory and backed up
by manual inspection.
* ⚠ **WARN** The following glyphs have jaggy segments: * N (U+004E): B<<400.0,304.0>-<370.0,219.0>-<364.0,200.0>>/B<<364.0,200.0>-<385.0,250.0>-<462.0,348.5>> = 5.256837356758802 * Nacute (U+0143): B<<400.0,304.0>-<370.0,219.0>-<364.0,200.0>>/B<<364.0,200.0>-<385.0,250.0>-<462.0,348.5>> = 5.256837356758802 * Ncaron (U+0147): B<<400.0,304.0>-<370.0,219.0>-<364.0,200.0>>/B<<364.0,200.0>-<385.0,250.0>-<462.0,348.5>> = 5.256837356758802 * Ntilde (U+00D1): B<<400.0,304.0>-<370.0,219.0>-<364.0,200.0>>/B<<364.0,200.0>-<385.0,250.0>-<462.0,348.5>> = 5.256837356758802 * a (U+0061): B<<209.0,172.0>-<209.0,195.0>-<210.0,203.0>>/B<<210.0,203.0>-<208.0,197.0>-<183.0,135.0>> = 11.309932474020162 * aacute (U+00E1): B<<209.0,172.0>-<209.0,195.0>-<210.0,203.0>>/B<<210.0,203.0>-<208.0,197.0>-<183.0,135.0>> = 11.309932474020162 * abreve (U+0103): B<<209.0,172.0>-<209.0,195.0>-<210.0,203.0>>/B<<210.0,203.0>-<208.0,197.0>-<183.0,135.0>> = 11.309932474020162 * acircumflex (U+00E2): B<<209.0,172.0>-<209.0,195.0>-<210.0,203.0>>/B<<210.0,203.0>-<208.0,197.0>-<183.0,135.0>> = 11.309932474020162 * adieresis (U+00E4): B<<209.0,172.0>-<209.0,195.0>-<210.0,203.0>>/B<<210.0,203.0>-<208.0,197.0>-<183.0,135.0>> = 11.309932474020162 * ae (U+00E6): B<<295.0,0.0>-<251.0,0.0>-<236.0,69.0>>/B<<236.0,69.0>-<234.0,-59.0>-<271.0,-63.0>> = 13.159947438103455 and 43 more. [code: found-jaggy-segments]
⚠ WARN: Do outlines contain any semi-vertical or semi-horizontal lines? * [com.google.fonts/check/outline_semi_vertical](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/.html#com.google.fonts/check/outline_semi_vertical)
--- Rationale ---
This check detects line segments which are nearly, but not quite, exactly
horizontal or vertical. Sometimes such lines are created by design, but often
they are indicative of a design error.
This check is disabled for italic styles, which often contain nearly-upright
lines.
* ⚠ **WARN** The following glyphs have semi-vertical/semi-horizontal lines: * bar (U+007C): L<<54.0,0.0>--<55.0,448.0>> * bracketleft (U+005B): L<<54.0,-25.0>--<55.0,309.0>> * bracketright (U+005D): L<<237.0,309.0>--<238.0,-25.0>> * brokenbar (U+00A6): L<<54.0,0.0>--<55.0,269.0>> * brokenbar (U+00A6): L<<81.0,271.0>--<80.0,0.0>> * brokenbar (U+00A6): L<<82.0,658.0>--<81.0,388.0>> * dagger (U+2020): L<<128.0,0.0>--<129.0,432.0>> * daggerdbl (U+2021): L<<128.0,0.0>--<129.0,299.0>> * peseta (U+20A7): L<<488.0,381.0>--<337.0,380.0>> and plusminus (U+00B1): L<<395.0,292.0>--<244.0,291.0>> [code: found-semi-vertical]

Summary

πŸ’” ERROR πŸ”₯ FAIL ⚠ WARN πŸ’€ SKIP β„Ή INFO 🍞 PASS πŸ”Ž DEBUG
0 16 10 113 8 71 0
0% 7% 5% 52% 4% 33% 0%

Note: The following loglevels were omitted in this report:

vv-monsalve commented 2 years ago

The latest 0.8.3 version is installed correctly since yesterday, under the same conditions (new venv, same requirements file and fontbakery>=0.8 argument). So I'm closing this here.