From ef70fc4d1dfde7f9e3f7529349499487ee2db629 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Mon, 4 Mar 2024 13:19:49 +0000 Subject: [PATCH] Improve rationale for hinting/smart_dropout Providing better fixing instructions. com.google.fonts/check/smart_dropout On the Google Fonts Profile. (PR #4570) --- CHANGELOG.md | 1 + Lib/fontbakery/checks/googlefonts/hinting.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f577dce81d..55ce9946d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -48,6 +48,7 @@ A more detailed list of changes is available in the corresponding milestones for - **[com.google.fonts/check/metadata/copyright_max_length]:** Added rationale. (PR #4570) - **[com.google.fonts/check/metadata/nameid/copyright]:** Added rationale. (PR #4570) - **[com.google.fonts/check/has_ttfautohint_params]:** Added rationale. (PR #4570) + - **[com.google.fonts/check/smart_dropout]:** Improve rationale with better fixing instructions. (PR #4570) #### On the FontValidator profile - **[com.google.fonts/check/fontvalidator]:** Added rationale. (PR #4570) diff --git a/Lib/fontbakery/checks/googlefonts/hinting.py b/Lib/fontbakery/checks/googlefonts/hinting.py index f5d26ead81..32539ce9bd 100644 --- a/Lib/fontbakery/checks/googlefonts/hinting.py +++ b/Lib/fontbakery/checks/googlefonts/hinting.py @@ -327,6 +327,9 @@ def ttfautohint_version(values): For more detailed info (such as other rules not enabled in this snippet), please refer to the TrueType Instruction Set documentation. + + Generally this occurs with unhinted fonts; if you are not using autohinting, + use gftools-fix-nonhinting (or just gftools-fix-font) to fix this issue. """, proposal="legacy:check/072", )