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

Update dependency fontbakery to >=0.11.2 #155

Merged
merged 1 commit into from
Mar 13, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 13, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
fontbakery >=0.9.2 -> >=0.11.2 age adoption passing confidence

Release Notes

fonttools/fontbakery (fontbakery)

v0.11.2

Compare Source

Release Notes

v0.11.1

Compare Source

Release highlights & new features
  • Added a -q --quiet CLI option to suppress all terminal output. (issue #​4484)
  • Fixed HTML reporter by adding the templates directory to the fontbakery package. (issue #​4479)
  • Minor wording improvement on the GHMarkdown reporter (issue #​4492)
Changes to existing checks
On the Universal Profile
  • [com.google.fonts/check/unreachable_glyphs]: Also consider the case of glyphs which are components only of unreachable glyphs. (issue #​4378)

v0.11.0

Compare Source

Noteworthy code-changes
  • The babelfont dependency has been dropped. (PR #​4416)
  • Fix a crash when no matching checks are found during a multi-processing run. Also, do not freeze indefinitely. Instead, terminate the program emitting a process error code -1 and giving the user some guidance. (issue #​4420)
  • Reporters have been refactored; there may be some changes to the terminal display, particularly when --succinct is passed. (PR #​4447)
  • Added templating for the HTML reporter. We were mixing a lot of HTML and code in the same reporter, leading to messy code that's hard to improve. But now we use Jinja2 to feed the JSON output from the serialize reporter into a bunch of HTML templates. The reporter code is a lot simpler, and as a bonus, we make it easier for profile owners to change the look-and-feel of their reports. (PR #​4460)
  • Improved grouping of check results on the reporters, displaying separately (1) checks with FATAL results (2) experimental checks and (3) all remaining check results. (issue #​4377)
New checks
Added to the Universal Profile
  • EXPERIMENTAL - [com.google.fonts/check/varfont/family_axis_ranges]: Check that family axis ranges are indentical. (issue #​4445)
  • EXPERIMENTAL - [com.google.fonts/check/tabular_kerning]: Check that tabular numerals and symbols have no kerning. (issue #​4440)
  • EXPERIMENTAL - [com.google.fonts/check/case_mapping]: Ensure that no glyph lacks its corresponding upper or lower counterpart (but only when unicode supports case-mapping). (issue #​3230)
Added to the Google Fonts Profile
  • [com.google.fonts/check/metadata/has_tags]: Check that the font family appears in the tags spreadsheet. (issues #​4465 & #​4470)
Previously experimental checks now made effective

The dates indicate when each check was originally implemented as temporarily experimental.

Promoted on Universal profile
  • 2023/Oct/13: com.google.fonts/check/legacy_accents
  • 2023/Oct/20: com.google.fonts/check/arabic_high_hamza
Promoted on Google Fonts profile
  • 2023/Oct/12: com.google.fonts/check/metadata/empty_designer
  • 2023/Oct/13: com.google.fonts/check/family/equal_codepoint_coverage
  • 2023/Nov/02: com.google.fonts/check/glyphsets/shape_languages
Migration of checks
Moved to the Google Fonts profile
  • [com.google.fonts/check/varfont/bold_wght_coord]: from the Open Type profile. (issue #​4436)
Changes to existing checks
On the Universal Profile
  • [com.google.fonts/check/arabic_spacing_symbols]: Also check U+FBC2 ARABIC SYMBOL WASLA ABOVE (issue #​4417)
  • [com.google.fonts/check/contour_count]: Use ttFont.getBestCmap() to avoid potential ERROR. (issue #​3601)
  • [com.google.fonts/check/valid_glyphnames]: Fix an outdated URL (issue #​4080)
  • [com.google.fonts/check/alt_caron]: Expanded to catch casing variants like "caroncomb.case" as well. The check previously didn't catch L+caroncomb.case, because the it relies on Unicodes to identify wrong accents. Now, we're purging known-wrong endings (e.g. .case) before resolving the Unicode, so that caroncomb.case can be found. (issue #​3308 / PR #​4469)
On the OpenType Profile
  • [com.google.fonts/check/varfont/bold_wght_coord]: Only check for a bold instance on fonts where the weight range extends to 700. (issue #​4373)
  • [com.google.fonts/check/license/OFL_body_text]: yield WARN instead of FAIL if body text is incorrect since the Google Fonts backend will make its own license file. Also show which lines needing changing (PR #​4437)
  • [com.google.fonts/check/name/license]: yield WARN if license url is scripts.sil.org/OFL (PR #​4437)
On the Shaping Profile
  • [com.google.fonts/check/dotted_circle]: Don't check for dotted circles in Hangul fonts. Hangul is not a syllabic script. Old Hangeul uses complex shaping and has diacritic marks that require dotted circles. Contemporary Hangeul does not. (related to issue #​3600)
  • [com.google.fonts/check/soft_dotted]: Check requires internet access. (issue #​4396)
On the Google Fonts Profile
  • [com.google.fonts/check/varfont/duplexed_axis_reflow]: yield FAILs per incorrect axis (message codes specifying axis); sort the list of bad glyphs (PR #​4400)
  • [com.google.fonts/check/legacy_accents]: We changed our minds here, and removed the overide to FAIL on "legacy-accents-component", so it is back a mere WARN again, just like in the Universal Profile (issue #​4425)
  • [com.google.fonts/check/font_copyright]: Accept date ranges. (issue #​4386)
  • [com.google.fonts/check/metadata/unsupported_subsets] and [com.google.fonts/check/metadata/unreachable_subsetting]: Updated to use the new gfsubsets package. (PR #​4434)
  • [com.google.fonts/check/glyphsets/shape_languages]: Check requires internet access. (issue #​4396)
  • [com.google.fonts/check/name/family_and_style_max_length]: Updated max length requirements according to feedback from @​vv-monsalve and improved description of problems to inform the users. Entries longer than 32 chars now emmit a FAIL. (issue #​2179)
  • [com.google.fonts/check/STAT/axis_order]: Improve wording. (issue #​4100)

v0.10.9

Compare Source

  • New command-line flag --skip-network to skip any checks which require Internet access. (PR #​4387)
    • Fix number of log level stats colums displayed with --ghmarkdown (PR #​4390)
    • Code tests no longer catch exceptions and instead display backtraces. (PR #​4392)
New checks
Added to the OpenType Profile
  • EXPERIMENTAL - [com.typenetwork/check/varfont/ital_range]: Check variable font ital axis has correct range. (PR #​4402)
Changes to existing checks
On the Shaping profile
  • [com.google.fonts/check/shaping/regression]: Font variations can now be set in the test configuration, similar to font features. (PR #​4405)
  • [com.google.fonts/check/shaping/regression]: Fix regressions in HTML outoput and make the check outout more markdown-compatible. (PR #​4406)
On the OpenType profile
  • [com.adobe.fonts/check/varfont/same_size_instance_records]: Skip variable fonts without named instances. (issue #​4410)
On the Google Fonts Profile
  • [com.google.fonts/check/metadata/valid_name_values]: Compare METADATA family name against the font's best family name (issue #​4262)
  • [com.google.fonts/check/name/license_url]: New OFL website URL is expected, while the old one emits a WARN (issue #​4358)
On the TypeNework Profile
  • Updated including latest universal checks and improved writing of some rationales and log messages. (PR #​4402)

v0.10.8

Compare Source

  • New status result: "FATAL". To be used when a problem detected is extremely bad and must be imediately addressed. (issue #​4374 / Discussion #​4364)
    • New command-line flag --error-code-on to define the threshold for emitting error code 1. By default, the FontBakery process still communicates an error code 1 if there's any check resulting in FAIL or worse. But with this flag, the user (for instance, in a continuous integration setup) can change the behaviour, such as making a CI job break only when getting a FATAL check-result (or, alternatively, making it even stricter by also breaking CI jobs on WARNs). (PR #​4376)
Changes to existing checks
On the Google Fonts Profile
  • [com.google.fonts/check/metadata/parses]: Changed from FAIL to FATAL (issue #​4374)
  • [com.google.fonts/check/glyph_coverage]: Rewrite check to follow new glyphsets API and data sets (issue #​4379)

v0.10.7

Compare Source

Changes to existing checks
On the Google Fonts Profile
On the Universal Profile
  • [com.google.fonts/check/contour_count]: U+0025 PERCENT SIGN and U+2031 PER TEN THOUSAND SIGN can also have 4 and 8 contours, respectively (issue #​4365)
  • [com.google.fonts/check/interpolation_issues]: Fix crash when using fonttools>=4.46.0, crash when only ignored issues were found, and missing location formatting for contour order issues. (issue #​4356)

v0.10.6

Compare Source

Note-worthy code changes
  • There are a few Google Fonts profile dependencies that MUST always be up-to-date because they hold data: glyphsets, gflanguages, shaperglot and axisregistry. These will from now on be handled differenty on setup.py, so that only their latest available packages are acceptable for installation. Thanks @​yanone for noticing and reporting this issue. (issue #​4351)

v0.10.5

Compare Source

Note-worthy code changes
  • Serialize a check's documentation along with the other properties so reporters can use the info. (PR #​4345)
Changes to existing checks
On the Open Type Profile
  • [com.adobe.fonts/check/postscript_name]: Render GitHub Flavoured Markdown on HTML reporter output, so that we can have nice things like tables. (issue #​4346)
On the Universal Profile
  • [com.google.fonts/check/arabic_spacing_symbols]: "Check that Arabic spacing symbols U+FBB2–FBC1 aren't classified as marks." Originally implemented in v0.10.2 / No longer marked as experimental. (issue #​4295)
On the Google Fonts Profile
  • [@​condition github_gfonts_ttFont]: Fixed a bug that was not properly handling the square brackets used in variable font file names. (issue #​4340)
  • [com.google.fonts/check/version_bump]: Improved log messages making them more legible and also fixing the formating of the version numbers (issue #​4340)
  • [com.google.fonts/check/glyphsets/shape_languages]: React to new glyphset data as per glyphsets==0.6.6. This finalizes the check as originally intended. (issue #​4147)

v0.10.4

Compare Source

Note-worthy code changes
  • With significant performance improvement on some of the checks (check/hinting_stats, check/varfont/generate_static and check/interpolation_issues), from a dozen hours down to a few seconds ;-) Thanks Simon & Behdad for that performance boost!
Changes to existing checks
On the Universal Profile
  • [com.google.fonts/check/arabic_high_hamza]: Check area of arabic letter high hamza (U+0621) to be roughly the same as arabic letter hamza (U+0675) (issue #​4315)
  • [com.google.fonts/check/xavgcharwidth]: This check now also applies to CFF-flavoured fonts (issue #​4212)
On the Google Fonts Profile
  • [com.google.fonts/check/metadata/escaped_strings]: Accept escaped quotes. They're fine. This check is really meant to detect things like "Juli\303\241n" instead of "Julián". (issue #​4331)
  • [com.google.fonts/check/glyphsets/shape_languages]: Use tables to make the check results more readable. (issue #​4326)

v0.10.3

Compare Source

New checks
Added to the Google Fonts Profile
  • EXPERIMENTAL - [com.google.fonts/check/glyphsets/shape_languages]: This check uses a heuristic to determine which GF glyphsets a font supports. Then it checks the font for correct shaping behaviour for all languages in those glyphsets. (issue #​4147)
Changes to existing checks
On the OpenType profile
  • [com.google.fonts/check/monospace]: The check result has been made more consistent when there are outliers and the font is not set to monospaced in the post table. (issue #​3839)
On the Google Fonts Profile
  • [com.google.fonts/check/metadata/consistent_repo_urls]: Git URLs can contain dashes and also there may be multiple URLs in a single description file. (issue #​4316)

v0.10.2

Compare Source

New checks
Added to the Universal Profile
  • EXPERIMENTAL - [com.google.fonts/check/arabic_spacing_symbols]: Check that Arabic spacing symbols U+FBB2–FBC1 aren't classified as marks. (issue #​4295)
  • EXPERIMENTAL - [com.google.fonts/check/arabic_high_hamza]: Check that glyph for U+0675 ARABIC LETTER HIGH HAMZA is not a mark. (issue #​4290)
Changes to existing checks
On the Universal Profile
  • EXPERIMENTAL - [com.google.fonts/check/legacy_accents]: Legacy accents cannot have zero-width. Previously we were expecting those to not be "too narrow". (issue #​4310)

v0.10.1

Compare Source

New checks
Added to the Universal Profile
  • EXPERIMENTAL - [com.google.fonts/check/legacy_accents]: Legacy accents must not be used in composites and must have positive width (issue #​3959)
  • EXPERIMENTAL - [com.google.fonts/check/family/equal_codepoint_coverage]: Previously called com.google.fonts/check/family/equal_numbers_of_glyphs, this check has been reworked and re-enabled. It now checks that the encoded glyphset is consistent across a family. (issue #​4180)
Changes to existing checks
On the Google Fonts Profile
  • [com.google.fonts/check/license/OFL_body_text]: Make the check more tolerant to minor and negligible differences on the contents of the OFL license text, ignoring white space (tabs, line-breaks and space chars). (issue #​4289)

v0.10.0

Compare Source

Release notes
  • This release adds support for marking checks as experimental, which will make them not affect the process exit code and so will allow such checks to result in a FAIL without breaking continuous integration builds. This will give time for users to report problems on the implementation of new checks. If after some time nobody complains, then those new checks will more safely be made effective by removing their experimental tag.

  • Bugfix: Display informative message when users forget to install the extra needed for the vendor-specific profile they're trying to run (issue #​4292)

New checks
Added to the Google Fonts Profile
  • EXPERIMENTAL - [com.google.fonts/check/metadata/empty_designer]: Any font published on Google Fonts must credit one or several authors, foundry and/or individuals. (issue #​3961)
Changes to existing checks
On the Google Fonts Profile
  • [com.google.fonts/check/metadata/consistent_repo_urls]: Report missing source.repository_url (issue #​4285), check with other sources (issue #​3521), test repo URL more flexibly (issue #​4107)
  • [com.google.fonts/check/description/urls]: fixed an ERROR due to trying to call startswith method on NoneType. Also upgrade check to FAIL and report any links with empty text content. (issue #​4283)
  • [com.google.fonts/check/glyph_coverage]: Only check for GF Latin Kernel when fonts have a primary_script set. (issue #​4111)
  • [com.google.fonts/check/vf_has_static_fonts]: This check now allows manually-hinted static fonts but otherwise warns if fonts are found in the static/ directory. (issue #​4092)
  • [com.google.fonts/check/unitsperem_strict]: Relax the range of values which cause FAIL. (issue #​4094)
  • [com.google.fonts/check/metadata/nameid/full_name]: Only English language name entries will be considered. (issue #​4000)
  • [com.google.fonts/check/metadata/nameid/font_name]: Only English language name entries will be considered. (issue #​4000)
  • [com.google.fonts/check/metadata/valid_name_values]: Allow name table entries in any language to match the METADATA. (issue #​4000)
  • [com.google.fonts/check/metadata/valid_full_name_values]: Allow name table entries in any language to match the METADATA. (issue #​4000)
  • [com.google.fonts/check/metadata/valid_post_script_name_values]: Allow name table entries in any language to match the METADATA. (issue #​4000)
  • [com.google.fonts/check/font_names]: This check now highlights names which did not match the expected values. (issue #​3912)
On the Universal Profile
  • [com.google.fonts/check/interpolation_issues]: Improved the warning message to show the actual master locations. (PR #​4288)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@simoncozens simoncozens merged commit a274c02 into main Mar 13, 2024
3 of 4 checks passed
@renovate renovate bot deleted the renovate/fontbakery-0.x branch March 13, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant