| 1 | ## Fontbakery report |
| 2 | |
| 3 | Fontbakery version: 0.7.21 |
| 4 | |
| 5 | <details> |
| 6 | <summary><b>[13] Family checks</b></summary> |
| 7 | <details> |
| 8 | <summary>🔥 <b>FAIL:</b> Do we have the latest version of FontBakery installed?</summary> |
| 9 | |
| 10 | * [com.google.fonts/check/fontbakery_version](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/fontbakery_version) |
| 11 | |
| 12 | * 🔥 **FAIL** Unable to detect what's the latest version of FontBakery available. Maybe we're offline? Please check Internet access and try again. |
| 13 | * 🍞 **PASS** Font Bakery is up-to-date |
| 14 | |
| 15 | </details> |
| 16 | <details> |
| 17 | <summary>🍞 <b>PASS:</b> Does font file include unacceptable control character glyphs?</summary> |
| 18 | |
| 19 | * [com.google.fonts/check/family/control_chars](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/family/control_chars) |
| 20 | <pre>--- Rationale --- |
| 21 | |
| 22 | Use of some unacceptable control characters in the U+0000 - U+001F range can |
| 23 | lead to rendering issues on some platforms. |
| 24 | |
| 25 | Acceptable control characters are defined as .null (U+0000) and CR (U+000D) for |
| 26 | this test. |
| 27 | |
| 28 | |
| 29 | </pre> |
| 30 | |
| 31 | * 🍞 **PASS** Unacceptable control characters were not identified. |
| 32 | |
| 33 | </details> |
| 34 | <details> |
| 35 | <summary>🍞 <b>PASS:</b> Checking all files are in the same directory.</summary> |
| 36 | |
| 37 | * [com.google.fonts/check/family/single_directory](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/family/single_directory) |
| 38 | <pre>--- Rationale --- |
| 39 | |
| 40 | If the set of font files passed in the command line is not all in the same |
| 41 | directory, then we warn the user since the tool will interpret the set of files |
| 42 | as belonging to a single family (and it is unlikely that the user would store |
| 43 | the files from a single family spreaded in several separate directories). |
| 44 | |
| 45 | |
| 46 | </pre> |
| 47 | |
| 48 | * 🍞 **PASS** All files are in the same directory. |
| 49 | |
| 50 | </details> |
| 51 | <details> |
| 52 | <summary>🍞 <b>PASS:</b> Each font in a family must have the same set of vertical metrics values.</summary> |
| 53 | |
| 54 | * [com.google.fonts/check/family/vertical_metrics](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/family/vertical_metrics) |
| 55 | <pre>--- Rationale --- |
| 56 | |
| 57 | We want all fonts within a family to have the same vertical metrics so their |
| 58 | line spacing is consistent across the family. |
| 59 | |
| 60 | |
| 61 | </pre> |
| 62 | |
| 63 | * 🍞 **PASS** Vertical metrics are the same across the family. |
| 64 | |
| 65 | </details> |
| 66 | <details> |
| 67 | <summary>🍞 <b>PASS:</b> Fonts have equal unicode encodings?</summary> |
| 68 | |
| 69 | * [com.google.fonts/check/family/equal_unicode_encodings](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/cmap.html#com.google.fonts/check/family/equal_unicode_encodings) |
| 70 | |
| 71 | * 🍞 **PASS** Fonts have equal unicode encodings. |
| 72 | |
| 73 | </details> |
| 74 | <details> |
| 75 | <summary>🍞 <b>PASS:</b> Make sure all font files have the same version value.</summary> |
| 76 | |
| 77 | * [com.google.fonts/check/family/equal_font_versions](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/head.html#com.google.fonts/check/family/equal_font_versions) |
| 78 | |
| 79 | * 🍞 **PASS** All font files have the same version. |
| 80 | |
| 81 | </details> |
| 82 | <details> |
| 83 | <summary>🍞 <b>PASS:</b> Fonts have consistent PANOSE proportion?</summary> |
| 84 | |
| 85 | * [com.google.fonts/check/family/panose_proportion](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/os2.html#com.google.fonts/check/family/panose_proportion) |
| 86 | |
| 87 | * 🍞 **PASS** Fonts have consistent PANOSE proportion. |
| 88 | |
| 89 | </details> |
| 90 | <details> |
| 91 | <summary>🍞 <b>PASS:</b> Fonts have consistent PANOSE family type?</summary> |
| 92 | |
| 93 | * [com.google.fonts/check/family/panose_familytype](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/os2.html#com.google.fonts/check/family/panose_familytype) |
| 94 | |
| 95 | * 🍞 **PASS** Fonts have consistent PANOSE family type. |
| 96 | |
| 97 | </details> |
| 98 | <details> |
| 99 | <summary>🍞 <b>PASS:</b> Fonts have consistent underline thickness?</summary> |
| 100 | |
| 101 | * [com.google.fonts/check/family/underline_thickness](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/post.html#com.google.fonts/check/family/underline_thickness) |
| 102 | <pre>--- Rationale --- |
| 103 | |
| 104 | Dave C Lemon (Adobe Type Team) recommends setting the underline thickness to be |
| 105 | consistent across the family. |
| 106 | |
| 107 | If thicknesses are not family consistent, words set on the same line which have |
| 108 | different styles look strange. |
| 109 | |
| 110 | See also: |
| 111 | https://twitter.com/typenerd1/status/690361887926697986 |
| 112 | |
| 113 | |
| 114 | </pre> |
| 115 | |
| 116 | * 🍞 **PASS** Fonts have consistent underline thickness. |
| 117 | |
| 118 | </details> |
| 119 | <details> |
| 120 | <summary>🍞 <b>PASS:</b> Verify that each group of fonts with the same nameID 1 has maximum of 4 fonts</summary> |
| 121 | |
| 122 | * [com.adobe.fonts/check/family/max_4_fonts_per_family_name](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.adobe.fonts/check/family/max_4_fonts_per_family_name) |
| 123 | <pre>--- Rationale --- |
| 124 | |
| 125 | Per the OpenType spec: |
| 126 | 'The Font Family name ... should be shared among at most four fonts that differ |
| 127 | only in weight or style ...' |
| 128 | |
| 129 | |
| 130 | </pre> |
| 131 | |
| 132 | * 🍞 **PASS** There were no more than 4 fonts per family name. |
| 133 | |
| 134 | </details> |
| 135 | <details> |
| 136 | <summary>💤 <b>SKIP:</b> All tabular figures must have the same width across the RIBBI-family.</summary> |
| 137 | |
| 138 | * [com.google.fonts/check/family/tnum_horizontal_metrics](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/family/tnum_horizontal_metrics) |
| 139 | <pre>--- Rationale --- |
| 140 | |
| 141 | Tabular figures need to have the same metrics in all styles in order to allow |
| 142 | tables to be set with proper typographic control, but to maintain the placement |
| 143 | of decimals and numeric columns between rows. |
| 144 | |
| 145 | Here's a good explanation of this: |
| 146 | https://www.typography.com/techniques/fonts-for-financials/#tabular-figs |
| 147 | |
| 148 | |
| 149 | </pre> |
| 150 | |
| 151 | * 💤 **SKIP** Unfulfilled Conditions: RIBBI_ttFonts |
| 152 | |
| 153 | </details> |
| 154 | <details> |
| 155 | <summary>💤 <b>SKIP:</b> Check that OS/2.fsSelection bold & italic settings are unique for each NameID1</summary> |
| 156 | |
| 157 | * [com.adobe.fonts/check/family/bold_italic_unique_for_nameid1](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/os2.html#com.adobe.fonts/check/family/bold_italic_unique_for_nameid1) |
| 158 | <pre>--- Rationale --- |
| 159 | |
| 160 | Per the OpenType spec: name ID 1 'is used in combination with Font Subfamily |
| 161 | name (name ID 2), and should be shared among at most four fonts that differ |
| 162 | only in weight or style... |
| 163 | |
| 164 | This four-way distinction should also be reflected in the OS/2.fsSelection |
| 165 | field, using bits 0 and 5. |
| 166 | |
| 167 | |
| 168 | </pre> |
| 169 | |
| 170 | * 💤 **SKIP** Unfulfilled Conditions: RIBBI_ttFonts |
| 171 | |
| 172 | </details> |
| 173 | <details> |
| 174 | <summary>⚠ <b>WARN:</b> Is the command `ftxvalidator` (Apple Font Tool Suite) available?</summary> |
| 175 | |
| 176 | * [com.google.fonts/check/ftxvalidator_is_available](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/ftxvalidator_is_available) |
| 177 | <pre>--- Rationale --- |
| 178 | |
| 179 | There's no reasonable (and legal) way to run the command `ftxvalidator` of the |
| 180 | Apple Font Tool Suite on a non-macOS machine. I.e. on GNU+Linux or Windows etc. |
| 181 | |
| 182 | If Font Bakery is not running on an OSX machine, the machine running Font |
| 183 | Bakery could access `ftxvalidator` on OSX, e.g. via ssh or a remote procedure |
| 184 | call (rpc). |
| 185 | |
| 186 | There's an ssh example implementation at: |
| 187 | https://github.com/googlefonts/fontbakery/blob/master/prebuilt/workarounds/ftxvalidator/ssh-implementation/ftxvalidator |
| 188 | |
| 189 | |
| 190 | </pre> |
| 191 | |
| 192 | * ⚠ **WARN** ftxvalidator is not available. |
| 193 | |
| 194 | </details> |
| 195 | <br> |
| 196 | </details> |
| 197 | <details> |
| 198 | <summary><b>[153] Manrope[wght].ttf</b></summary> |
| 199 | <details> |
| 200 | <summary>⚠ <b>WARN:</b> Checking OS/2 usWeightClass.</summary> |
| 201 | |
| 202 | * [com.google.fonts/check/usweightclass](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/usweightclass) |
| 203 | |
| 204 | * ⚠ **WARN** ExtraLight:200 is OK on TTFs, but OTF files with those values will cause bluring on Windows. GlyphsApp users must set an Instance Custom Parameter for the Thin and ExtraLight styles to 250 and 275, so that if OTFs are exported then it will not blur on Windows. [code: blur-on-windows] |
| 205 | |
| 206 | </details> |
| 207 | <details> |
| 208 | <summary>⚠ <b>WARN:</b> Check copyright namerecords match license file.</summary> |
| 209 | |
| 210 | * [com.google.fonts/check/name/license](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/license) |
| 211 | <pre>--- Rationale --- |
| 212 | |
| 213 | A known licensing description must be provided in the NameID 14 (LICENSE |
| 214 | DESCRIPTION) entries of the name table. |
| 215 | |
| 216 | The source of truth for this check (to determine which license is in use) is a |
| 217 | file placed side-by-side to your font project including the licensing terms. |
| 218 | |
| 219 | Depending on the chosen license, one of the following string snippets is |
| 220 | expected to be found on the NameID 13 (LICENSE DESCRIPTION) entries of the name |
| 221 | table: |
| 222 | - "This Font Software is licensed under the SIL Open Font License, Version 1.1. |
| 223 | This license is available with a FAQ at: https://scripts.sil.org/OFL" |
| 224 | - "Licensed under the Apache License, Version 2.0" |
| 225 | - "Licensed under the Ubuntu Font Licence 1.0." |
| 226 | |
| 227 | |
| 228 | Currently accepted licenses are Apache or Open Font License. |
| 229 | For a small set of legacy families the Ubuntu Font License may be acceptable as |
| 230 | well. |
| 231 | |
| 232 | When in doubt, please choose OFL for new font projects. |
| 233 | |
| 234 | |
| 235 | </pre> |
| 236 | |
| 237 | * 🍞 **PASS** Licensing entry on name table is correctly set. |
| 238 | * ⚠ **WARN** Please consider using HTTPS URLs at name table entry [plat=3, enc=1, name=13] [code: http-in-description] |
| 239 | * ⚠ **WARN** For now we're still accepting http URLs, but you should consider using https instead. |
| 240 | |
| 241 | |
| 242 | </details> |
| 243 | <details> |
| 244 | <summary>⚠ <b>WARN:</b> Are there caret positions declared for every ligature?</summary> |
| 245 | |
| 246 | * [com.google.fonts/check/ligature_carets](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/ligature_carets) |
| 247 | <pre>--- Rationale --- |
| 248 | |
| 249 | All ligatures in a font must have corresponding caret (text cursor) positions |
| 250 | defined in the GDEF table, otherwhise, users may experience issues with caret |
| 251 | rendering. |
| 252 | |
| 253 | |
| 254 | </pre> |
| 255 | |
| 256 | * ⚠ **WARN** This font lacks caret position values for ligature glyphs on its GDEF table. [code: lacks-caret-pos] |
| 257 | |
| 258 | </details> |
| 259 | <details> |
| 260 | <summary>⚠ <b>WARN:</b> Is there kerning info for non-ligated sequences?</summary> |
| 261 | |
| 262 | * [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) |
| 263 | <pre>--- Rationale --- |
| 264 | |
| 265 | Fonts with ligatures should have kerning on the corresponding non-ligated |
| 266 | sequences for text where ligatures aren't used (eg |
| 267 | https://github.com/impallari/Raleway/issues/14). |
| 268 | |
| 269 | |
| 270 | </pre> |
| 271 | |
| 272 | * ⚠ **WARN** GPOS table lacks kerning info for the following non-ligated sequences: |
| 273 | - f + f |
| 274 | - f + l |
| 275 | - l + f |
| 276 | - f + i |
| 277 | - i + l |
| 278 | - t + t |
| 279 | - parenleft + c |
| 280 | - c + parenright |
| 281 | - parenright + greater |
| 282 | - greater + parenright |
| 283 | - hyphen + greater |
| 284 | - greater + hyphen |
| 285 | - space + less |
| 286 | - less + three |
| 287 | - three + space |
| 288 | - less + hyphen |
| 289 | |
| 290 | [code: lacks-kern-info] |
| 291 | |
| 292 | </details> |
| 293 | <details> |
| 294 | <summary>💤 <b>SKIP:</b> Does DESCRIPTION file contain broken links?</summary> |
| 295 | |
| 296 | * [com.google.fonts/check/description/broken_links](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/description/broken_links) |
| 297 | <pre>--- Rationale --- |
| 298 | |
| 299 | The snippet of HTML in the DESCRIPTION.en_us.html file is added to the font |
| 300 | family webpage on the Google Fonts website. For that reason, all hyperlinks in |
| 301 | it must be properly working. |
| 302 | |
| 303 | |
| 304 | </pre> |
| 305 | |
| 306 | * 💤 **SKIP** Unfulfilled Conditions: description |
| 307 | |
| 308 | </details> |
| 309 | <details> |
| 310 | <summary>💤 <b>SKIP:</b> Does DESCRIPTION file contain a upstream Git repo URL?</summary> |
| 311 | |
| 312 | * [com.google.fonts/check/description/git_url](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/description/git_url) |
| 313 | <pre>--- Rationale --- |
| 314 | |
| 315 | The contents of the DESCRIPTION.en-us.html file are displayed on the Google |
| 316 | Fonts website in the about section of each font family specimen page. |
| 317 | |
| 318 | Since all of the Google Fonts collection is composed of libre-licensed fonts, |
| 319 | this check enforces a policy that there must be a hypertext link in that page |
| 320 | directing users to the repository where the font project files are made |
| 321 | available. |
| 322 | |
| 323 | Such hosting is typically done on sites like Github, Gitlab, GNU Savannah or |
| 324 | any other git-based version control service. |
| 325 | |
| 326 | |
| 327 | </pre> |
| 328 | |
| 329 | * 💤 **SKIP** Unfulfilled Conditions: description |
| 330 | |
| 331 | </details> |
| 332 | <details> |
| 333 | <summary>💤 <b>SKIP:</b> Does DESCRIPTION file mention when a family is available as variable font?</summary> |
| 334 | |
| 335 | * [com.google.fonts/check/description/variable_font](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/description/variable_font) |
| 336 | <pre>--- Rationale --- |
| 337 | |
| 338 | Families with variable fonts do not always mention that in their descriptions. |
| 339 | Therefore, this check ensures that a standard boilerplate sentence is present |
| 340 | in the DESCRIPTION.en_us.html files for all those families which are available |
| 341 | as variable fonts. |
| 342 | |
| 343 | |
| 344 | </pre> |
| 345 | |
| 346 | * 💤 **SKIP** Unfulfilled Conditions: description |
| 347 | |
| 348 | </details> |
| 349 | <details> |
| 350 | <summary>💤 <b>SKIP:</b> Is this a proper HTML snippet?</summary> |
| 351 | |
| 352 | * [com.google.fonts/check/description/valid_html](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/description/valid_html) |
| 353 | <pre>--- Rationale --- |
| 354 | |
| 355 | When packaging families for being pushed to the `google/fonts` git repo, if |
| 356 | there is no DESCRIPTION.en_us.html file, some older versions of the |
| 357 | `add_font.py` tool insert a dummy description file which contains invalid html. |
| 358 | |
| 359 | This file needs to either be replaced with an existing description file or |
| 360 | edited by hand. |
| 361 | |
| 362 | |
| 363 | </pre> |
| 364 | |
| 365 | * 💤 **SKIP** Unfulfilled Conditions: descfile |
| 366 | |
| 367 | </details> |
| 368 | <details> |
| 369 | <summary>💤 <b>SKIP:</b> DESCRIPTION.en_us.html must have more than 200 bytes.</summary> |
| 370 | |
| 371 | * [com.google.fonts/check/description/min_length](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/description/min_length) |
| 372 | |
| 373 | * 💤 **SKIP** Unfulfilled Conditions: description |
| 374 | |
| 375 | </details> |
| 376 | <details> |
| 377 | <summary>💤 <b>SKIP:</b> DESCRIPTION.en_us.html must have less than 1000 bytes.</summary> |
| 378 | |
| 379 | * [com.google.fonts/check/description/max_length](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/description/max_length) |
| 380 | |
| 381 | * 💤 **SKIP** Unfulfilled Conditions: description |
| 382 | |
| 383 | </details> |
| 384 | <details> |
| 385 | <summary>💤 <b>SKIP:</b> Check METADATA.pb parse correctly.</summary> |
| 386 | |
| 387 | * [com.google.fonts/check/metadata/parses](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/parses) |
| 388 | <pre>--- Rationale --- |
| 389 | |
| 390 | The purpose of this check is to ensure that the METADATA.pb file is not |
| 391 | malformed. |
| 392 | |
| 393 | |
| 394 | </pre> |
| 395 | |
| 396 | * 💤 **SKIP** Font family at '.' lacks a METADATA.pb file. |
| 397 | |
| 398 | </details> |
| 399 | <details> |
| 400 | <summary>💤 <b>SKIP:</b> Font designer field in METADATA.pb must not be 'unknown'.</summary> |
| 401 | |
| 402 | * [com.google.fonts/check/metadata/unknown_designer](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/unknown_designer) |
| 403 | |
| 404 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 405 | |
| 406 | </details> |
| 407 | <details> |
| 408 | <summary>💤 <b>SKIP:</b> Font designer field in METADATA.pb must not contain 'Multiple designers'.</summary> |
| 409 | |
| 410 | * [com.google.fonts/check/metadata/multiple_designers](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/multiple_designers) |
| 411 | <pre>--- Rationale --- |
| 412 | |
| 413 | For a while the string "Multiple designers" was used as a placeholder on |
| 414 | METADATA.pb files. We should replace all those instances with actual designer |
| 415 | names so that proper credits are displayed on the Google Fonts family specimen |
| 416 | pages. |
| 417 | |
| 418 | If there's more than a single designer, the designer names must be separated by |
| 419 | commas. |
| 420 | |
| 421 | |
| 422 | </pre> |
| 423 | |
| 424 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 425 | |
| 426 | </details> |
| 427 | <details> |
| 428 | <summary>💤 <b>SKIP:</b> Multiple values in font designer field in METADATA.pb must be separated by commas.</summary> |
| 429 | |
| 430 | * [com.google.fonts/check/metadata/designer_values](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/designer_values) |
| 431 | <pre>--- Rationale --- |
| 432 | |
| 433 | We must use commas instead of forward slashes because the server-side code at |
| 434 | the fonts.google.com directory will segment the string on the commas into a |
| 435 | list of names and display the first item in the list as the "principal |
| 436 | designer" while the remaining names are identified as "contributors". |
| 437 | |
| 438 | See eg https://fonts.google.com/specimen/Rubik |
| 439 | |
| 440 | |
| 441 | </pre> |
| 442 | |
| 443 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 444 | |
| 445 | </details> |
| 446 | <details> |
| 447 | <summary>💤 <b>SKIP:</b> Does METADATA.pb copyright field contain broken links?</summary> |
| 448 | |
| 449 | * [com.google.fonts/check/metadata/broken_links](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/broken_links) |
| 450 | |
| 451 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 452 | |
| 453 | </details> |
| 454 | <details> |
| 455 | <summary>💤 <b>SKIP:</b> Ensure METADATA.pb lists all font binaries.</summary> |
| 456 | |
| 457 | * [com.google.fonts/check/metadata/undeclared_fonts](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/undeclared_fonts) |
| 458 | <pre>--- Rationale --- |
| 459 | |
| 460 | The set of font binaries available, except the ones on a "static" subdir, must |
| 461 | match exactly those declared on the METADATA.pb file. |
| 462 | |
| 463 | Also, to avoid confusion, we expect that font files (other than statics) are |
| 464 | not placed on subdirectories. |
| 465 | |
| 466 | |
| 467 | </pre> |
| 468 | |
| 469 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 470 | |
| 471 | </details> |
| 472 | <details> |
| 473 | <summary>💤 <b>SKIP:</b> Check font has a license.</summary> |
| 474 | |
| 475 | * [com.google.fonts/check/family/has_license](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/family/has_license) |
| 476 | |
| 477 | * 💤 **SKIP** Unfulfilled Conditions: gfonts_repo_structure |
| 478 | |
| 479 | </details> |
| 480 | <details> |
| 481 | <summary>💤 <b>SKIP:</b> License URL matches License text on name table?</summary> |
| 482 | |
| 483 | * [com.google.fonts/check/name/license_url](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/license_url) |
| 484 | <pre>--- Rationale --- |
| 485 | |
| 486 | A known license URL must be provided in the NameID 14 (LICENSE INFO URL) entry |
| 487 | of the name table. |
| 488 | |
| 489 | The source of truth for this check is the licensing text found on the NameID 13 |
| 490 | entry (LICENSE DESCRIPTION). |
| 491 | |
| 492 | The string snippets used for detecting licensing terms are: |
| 493 | - "This Font Software is licensed under the SIL Open Font License, Version 1.1. |
| 494 | This license is available with a FAQ at: https://scripts.sil.org/OFL" |
| 495 | - "Licensed under the Apache License, Version 2.0" |
| 496 | - "Licensed under the Ubuntu Font Licence 1.0." |
| 497 | |
| 498 | |
| 499 | Currently accepted licenses are Apache or Open Font License. |
| 500 | For a small set of legacy families the Ubuntu Font License may be acceptable as |
| 501 | well. |
| 502 | |
| 503 | When in doubt, please choose OFL for new font projects. |
| 504 | |
| 505 | |
| 506 | </pre> |
| 507 | |
| 508 | * 💤 **SKIP** Unfulfilled Conditions: familyname |
| 509 | |
| 510 | </details> |
| 511 | <details> |
| 512 | <summary>💤 <b>SKIP:</b> Font has ttfautohint params?</summary> |
| 513 | |
| 514 | * [com.google.fonts/check/has_ttfautohint_params](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/has_ttfautohint_params) |
| 515 | |
| 516 | * 💤 **SKIP** Font appears to our heuristic as not hinted using ttfautohint. [code: not-hinted] |
| 517 | |
| 518 | </details> |
| 519 | <details> |
| 520 | <summary>💤 <b>SKIP:</b> METADATA.pb: Fontfamily is listed on Google Fonts API?</summary> |
| 521 | |
| 522 | * [com.google.fonts/check/metadata/listed_on_gfonts](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/listed_on_gfonts) |
| 523 | |
| 524 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 525 | |
| 526 | </details> |
| 527 | <details> |
| 528 | <summary>💤 <b>SKIP:</b> METADATA.pb: check if fonts field only has unique "full_name" values.</summary> |
| 529 | |
| 530 | * [com.google.fonts/check/metadata/unique_full_name_values](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/unique_full_name_values) |
| 531 | |
| 532 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 533 | |
| 534 | </details> |
| 535 | <details> |
| 536 | <summary>💤 <b>SKIP:</b> METADATA.pb: check if fonts field only contains unique style:weight pairs.</summary> |
| 537 | |
| 538 | * [com.google.fonts/check/metadata/unique_weight_style_pairs](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/unique_weight_style_pairs) |
| 539 | |
| 540 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 541 | |
| 542 | </details> |
| 543 | <details> |
| 544 | <summary>💤 <b>SKIP:</b> METADATA.pb license is "APACHE2", "UFL" or "OFL"?</summary> |
| 545 | |
| 546 | * [com.google.fonts/check/metadata/license](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/license) |
| 547 | |
| 548 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 549 | |
| 550 | </details> |
| 551 | <details> |
| 552 | <summary>💤 <b>SKIP:</b> METADATA.pb should contain at least "menu" and "latin" subsets.</summary> |
| 553 | |
| 554 | * [com.google.fonts/check/metadata/menu_and_latin](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/menu_and_latin) |
| 555 | |
| 556 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 557 | |
| 558 | </details> |
| 559 | <details> |
| 560 | <summary>💤 <b>SKIP:</b> METADATA.pb subsets should be alphabetically ordered.</summary> |
| 561 | |
| 562 | * [com.google.fonts/check/metadata/subsets_order](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/subsets_order) |
| 563 | |
| 564 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 565 | |
| 566 | </details> |
| 567 | <details> |
| 568 | <summary>💤 <b>SKIP:</b> METADATA.pb: Copyright notice is the same in all fonts?</summary> |
| 569 | |
| 570 | * [com.google.fonts/check/metadata/copyright](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/copyright) |
| 571 | |
| 572 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 573 | |
| 574 | </details> |
| 575 | <details> |
| 576 | <summary>💤 <b>SKIP:</b> Check that METADATA.pb family values are all the same.</summary> |
| 577 | |
| 578 | * [com.google.fonts/check/metadata/familyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/familyname) |
| 579 | |
| 580 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 581 | |
| 582 | </details> |
| 583 | <details> |
| 584 | <summary>💤 <b>SKIP:</b> METADATA.pb: According Google Fonts standards, families should have a Regular style.</summary> |
| 585 | |
| 586 | * [com.google.fonts/check/metadata/has_regular](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/has_regular) |
| 587 | |
| 588 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 589 | |
| 590 | </details> |
| 591 | <details> |
| 592 | <summary>💤 <b>SKIP:</b> METADATA.pb: Regular should be 400.</summary> |
| 593 | |
| 594 | * [com.google.fonts/check/metadata/regular_is_400](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/regular_is_400) |
| 595 | |
| 596 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata, has_regular_style |
| 597 | |
| 598 | </details> |
| 599 | <details> |
| 600 | <summary>💤 <b>SKIP:</b> Checks METADATA.pb font.name field matches family name declared on the name table.</summary> |
| 601 | |
| 602 | * [com.google.fonts/check/metadata/nameid/family_name](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/nameid/family_name) |
| 603 | |
| 604 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 605 | |
| 606 | </details> |
| 607 | <details> |
| 608 | <summary>💤 <b>SKIP:</b> Checks METADATA.pb font.post_script_name matches postscript name declared on the name table.</summary> |
| 609 | |
| 610 | * [com.google.fonts/check/metadata/nameid/post_script_name](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/nameid/post_script_name) |
| 611 | |
| 612 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 613 | |
| 614 | </details> |
| 615 | <details> |
| 616 | <summary>💤 <b>SKIP:</b> METADATA.pb font.full_name value matches fullname declared on the name table?</summary> |
| 617 | |
| 618 | * [com.google.fonts/check/metadata/nameid/full_name](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/nameid/full_name) |
| 619 | |
| 620 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 621 | |
| 622 | </details> |
| 623 | <details> |
| 624 | <summary>💤 <b>SKIP:</b> METADATA.pb font.name value should be same as the family name declared on the name table.</summary> |
| 625 | |
| 626 | * [com.google.fonts/check/metadata/nameid/font_name](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/nameid/font_name) |
| 627 | |
| 628 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata, style |
| 629 | |
| 630 | </details> |
| 631 | <details> |
| 632 | <summary>💤 <b>SKIP:</b> METADATA.pb font.full_name and font.post_script_name fields have equivalent values ?</summary> |
| 633 | |
| 634 | * [com.google.fonts/check/metadata/match_fullname_postscript](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/match_fullname_postscript) |
| 635 | |
| 636 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 637 | |
| 638 | </details> |
| 639 | <details> |
| 640 | <summary>💤 <b>SKIP:</b> METADATA.pb font.filename and font.post_script_name fields have equivalent values?</summary> |
| 641 | |
| 642 | * [com.google.fonts/check/metadata/match_filename_postscript](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/match_filename_postscript) |
| 643 | |
| 644 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata, not is_variable_font |
| 645 | |
| 646 | </details> |
| 647 | <details> |
| 648 | <summary>💤 <b>SKIP:</b> METADATA.pb font.name field contains font name in right format?</summary> |
| 649 | |
| 650 | * [com.google.fonts/check/metadata/valid_name_values](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/valid_name_values) |
| 651 | |
| 652 | * 💤 **SKIP** Unfulfilled Conditions: style, font_metadata |
| 653 | |
| 654 | </details> |
| 655 | <details> |
| 656 | <summary>💤 <b>SKIP:</b> METADATA.pb font.full_name field contains font name in right format?</summary> |
| 657 | |
| 658 | * [com.google.fonts/check/metadata/valid_full_name_values](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/valid_full_name_values) |
| 659 | |
| 660 | * 💤 **SKIP** Unfulfilled Conditions: style, font_metadata |
| 661 | |
| 662 | </details> |
| 663 | <details> |
| 664 | <summary>💤 <b>SKIP:</b> METADATA.pb font.filename field contains font name in right format?</summary> |
| 665 | |
| 666 | * [com.google.fonts/check/metadata/valid_filename_values](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/valid_filename_values) |
| 667 | |
| 668 | * 💤 **SKIP** Unfulfilled Conditions: style, family_metadata |
| 669 | |
| 670 | </details> |
| 671 | <details> |
| 672 | <summary>💤 <b>SKIP:</b> METADATA.pb font.post_script_name field contains font name in right format?</summary> |
| 673 | |
| 674 | * [com.google.fonts/check/metadata/valid_post_script_name_values](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/valid_post_script_name_values) |
| 675 | |
| 676 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 677 | |
| 678 | </details> |
| 679 | <details> |
| 680 | <summary>💤 <b>SKIP:</b> Copyright notices match canonical pattern in METADATA.pb</summary> |
| 681 | |
| 682 | * [com.google.fonts/check/metadata/valid_copyright](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/valid_copyright) |
| 683 | <pre>--- Rationale --- |
| 684 | |
| 685 | The expected pattern for the copyright string adheres to the following rules: |
| 686 | * It must say "Copyright" followed by a 4 digit year |
| 687 | * Then it must say "The <familyname> Project Authors" |
| 688 | * And within parentheses, a URL for a git repository must be provided |
| 689 | * The check is case insensitive and does not validate whether the familyname is |
| 690 | correct, even though we'd expect it is (and we may soon update the check to |
| 691 | validate that aspect as well!) |
| 692 | |
| 693 | Here is an example of a valid copyright string: |
| 694 | "Copyright 2017 The Archivo Black Project Authors |
| 695 | (https://github.com/Omnibus-Type/ArchivoBlack)" |
| 696 | |
| 697 | |
| 698 | </pre> |
| 699 | |
| 700 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 701 | |
| 702 | </details> |
| 703 | <details> |
| 704 | <summary>💤 <b>SKIP:</b> Copyright notice on METADATA.pb should not contain 'Reserved Font Name'.</summary> |
| 705 | |
| 706 | * [com.google.fonts/check/metadata/reserved_font_name](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/reserved_font_name) |
| 707 | |
| 708 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 709 | |
| 710 | </details> |
| 711 | <details> |
| 712 | <summary>💤 <b>SKIP:</b> METADATA.pb: Copyright notice shouldn't exceed 500 chars.</summary> |
| 713 | |
| 714 | * [com.google.fonts/check/metadata/copyright_max_length](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/copyright_max_length) |
| 715 | |
| 716 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 717 | |
| 718 | </details> |
| 719 | <details> |
| 720 | <summary>💤 <b>SKIP:</b> METADATA.pb: Font filenames match font.filename entries?</summary> |
| 721 | |
| 722 | * [com.google.fonts/check/metadata/filenames](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/filenames) |
| 723 | <pre>--- Rationale --- |
| 724 | |
| 725 | Note: |
| 726 | This check only looks for files in the current directory. |
| 727 | |
| 728 | Font files in subdirectories are checked by these other two checks: |
| 729 | - com.google.fonts/check/metadata/undeclared_fonts |
| 730 | - com.google.fonts/check/repo/vf_has_static_fonts |
| 731 | |
| 732 | We may want to merge them all into a single check. |
| 733 | |
| 734 | |
| 735 | </pre> |
| 736 | |
| 737 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata |
| 738 | |
| 739 | </details> |
| 740 | <details> |
| 741 | <summary>💤 <b>SKIP:</b> METADATA.pb font.style "italic" matches font internals?</summary> |
| 742 | |
| 743 | * [com.google.fonts/check/metadata/italic_style](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/italic_style) |
| 744 | |
| 745 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 746 | |
| 747 | </details> |
| 748 | <details> |
| 749 | <summary>💤 <b>SKIP:</b> METADATA.pb font.style "normal" matches font internals?</summary> |
| 750 | |
| 751 | * [com.google.fonts/check/metadata/normal_style](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/normal_style) |
| 752 | |
| 753 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 754 | |
| 755 | </details> |
| 756 | <details> |
| 757 | <summary>💤 <b>SKIP:</b> METADATA.pb font.name and font.full_name fields match the values declared on the name table?</summary> |
| 758 | |
| 759 | * [com.google.fonts/check/metadata/nameid/family_and_full_names](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/nameid/family_and_full_names) |
| 760 | |
| 761 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 762 | |
| 763 | </details> |
| 764 | <details> |
| 765 | <summary>💤 <b>SKIP:</b> METADATA.pb: Check if fontname is not camel cased.</summary> |
| 766 | |
| 767 | * [com.google.fonts/check/metadata/fontname_not_camel_cased](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/fontname_not_camel_cased) |
| 768 | |
| 769 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 770 | |
| 771 | </details> |
| 772 | <details> |
| 773 | <summary>💤 <b>SKIP:</b> METADATA.pb: Check font name is the same as family name.</summary> |
| 774 | |
| 775 | * [com.google.fonts/check/metadata/match_name_familyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/match_name_familyname) |
| 776 | |
| 777 | * 💤 **SKIP** Unfulfilled Conditions: family_metadata, font_metadata |
| 778 | |
| 779 | </details> |
| 780 | <details> |
| 781 | <summary>💤 <b>SKIP:</b> METADATA.pb: Check that font weight has a canonical value.</summary> |
| 782 | |
| 783 | * [com.google.fonts/check/metadata/canonical_weight_value](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/canonical_weight_value) |
| 784 | |
| 785 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 786 | |
| 787 | </details> |
| 788 | <details> |
| 789 | <summary>💤 <b>SKIP:</b> Checking OS/2 usWeightClass matches weight specified at METADATA.pb.</summary> |
| 790 | |
| 791 | * [com.google.fonts/check/metadata/os2_weightclass](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/os2_weightclass) |
| 792 | |
| 793 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 794 | |
| 795 | </details> |
| 796 | <details> |
| 797 | <summary>💤 <b>SKIP:</b> METADATA.pb weight matches postScriptName.</summary> |
| 798 | |
| 799 | * [com.google.fonts/check/metadata/match_weight_postscript](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/match_weight_postscript) |
| 800 | |
| 801 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 802 | |
| 803 | </details> |
| 804 | <details> |
| 805 | <summary>💤 <b>SKIP:</b> METADATA.pb: Font styles are named canonically?</summary> |
| 806 | |
| 807 | * [com.google.fonts/check/metadata/canonical_style_names](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/canonical_style_names) |
| 808 | |
| 809 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 810 | |
| 811 | </details> |
| 812 | <details> |
| 813 | <summary>💤 <b>SKIP:</b> Version number has increased since previous release on Google Fonts?</summary> |
| 814 | |
| 815 | * [com.google.fonts/check/version_bump](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/version_bump) |
| 816 | |
| 817 | * 💤 **SKIP** Unfulfilled Conditions: api_gfonts_ttFont, github_gfonts_ttFont |
| 818 | |
| 819 | </details> |
| 820 | <details> |
| 821 | <summary>💤 <b>SKIP:</b> Glyphs are similiar to Google Fonts version?</summary> |
| 822 | |
| 823 | * [com.google.fonts/check/production_glyphs_similarity](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/production_glyphs_similarity) |
| 824 | |
| 825 | * 💤 **SKIP** Unfulfilled Conditions: api_gfonts_ttFont |
| 826 | |
| 827 | </details> |
| 828 | <details> |
| 829 | <summary>💤 <b>SKIP:</b> Checking OS/2 fsSelection value.</summary> |
| 830 | |
| 831 | * [com.google.fonts/check/fsselection](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/fsselection) |
| 832 | |
| 833 | * 💤 **SKIP** Unfulfilled Conditions: style |
| 834 | |
| 835 | </details> |
| 836 | <details> |
| 837 | <summary>💤 <b>SKIP:</b> Checking post.italicAngle value.</summary> |
| 838 | |
| 839 | * [com.google.fonts/check/italic_angle](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/italic_angle) |
| 840 | <pre>--- Rationale --- |
| 841 | |
| 842 | The 'post' table italicAngle property should be a reasonable amount, likely not |
| 843 | more than -20°, never more than -30°, and never greater than 0°. Note that in |
| 844 | the OpenType specification, the value is negative for a lean rightwards. |
| 845 | |
| 846 | https://docs.microsoft.com/en-us/typography/opentype/spec/post |
| 847 | |
| 848 | |
| 849 | </pre> |
| 850 | |
| 851 | * 💤 **SKIP** Unfulfilled Conditions: style |
| 852 | |
| 853 | </details> |
| 854 | <details> |
| 855 | <summary>💤 <b>SKIP:</b> Checking head.macStyle value.</summary> |
| 856 | |
| 857 | * [com.google.fonts/check/mac_style](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/mac_style) |
| 858 | <pre>--- Rationale --- |
| 859 | |
| 860 | The values of the flags on the macStyle entry on the 'head' OpenType table that |
| 861 | describe whether a font is bold and/or italic must be coherent with the actual |
| 862 | style of the font as inferred by its filename. |
| 863 | |
| 864 | |
| 865 | </pre> |
| 866 | |
| 867 | * 💤 **SKIP** Unfulfilled Conditions: style |
| 868 | |
| 869 | </details> |
| 870 | <details> |
| 871 | <summary>💤 <b>SKIP:</b> Check if each glyph has the recommended amount of contours.</summary> |
| 872 | |
| 873 | * [com.google.fonts/check/contour_count](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/contour_count) |
| 874 | <pre>--- Rationale --- |
| 875 | |
| 876 | Visually QAing thousands of glyphs by hand is tiring. Most glyphs can only be |
| 877 | constructured in a handful of ways. This means a glyph's contour count will |
| 878 | only differ slightly amongst different fonts, e.g a 'g' could either be 2 or 3 |
| 879 | contours, depending on whether its double story or single story. |
| 880 | |
| 881 | However, a quotedbl should have 2 contours, unless the font belongs to a |
| 882 | display family. |
| 883 | |
| 884 | This check currently does not cover variable fonts because there's plenty of |
| 885 | alternative ways of constructing glyphs with multiple outlines for each feature |
| 886 | in a VarFont. The expected contour count data for this check is currently |
| 887 | optimized for the typical construction of glyphs in static fonts. |
| 888 | |
| 889 | |
| 890 | </pre> |
| 891 | |
| 892 | * 💤 **SKIP** Unfulfilled Conditions: not is_variable_font |
| 893 | |
| 894 | </details> |
| 895 | <details> |
| 896 | <summary>💤 <b>SKIP:</b> Copyright field for this font on METADATA.pb matches all copyright notice entries on the name table ?</summary> |
| 897 | |
| 898 | * [com.google.fonts/check/metadata/nameid/copyright](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/metadata/nameid/copyright) |
| 899 | |
| 900 | * 💤 **SKIP** Unfulfilled Conditions: font_metadata |
| 901 | |
| 902 | </details> |
| 903 | <details> |
| 904 | <summary>💤 <b>SKIP:</b> Font has all mandatory 'name' table entries?</summary> |
| 905 | |
| 906 | * [com.google.fonts/check/name/mandatory_entries](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/mandatory_entries) |
| 907 | |
| 908 | * 💤 **SKIP** Unfulfilled Conditions: style |
| 909 | |
| 910 | </details> |
| 911 | <details> |
| 912 | <summary>💤 <b>SKIP:</b> Check name table: FONT_FAMILY_NAME entries.</summary> |
| 913 | |
| 914 | * [com.google.fonts/check/name/familyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/familyname) |
| 915 | <pre>--- Rationale --- |
| 916 | |
| 917 | Checks that the family name infered from the font filename matches the string |
| 918 | at nameID 1 (NAMEID_FONT_FAMILY_NAME) if it conforms to RIBBI and otherwise |
| 919 | checks that nameID 1 is the family name + the style name. |
| 920 | |
| 921 | |
| 922 | </pre> |
| 923 | |
| 924 | * 💤 **SKIP** Unfulfilled Conditions: style, familyname_with_spaces |
| 925 | |
| 926 | </details> |
| 927 | <details> |
| 928 | <summary>💤 <b>SKIP:</b> Check name table: FULL_FONT_NAME entries.</summary> |
| 929 | |
| 930 | * [com.google.fonts/check/name/fullfontname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/fullfontname) |
| 931 | |
| 932 | * 💤 **SKIP** Unfulfilled Conditions: style_with_spaces, familyname_with_spaces |
| 933 | |
| 934 | </details> |
| 935 | <details> |
| 936 | <summary>💤 <b>SKIP:</b> Check name table: POSTSCRIPT_NAME entries.</summary> |
| 937 | |
| 938 | * [com.google.fonts/check/name/postscriptname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/postscriptname) |
| 939 | |
| 940 | * 💤 **SKIP** Unfulfilled Conditions: style, familyname |
| 941 | |
| 942 | </details> |
| 943 | <details> |
| 944 | <summary>💤 <b>SKIP:</b> Check name table: TYPOGRAPHIC_FAMILY_NAME entries.</summary> |
| 945 | |
| 946 | * [com.google.fonts/check/name/typographicfamilyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/typographicfamilyname) |
| 947 | |
| 948 | * 💤 **SKIP** Unfulfilled Conditions: style, familyname_with_spaces |
| 949 | |
| 950 | </details> |
| 951 | <details> |
| 952 | <summary>💤 <b>SKIP:</b> Familyname must be unique according to namecheck.fontdata.com</summary> |
| 953 | |
| 954 | * [com.google.fonts/check/fontdata_namecheck](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/fontdata_namecheck) |
| 955 | <pre>--- Rationale --- |
| 956 | |
| 957 | We need to check names are not already used, and today the best place to check |
| 958 | that is http://namecheck.fontdata.com |
| 959 | |
| 960 | |
| 961 | </pre> |
| 962 | |
| 963 | * 💤 **SKIP** Unfulfilled Conditions: familyname |
| 964 | |
| 965 | </details> |
| 966 | <details> |
| 967 | <summary>💤 <b>SKIP:</b> PPEM must be an integer on hinted fonts.</summary> |
| 968 | |
| 969 | * [com.google.fonts/check/integer_ppem_if_hinted](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/integer_ppem_if_hinted) |
| 970 | <pre>--- Rationale --- |
| 971 | |
| 972 | Hinted fonts must have head table flag bit 3 set. |
| 973 | |
| 974 | Per https://docs.microsoft.com/en-us/typography/opentype/spec/head, bit 3 of |
| 975 | Head::flags decides whether PPEM should be rounded. This bit should always be |
| 976 | set for hinted fonts. |
| 977 | |
| 978 | Note: |
| 979 | Bit 3 = Force ppem to integer values for all internal scaler math; |
| 980 | May use fractional ppem sizes if this bit is clear; |
| 981 | |
| 982 | |
| 983 | </pre> |
| 984 | |
| 985 | * 💤 **SKIP** Unfulfilled Conditions: is_hinted |
| 986 | |
| 987 | </details> |
| 988 | <details> |
| 989 | <summary>💤 <b>SKIP:</b> Directory name in GFonts repo structure must match NameID 1 of the regular.</summary> |
| 990 | |
| 991 | * [com.google.fonts/check/repo/dirname_matches_nameid_1](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/repo/dirname_matches_nameid_1) |
| 992 | |
| 993 | * 💤 **SKIP** Unfulfilled Conditions: gfonts_repo_structure, not is_variable_font |
| 994 | |
| 995 | </details> |
| 996 | <details> |
| 997 | <summary>💤 <b>SKIP:</b> Check if the vertical metrics of a family are similar to the same family hosted on Google Fonts.</summary> |
| 998 | |
| 999 | * [com.google.fonts/check/vertical_metrics_regressions](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/vertical_metrics_regressions) |
| 1000 | <pre>--- Rationale --- |
| 1001 | |
| 1002 | If the family already exists on Google Fonts, we need to ensure that the |
| 1003 | checked family's vertical metrics are similar. This check will test the |
| 1004 | following schema which was outlined in Fontbakery issue #1162 [1]: |
| 1005 | |
| 1006 | - The family should visually have the same vertical metrics as the |
| 1007 | Regular style hosted on Google Fonts. |
| 1008 | - If the family on Google Fonts has differing hhea and typo metrics, |
| 1009 | the family being checked should use the typo metrics for both the |
| 1010 | hhea and typo entries. |
| 1011 | - If the family on Google Fonts has use typo metrics not enabled and the |
| 1012 | family being checked has it enabled, the hhea and typo metrics |
| 1013 | should use the family on Google Fonts winAscent and winDescent values. |
| 1014 | - If the upms differ, the values must be scaled so the visual appearance |
| 1015 | is the same. |
| 1016 | |
| 1017 | [1] https://github.com/googlefonts/fontbakery/issues/1162 |
| 1018 | |
| 1019 | |
| 1020 | </pre> |
| 1021 | |
| 1022 | * 💤 **SKIP** Unfulfilled Conditions: remote_styles |
| 1023 | |
| 1024 | </details> |
| 1025 | <details> |
| 1026 | <summary>💤 <b>SKIP:</b> Checking with ftxvalidator.</summary> |
| 1027 | |
| 1028 | * [com.google.fonts/check/ftxvalidator](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/ftxvalidator) |
| 1029 | |
| 1030 | * 💤 **SKIP** Unfulfilled Conditions: ftxvalidator_is_available |
| 1031 | |
| 1032 | </details> |
| 1033 | <details> |
| 1034 | <summary>💤 <b>SKIP:</b> Each font in set of sibling families must have the same set of vertical metrics values.</summary> |
| 1035 | |
| 1036 | * [com.google.fonts/check/superfamily/vertical_metrics](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/superfamily/vertical_metrics) |
| 1037 | <pre>--- Rationale --- |
| 1038 | |
| 1039 | We may want all fonts within a super-family (all sibling families) to have the |
| 1040 | same vertical metrics so their line spacing is consistent across the |
| 1041 | super-family. |
| 1042 | |
| 1043 | This is an experimental extended version of |
| 1044 | com.google.fonts/check/superfamily/vertical_metrics and for now it will only |
| 1045 | result in WARNs. |
| 1046 | |
| 1047 | |
| 1048 | </pre> |
| 1049 | |
| 1050 | * 💤 **SKIP** Sibling families were not detected. |
| 1051 | |
| 1052 | </details> |
| 1053 | <details> |
| 1054 | <summary>💤 <b>SKIP:</b> Is the CFF subr/gsubr call depth > 10?</summary> |
| 1055 | |
| 1056 | * [com.adobe.fonts/check/cff_call_depth](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/cff.html#com.adobe.fonts/check/cff_call_depth) |
| 1057 | <pre>--- Rationale --- |
| 1058 | |
| 1059 | Per "The Type 2 Charstring Format, Technical Note #5177", the "Subr nesting, |
| 1060 | stack limit" is 10. |
| 1061 | |
| 1062 | |
| 1063 | </pre> |
| 1064 | |
| 1065 | * 💤 **SKIP** Unfulfilled Conditions: is_cff |
| 1066 | |
| 1067 | </details> |
| 1068 | <details> |
| 1069 | <summary>💤 <b>SKIP:</b> Is the CFF2 subr/gsubr call depth > 10?</summary> |
| 1070 | |
| 1071 | * [com.adobe.fonts/check/cff2_call_depth](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/cff.html#com.adobe.fonts/check/cff2_call_depth) |
| 1072 | <pre>--- Rationale --- |
| 1073 | |
| 1074 | Per "The CFF2 CharString Format", the "Subr nesting, stack limit" is 10. |
| 1075 | |
| 1076 | |
| 1077 | </pre> |
| 1078 | |
| 1079 | * 💤 **SKIP** Unfulfilled Conditions: is_cff2 |
| 1080 | |
| 1081 | </details> |
| 1082 | <details> |
| 1083 | <summary>💤 <b>SKIP:</b> CFF table FontName must match name table ID 6 (PostScript name).</summary> |
| 1084 | |
| 1085 | * [com.adobe.fonts/check/name/postscript_vs_cff](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.adobe.fonts/check/name/postscript_vs_cff) |
| 1086 | <pre>--- Rationale --- |
| 1087 | |
| 1088 | The PostScript name entries in the font's 'name' table should match the |
| 1089 | FontName string in the 'CFF ' table. |
| 1090 | |
| 1091 | The 'CFF ' table has a lot of information that is duplicated in other tables. |
| 1092 | This information should be consistent across tables, because there's no |
| 1093 | guarantee which table an app will get the data from. |
| 1094 | |
| 1095 | |
| 1096 | </pre> |
| 1097 | |
| 1098 | * 💤 **SKIP** Unfulfilled Conditions: is_cff |
| 1099 | |
| 1100 | </details> |
| 1101 | <details> |
| 1102 | <summary>💤 <b>SKIP:</b> The variable font 'wdth' (Width) axis coordinate must be 100 on the 'Regular' instance.</summary> |
| 1103 | |
| 1104 | * [com.google.fonts/check/varfont/regular_wdth_coord](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/regular_wdth_coord) |
| 1105 | <pre>--- Rationale --- |
| 1106 | |
| 1107 | According to the Open-Type spec's registered design-variation tag 'wdth' |
| 1108 | available at |
| 1109 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_wdth |
| 1110 | |
| 1111 | If a variable font has a 'wdth' (Width) axis, then the coordinate of its |
| 1112 | 'Regular' instance is required to be 100. |
| 1113 | |
| 1114 | |
| 1115 | </pre> |
| 1116 | |
| 1117 | * 💤 **SKIP** Unfulfilled Conditions: regular_wdth_coord |
| 1118 | |
| 1119 | </details> |
| 1120 | <details> |
| 1121 | <summary>💤 <b>SKIP:</b> The variable font 'slnt' (Slant) axis coordinate must be zero on the 'Regular' instance.</summary> |
| 1122 | |
| 1123 | * [com.google.fonts/check/varfont/regular_slnt_coord](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/regular_slnt_coord) |
| 1124 | <pre>--- Rationale --- |
| 1125 | |
| 1126 | According to the Open-Type spec's registered design-variation tag 'slnt' |
| 1127 | available at |
| 1128 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_slnt |
| 1129 | |
| 1130 | If a variable font has a 'slnt' (Slant) axis, then the coordinate of its |
| 1131 | 'Regular' instance is required to be zero. |
| 1132 | |
| 1133 | |
| 1134 | </pre> |
| 1135 | |
| 1136 | * 💤 **SKIP** Unfulfilled Conditions: regular_slnt_coord |
| 1137 | |
| 1138 | </details> |
| 1139 | <details> |
| 1140 | <summary>💤 <b>SKIP:</b> The variable font 'ital' (Italic) axis coordinate must be zero on the 'Regular' instance.</summary> |
| 1141 | |
| 1142 | * [com.google.fonts/check/varfont/regular_ital_coord](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/regular_ital_coord) |
| 1143 | <pre>--- Rationale --- |
| 1144 | |
| 1145 | According to the Open-Type spec's registered design-variation tag 'ital' |
| 1146 | available at |
| 1147 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_ital |
| 1148 | |
| 1149 | If a variable font has a 'ital' (Italic) axis, then the coordinate of its |
| 1150 | 'Regular' instance is required to be zero. |
| 1151 | |
| 1152 | |
| 1153 | </pre> |
| 1154 | |
| 1155 | * 💤 **SKIP** Unfulfilled Conditions: regular_ital_coord |
| 1156 | |
| 1157 | </details> |
| 1158 | <details> |
| 1159 | <summary>💤 <b>SKIP:</b> The variable font 'opsz' (Optical Size) axis coordinate should be between 9 and 13 on the 'Regular' instance.</summary> |
| 1160 | |
| 1161 | * [com.google.fonts/check/varfont/regular_opsz_coord](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/regular_opsz_coord) |
| 1162 | <pre>--- Rationale --- |
| 1163 | |
| 1164 | According to the Open-Type spec's registered design-variation tag 'opsz' |
| 1165 | available at |
| 1166 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_opsz |
| 1167 | |
| 1168 | If a variable font has a 'opsz' (Optical Size) axis, then the coordinate of its |
| 1169 | 'Regular' instance is recommended to be a value in the range 9 to 13. |
| 1170 | |
| 1171 | |
| 1172 | </pre> |
| 1173 | |
| 1174 | * 💤 **SKIP** Unfulfilled Conditions: regular_opsz_coord |
| 1175 | |
| 1176 | </details> |
| 1177 | <details> |
| 1178 | <summary>💤 <b>SKIP:</b> The variable font 'slnt' (Slant) axis coordinate specifies positive values in its range? </summary> |
| 1179 | |
| 1180 | * [com.google.fonts/check/varfont/slnt_range](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/slnt_range) |
| 1181 | <pre>--- Rationale --- |
| 1182 | |
| 1183 | The OpenType spec says at |
| 1184 | https://docs.microsoft.com/en-us/typography/opentype/spec/dvaraxistag_slnt |
| 1185 | that: |
| 1186 | |
| 1187 | [...] the scale for the Slant axis is interpreted as the angle of slant in |
| 1188 | counter-clockwise degrees from upright. This means that a typical, |
| 1189 | right-leaning oblique design will have a negative slant value. This matches the |
| 1190 | scale used for the italicAngle field in the post table. |
| 1191 | |
| 1192 | |
| 1193 | </pre> |
| 1194 | |
| 1195 | * 💤 **SKIP** Unfulfilled Conditions: slnt_axis |
| 1196 | |
| 1197 | </details> |
| 1198 | <details> |
| 1199 | <summary>ℹ <b>INFO:</b> Show hinting filesize impact.</summary> |
| 1200 | |
| 1201 | * [com.google.fonts/check/hinting_impact](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/hinting_impact) |
| 1202 | <pre>--- Rationale --- |
| 1203 | |
| 1204 | This check is merely informative, displaying and useful comparison of filesizes |
| 1205 | after ttfautohint usage versus unhinted font files. |
| 1206 | |
| 1207 | |
| 1208 | </pre> |
| 1209 | |
| 1210 | * ℹ **INFO** Hinting filesize impact: |
| 1211 | |
| 1212 | | | Manrope[wght].ttf | |
| 1213 | |:--- | ---:| |
| 1214 | | Dehinted Size | 157.1kb | |
| 1215 | | Hinted Size | 156.3kb | |
| 1216 | | Increase | -796 bytes | |
| 1217 | | Change | -0.5 % | |
| 1218 | [code: size-impact] |
| 1219 | |
| 1220 | </details> |
| 1221 | <details> |
| 1222 | <summary>ℹ <b>INFO:</b> Font has old ttfautohint applied?</summary> |
| 1223 | |
| 1224 | * [com.google.fonts/check/old_ttfautohint](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/old_ttfautohint) |
| 1225 | <pre>--- Rationale --- |
| 1226 | |
| 1227 | This check finds which version of ttfautohint was used, by inspecting name |
| 1228 | table entries and then finds which version of ttfautohint is currently |
| 1229 | installed in the system. |
| 1230 | |
| 1231 | |
| 1232 | </pre> |
| 1233 | |
| 1234 | * ℹ **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 4.501'] [code: version-not-detected] |
| 1235 | |
| 1236 | </details> |
| 1237 | <details> |
| 1238 | <summary>ℹ <b>INFO:</b> EPAR table present in font?</summary> |
| 1239 | |
| 1240 | * [com.google.fonts/check/epar](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/epar) |
| 1241 | <pre>--- Rationale --- |
| 1242 | |
| 1243 | The EPAR table is/was a way of expressing common licensing permissions and |
| 1244 | restrictions in metadata; while almost nothing supported it, Dave Crossland |
| 1245 | wonders that adding it to everything in Google Fonts could help make it more |
| 1246 | popular. |
| 1247 | |
| 1248 | More info is available at: |
| 1249 | https://davelab6.github.io/epar/ |
| 1250 | |
| 1251 | |
| 1252 | </pre> |
| 1253 | |
| 1254 | * ℹ **INFO** EPAR table not present in font. To learn more see https://github.com/googlefonts/fontbakery/issues/818 [code: lacks-EPAR] |
| 1255 | |
| 1256 | </details> |
| 1257 | <details> |
| 1258 | <summary>ℹ <b>INFO:</b> Is the Grid-fitting and Scan-conversion Procedure ('gasp') table set to optimize rendering?</summary> |
| 1259 | |
| 1260 | * [com.google.fonts/check/gasp](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/gasp) |
| 1261 | <pre>--- Rationale --- |
| 1262 | |
| 1263 | Traditionally version 0 'gasp' tables were set so that font sizes below 8 ppem |
| 1264 | had no grid fitting but did have antialiasing. From 9-16 ppem, just grid |
| 1265 | fitting. And fonts above 17ppem had both antialiasing and grid fitting toggled |
| 1266 | on. The use of accelerated graphics cards and higher resolution screens make |
| 1267 | this approach obsolete. Microsoft's DirectWrite pushed this even further with |
| 1268 | much improved rendering built into the OS and apps. |
| 1269 | |
| 1270 | In this scenario it makes sense to simply toggle all 4 flags ON for all font |
| 1271 | sizes. |
| 1272 | |
| 1273 | |
| 1274 | </pre> |
| 1275 | |
| 1276 | * ℹ **INFO** These are the ppm ranges declared on the gasp table: |
| 1277 | |
| 1278 | PPM <= 65535: |
| 1279 | flag = 0x0F |
| 1280 | - Use grid-fitting |
| 1281 | - Use grayscale rendering |
| 1282 | - Use gridfitting with ClearType symmetric smoothing |
| 1283 | - Use smoothing along multiple axes with ClearType® |
| 1284 | [code: ranges] |
| 1285 | * 🍞 **PASS** The 'gasp' table is correctly set, with one gaspRange:value of 0xFFFF:0x0F. |
| 1286 | |
| 1287 | </details> |
| 1288 | <details> |
| 1289 | <summary>ℹ <b>INFO:</b> Check for font-v versioning.</summary> |
| 1290 | |
| 1291 | * [com.google.fonts/check/fontv](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/fontv) |
| 1292 | <pre>--- Rationale --- |
| 1293 | |
| 1294 | The git sha1 tagging and dev/release features of Source Foundry `font-v` tool |
| 1295 | are awesome and we would love to consider upstreaming the approach into |
| 1296 | fontmake someday. For now we only emit a WARN if a given font does not yet |
| 1297 | follow the experimental versioning style, but at some point we may start |
| 1298 | enforcing it. |
| 1299 | |
| 1300 | |
| 1301 | </pre> |
| 1302 | |
| 1303 | * ℹ **INFO** Version string is: "Version 4.501" |
| 1304 | The version string must ideally include a git commit hash and either a "dev" or a "release" suffix such as in the example below: |
| 1305 | "Version 1.3; git-0d08353-release" [code: bad-format] |
| 1306 | |
| 1307 | </details> |
| 1308 | <details> |
| 1309 | <summary>ℹ <b>INFO:</b> Font contains all required tables?</summary> |
| 1310 | |
| 1311 | * [com.google.fonts/check/required_tables](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/required_tables) |
| 1312 | <pre>--- Rationale --- |
| 1313 | |
| 1314 | Depending on the typeface and coverage of a font, certain tables are |
| 1315 | recommended for optimum quality. For example, the performance of a non-linear |
| 1316 | font is improved if the VDMX, LTSH, and hdmx tables are present. Non-monospaced |
| 1317 | Latin fonts should have a kern table. A gasp table is necessary if a designer |
| 1318 | wants to influence the sizes at which grayscaling is used under Windows. A DSIG |
| 1319 | table containing a digital signature helps ensure the integrity of the font |
| 1320 | file. Etc. |
| 1321 | |
| 1322 | |
| 1323 | </pre> |
| 1324 | |
| 1325 | * ℹ **INFO** This font contains the following optional tables [GPOS, loca, GSUB, gasp, DSIG, prep] |
| 1326 | * 🍞 **PASS** Font contains all required tables. |
| 1327 | |
| 1328 | </details> |
| 1329 | <details> |
| 1330 | <summary>ℹ <b>INFO:</b> List all superfamily filepaths</summary> |
| 1331 | |
| 1332 | * [com.google.fonts/check/superfamily/list](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/superfamily/list) |
| 1333 | <pre>--- Rationale --- |
| 1334 | |
| 1335 | This is a merely informative check that lists all sibling families detected by |
| 1336 | fontbakery. |
| 1337 | |
| 1338 | Only the fontfiles in these directories will be considered in superfamily-level |
| 1339 | checks. |
| 1340 | |
| 1341 | |
| 1342 | </pre> |
| 1343 | |
| 1344 | * ℹ **INFO** . [code: family-path] |
| 1345 | |
| 1346 | </details> |
| 1347 | <details> |
| 1348 | <summary>🍞 <b>PASS:</b> Checking file is named canonically.</summary> |
| 1349 | |
| 1350 | * [com.google.fonts/check/canonical_filename](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/canonical_filename) |
| 1351 | <pre>--- Rationale --- |
| 1352 | |
| 1353 | A font's filename must be composed in the following manner: |
| 1354 | <familyname>-<stylename>.ttf |
| 1355 | |
| 1356 | - Nunito-Regular.ttf, |
| 1357 | - Oswald-BoldItalic.ttf |
| 1358 | |
| 1359 | Variable fonts must list the axis tags in alphabetical order in square brackets |
| 1360 | and separated by commas: |
| 1361 | |
| 1362 | - Roboto[wdth,wght].ttf |
| 1363 | - Familyname-Italic[wght].ttf |
| 1364 | |
| 1365 | |
| 1366 | </pre> |
| 1367 | |
| 1368 | * 🍞 **PASS** Manrope[wght].ttf is named canonically. |
| 1369 | |
| 1370 | </details> |
| 1371 | <details> |
| 1372 | <summary>🍞 <b>PASS:</b> Checking OS/2 fsType does not impose restrictions.</summary> |
| 1373 | |
| 1374 | * [com.google.fonts/check/fstype](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/fstype) |
| 1375 | <pre>--- Rationale --- |
| 1376 | |
| 1377 | The fsType in the OS/2 table is a legacy DRM-related field. Fonts in the Google |
| 1378 | Fonts collection must have it set to zero (also known as "Installable |
| 1379 | Embedding"). This setting indicates that the fonts can be embedded in documents |
| 1380 | and permanently installed by applications on remote systems. |
| 1381 | |
| 1382 | More detailed info is available at: |
| 1383 | https://docs.microsoft.com/en-us/typography/opentype/spec/os2#fstype |
| 1384 | |
| 1385 | |
| 1386 | </pre> |
| 1387 | |
| 1388 | * 🍞 **PASS** OS/2 fsType is properly set to zero. |
| 1389 | |
| 1390 | </details> |
| 1391 | <details> |
| 1392 | <summary>🍞 <b>PASS:</b> Checking OS/2 achVendID.</summary> |
| 1393 | |
| 1394 | * [com.google.fonts/check/vendor_id](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/vendor_id) |
| 1395 | |
| 1396 | * 🍞 **PASS** OS/2 VendorID 'SHMI' looks good! |
| 1397 | |
| 1398 | </details> |
| 1399 | <details> |
| 1400 | <summary>🍞 <b>PASS:</b> Check `Google Fonts Latin Core` glyph coverage.</summary> |
| 1401 | |
| 1402 | * [com.google.fonts/check/glyph_coverage](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/glyph_coverage) |
| 1403 | <pre>--- Rationale --- |
| 1404 | |
| 1405 | Google Fonts expects that fonts in its collection support at least the minimal |
| 1406 | set of characters defined in the `GF-latin-core` glyph-set. |
| 1407 | |
| 1408 | |
| 1409 | </pre> |
| 1410 | |
| 1411 | * 🍞 **PASS** OK |
| 1412 | |
| 1413 | </details> |
| 1414 | <details> |
| 1415 | <summary>🍞 <b>PASS:</b> Substitute copyright, registered and trademark symbols in name table entries.</summary> |
| 1416 | |
| 1417 | * [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) |
| 1418 | |
| 1419 | * 🍞 **PASS** No need to substitute copyright, registered and trademark symbols in name table entries of this font. |
| 1420 | |
| 1421 | </details> |
| 1422 | <details> |
| 1423 | <summary>🍞 <b>PASS:</b> Check license file has good copyright string.</summary> |
| 1424 | |
| 1425 | * [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) |
| 1426 | <pre>--- Rationale --- |
| 1427 | |
| 1428 | An OFL.txt file's first line should be the font copyright e.g: |
| 1429 | "Copyright 2019 The Montserrat Project Authors |
| 1430 | (https://github.com/julietaula/montserrat)" |
| 1431 | |
| 1432 | |
| 1433 | </pre> |
| 1434 | |
| 1435 | * 🍞 **PASS** looks good |
| 1436 | |
| 1437 | </details> |
| 1438 | <details> |
| 1439 | <summary>🍞 <b>PASS:</b> Description strings in the name table must not exceed 200 characters.</summary> |
| 1440 | |
| 1441 | * [com.google.fonts/check/name/description_max_length](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/description_max_length) |
| 1442 | <pre>--- Rationale --- |
| 1443 | |
| 1444 | An old FontLab version had a bug which caused it to store copyright notices in |
| 1445 | nameID 10 entries. |
| 1446 | |
| 1447 | In order to detect those and distinguish them from actual legitimate usage of |
| 1448 | this name table entry, we expect that such strings do not exceed a reasonable |
| 1449 | length of 200 chars. |
| 1450 | |
| 1451 | Longer strings are likely instances of the FontLab bug. |
| 1452 | |
| 1453 | |
| 1454 | </pre> |
| 1455 | |
| 1456 | * 🍞 **PASS** All description name records have reasonably small lengths. |
| 1457 | |
| 1458 | </details> |
| 1459 | <details> |
| 1460 | <summary>🍞 <b>PASS:</b> Version format is correct in 'name' table?</summary> |
| 1461 | |
| 1462 | * [com.google.fonts/check/name/version_format](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/version_format) |
| 1463 | |
| 1464 | * 🍞 **PASS** Version format in NAME table entries is correct. |
| 1465 | |
| 1466 | </details> |
| 1467 | <details> |
| 1468 | <summary>🍞 <b>PASS:</b> Make sure family name does not begin with a digit.</summary> |
| 1469 | |
| 1470 | * [com.google.fonts/check/name/familyname_first_char](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/familyname_first_char) |
| 1471 | <pre>--- Rationale --- |
| 1472 | |
| 1473 | Font family names which start with a numeral are often not discoverable in |
| 1474 | Windows applications. |
| 1475 | |
| 1476 | |
| 1477 | </pre> |
| 1478 | |
| 1479 | * 🍞 **PASS** Font family name first character is not a digit. |
| 1480 | |
| 1481 | </details> |
| 1482 | <details> |
| 1483 | <summary>🍞 <b>PASS:</b> Are there non-ASCII characters in ASCII-only NAME table entries?</summary> |
| 1484 | |
| 1485 | * [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) |
| 1486 | <pre>--- Rationale --- |
| 1487 | |
| 1488 | The OpenType spec requires ASCII for the POSTSCRIPT_NAME (nameID 6). |
| 1489 | |
| 1490 | For COPYRIGHT_NOTICE (nameID 0) ASCII is required because that string should be |
| 1491 | the same in CFF fonts which also have this requirement in the OpenType spec. |
| 1492 | |
| 1493 | Note: |
| 1494 | A common place where we find non-ASCII strings is on name table entries with |
| 1495 | NameID > 18, which are expressly for localising the ASCII-only IDs into Hindi / |
| 1496 | Arabic / etc. |
| 1497 | |
| 1498 | |
| 1499 | </pre> |
| 1500 | |
| 1501 | * 🍞 **PASS** None of the ASCII-only NAME table entries contain non-ASCII characteres. |
| 1502 | |
| 1503 | </details> |
| 1504 | <details> |
| 1505 | <summary>🍞 <b>PASS:</b> Copyright notices match canonical pattern in fonts</summary> |
| 1506 | |
| 1507 | * [com.google.fonts/check/font_copyright](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/font_copyright) |
| 1508 | |
| 1509 | * 🍞 **PASS** Name Table entry: Copyright field 'Copyright 2019 The Manrope Project Authors (https://github.com/sharanda/manrope)' matches canonical pattern. |
| 1510 | * 🍞 **PASS** Name table copyright entries are good |
| 1511 | |
| 1512 | </details> |
| 1513 | <details> |
| 1514 | <summary>🍞 <b>PASS:</b> Stricter unitsPerEm criteria for Google Fonts. </summary> |
| 1515 | |
| 1516 | * [com.google.fonts/check/unitsperem_strict](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/unitsperem_strict) |
| 1517 | <pre>--- Rationale --- |
| 1518 | |
| 1519 | Even though the OpenType spec allows unitsPerEm to be any value between 16 and |
| 1520 | 16384, the Google Fonts project aims at a narrower set of reasonable values. |
| 1521 | |
| 1522 | The spec suggests usage of powers of two in order to get some performance |
| 1523 | improvements on legacy renderers, so those values are acceptable. |
| 1524 | |
| 1525 | But value of 500 or 1000 are also acceptable, with the added benefit that it |
| 1526 | makes upm math easier for designers, while the performance hit of not using a |
| 1527 | power of two is most likely negligible nowadays. |
| 1528 | |
| 1529 | Another acceptable value is 2000. Since TT outlines are all integers (no |
| 1530 | floats), then instances in a VF suffer rounding compromises, and therefore a |
| 1531 | 1000 UPM is to small because it forces too many such compromises. |
| 1532 | |
| 1533 | Therefore 2000 is a good 'new VF standard', because 2000 is a simple 2x |
| 1534 | conversion from existing fonts drawn on a 1000 UPM, and anyone who knows what |
| 1535 | 10 units can do for 1000 UPM will know what 20 units does too. |
| 1536 | |
| 1537 | Additionally, values above 2048 would result in filesize increases with not |
| 1538 | much added benefit. |
| 1539 | |
| 1540 | |
| 1541 | </pre> |
| 1542 | |
| 1543 | * 🍞 **PASS** Font em size is good (unitsPerEm = 2000). |
| 1544 | |
| 1545 | </details> |
| 1546 | <details> |
| 1547 | <summary>🍞 <b>PASS:</b> Check name table: FONT_SUBFAMILY_NAME entries.</summary> |
| 1548 | |
| 1549 | * [com.google.fonts/check/name/subfamilyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/subfamilyname) |
| 1550 | |
| 1551 | * 🍞 **PASS** FONT_SUBFAMILY_NAME entries are all good. |
| 1552 | |
| 1553 | </details> |
| 1554 | <details> |
| 1555 | <summary>🍞 <b>PASS:</b> Check name table: TYPOGRAPHIC_SUBFAMILY_NAME entries.</summary> |
| 1556 | |
| 1557 | * [com.google.fonts/check/name/typographicsubfamilyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/typographicsubfamilyname) |
| 1558 | |
| 1559 | * 🍞 **PASS** TYPOGRAPHIC_SUBFAMILY_NAME entries are all good. |
| 1560 | |
| 1561 | </details> |
| 1562 | <details> |
| 1563 | <summary>🍞 <b>PASS:</b> Length of copyright notice must not exceed 500 characters.</summary> |
| 1564 | |
| 1565 | * [com.google.fonts/check/name/copyright_length](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/copyright_length) |
| 1566 | <pre>--- Rationale --- |
| 1567 | |
| 1568 | This is an arbitrary max length for the copyright notice field of the name |
| 1569 | table. We simply don't want such notices to be too long. Typically such notices |
| 1570 | are actually much shorter than this with a length of roughly 70 or 80 |
| 1571 | characters. |
| 1572 | |
| 1573 | |
| 1574 | </pre> |
| 1575 | |
| 1576 | * 🍞 **PASS** All copyright notice name entries on the 'name' table are shorter than 500 characters. |
| 1577 | |
| 1578 | </details> |
| 1579 | <details> |
| 1580 | <summary>🍞 <b>PASS:</b> Check a static ttf can be generated from a variable font.</summary> |
| 1581 | |
| 1582 | * [com.google.fonts/check/varfont/generate_static](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/varfont/generate_static) |
| 1583 | <pre>--- Rationale --- |
| 1584 | |
| 1585 | Google Fonts may serve static fonts which have been generated from variable |
| 1586 | fonts. This test will attempt to generate a static ttf using fontTool's varLib |
| 1587 | mutator. |
| 1588 | |
| 1589 | The target font will be the mean of each axis e.g: |
| 1590 | |
| 1591 | **VF font axes** |
| 1592 | |
| 1593 | - min weight, max weight = 400, 800 |
| 1594 | - min width, max width = 50, 100 |
| 1595 | |
| 1596 | **Target Instance** |
| 1597 | |
| 1598 | - weight = 600 |
| 1599 | - width = 75 |
| 1600 | |
| 1601 | |
| 1602 | </pre> |
| 1603 | |
| 1604 | * 🍞 **PASS** fontTools.varLib.mutator generated a static font instance |
| 1605 | |
| 1606 | </details> |
| 1607 | <details> |
| 1608 | <summary>🍞 <b>PASS:</b> Check that variable fonts have an HVAR table.</summary> |
| 1609 | |
| 1610 | * [com.google.fonts/check/varfont/has_HVAR](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/varfont/has_HVAR) |
| 1611 | <pre>--- Rationale --- |
| 1612 | |
| 1613 | Not having a HVAR table can lead to costly text-layout operations on some |
| 1614 | platforms, which we want to avoid. |
| 1615 | |
| 1616 | So, all variable fonts on the Google Fonts collection should have an HVAR with |
| 1617 | valid values. |
| 1618 | |
| 1619 | More info on the HVAR table can be found at: |
| 1620 | https://docs.microsoft.com/en-us/typography/opentype/spec/otvaroverview#variation-data-tables-and-miscellaneous-requirements |
| 1621 | |
| 1622 | |
| 1623 | </pre> |
| 1624 | |
| 1625 | * 🍞 **PASS** This variable font contains an HVAR table. |
| 1626 | |
| 1627 | </details> |
| 1628 | <details> |
| 1629 | <summary>🍞 <b>PASS:</b> Font enables smart dropout control in "prep" table instructions?</summary> |
| 1630 | |
| 1631 | * [com.google.fonts/check/smart_dropout](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/smart_dropout) |
| 1632 | <pre>--- Rationale --- |
| 1633 | |
| 1634 | This setup is meant to ensure consistent rendering quality for fonts across all |
| 1635 | devices (with different rendering/hinting capabilities). |
| 1636 | |
| 1637 | Below is the snippet of instructions we expect to see in the fonts: |
| 1638 | B8 01 FF PUSHW 0x01FF |
| 1639 | 85 SCANCTRL (unconditinally turn on |
| 1640 | dropout control mode) |
| 1641 | B0 04 PUSHB 0x04 |
| 1642 | 8D SCANTYPE (enable smart dropout control) |
| 1643 | |
| 1644 | "Smart dropout control" means activating rules 1, 2 and 5: |
| 1645 | Rule 1: If a pixel's center falls within the glyph outline, |
| 1646 | that pixel is turned on. |
| 1647 | Rule 2: If a contour falls exactly on a pixel's center, |
| 1648 | that pixel is turned on. |
| 1649 | Rule 5: If a scan line between two adjacent pixel centers |
| 1650 | (either vertical or horizontal) is intersected |
| 1651 | by both an on-Transition contour and an off-Transition |
| 1652 | contour and neither of the pixels was already turned on |
| 1653 | by rules 1 and 2, turn on the pixel which is closer to |
| 1654 | the midpoint between the on-Transition contour and |
| 1655 | off-Transition contour. This is "Smart" dropout control. |
| 1656 | |
| 1657 | For more detailed info (such as other rules not enabled in this snippet), |
| 1658 | please refer to the TrueType Instruction Set documentation. |
| 1659 | |
| 1660 | |
| 1661 | </pre> |
| 1662 | |
| 1663 | * 🍞 **PASS** 'prep' table contains instructions enabling smart dropout control. |
| 1664 | |
| 1665 | </details> |
| 1666 | <details> |
| 1667 | <summary>🍞 <b>PASS:</b> There must not be VTT Talk sources in the font.</summary> |
| 1668 | |
| 1669 | * [com.google.fonts/check/vttclean](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/vttclean) |
| 1670 | <pre>--- Rationale --- |
| 1671 | |
| 1672 | The goal here is to reduce filesizes and improve pageloading when dealing with |
| 1673 | webfonts. |
| 1674 | |
| 1675 | The VTT Talk sources are not necessary at runtime and endup being just dead |
| 1676 | weight when left embedded in the font binaries. The sources should be kept on |
| 1677 | the project files but stripped out when building release binaries. |
| 1678 | |
| 1679 | |
| 1680 | </pre> |
| 1681 | |
| 1682 | * 🍞 **PASS** There are no tables with VTT Talk sources embedded in the font. |
| 1683 | |
| 1684 | </details> |
| 1685 | <details> |
| 1686 | <summary>🍞 <b>PASS:</b> Are there unwanted Apple tables?</summary> |
| 1687 | |
| 1688 | * [com.google.fonts/check/aat](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/aat) |
| 1689 | <pre>--- Rationale --- |
| 1690 | |
| 1691 | Apple's TrueType reference manual [1] describes SFNT tables not in the |
| 1692 | Microsoft OpenType specification [2] and these can sometimes sneak into final |
| 1693 | release files, but Google Fonts should only have OpenType tables. |
| 1694 | |
| 1695 | [1] https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6.html |
| 1696 | [2] https://docs.microsoft.com/en-us/typography/opentype/spec/ |
| 1697 | |
| 1698 | |
| 1699 | </pre> |
| 1700 | |
| 1701 | * 🍞 **PASS** There are no unwanted AAT tables. |
| 1702 | |
| 1703 | </details> |
| 1704 | <details> |
| 1705 | <summary>🍞 <b>PASS:</b> All name entries referenced by fvar instances exist on the name table?</summary> |
| 1706 | |
| 1707 | * [com.google.fonts/check/fvar_name_entries](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/fvar_name_entries) |
| 1708 | <pre>--- Rationale --- |
| 1709 | |
| 1710 | The purpose of this check is to make sure that all name entries referenced by |
| 1711 | variable font instances do exist in the name table. |
| 1712 | |
| 1713 | |
| 1714 | </pre> |
| 1715 | |
| 1716 | * 🍞 **PASS** OK |
| 1717 | |
| 1718 | </details> |
| 1719 | <details> |
| 1720 | <summary>🍞 <b>PASS:</b> A variable font must have named instances.</summary> |
| 1721 | |
| 1722 | * [com.google.fonts/check/varfont_has_instances](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/varfont_has_instances) |
| 1723 | <pre>--- Rationale --- |
| 1724 | |
| 1725 | Named instances must be present in all variable fonts in order not to frustrate |
| 1726 | the users' typical expectations of a traditional static font workflow. |
| 1727 | |
| 1728 | |
| 1729 | </pre> |
| 1730 | |
| 1731 | * 🍞 **PASS** OK |
| 1732 | |
| 1733 | </details> |
| 1734 | <details> |
| 1735 | <summary>🍞 <b>PASS:</b> Variable font weight coordinates must be multiples of 100.</summary> |
| 1736 | |
| 1737 | * [com.google.fonts/check/varfont_weight_instances](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/varfont_weight_instances) |
| 1738 | <pre>--- Rationale --- |
| 1739 | |
| 1740 | The named instances on the weight axis of a variable font must have coordinates |
| 1741 | that are multiples of 100 on the design space. |
| 1742 | |
| 1743 | |
| 1744 | </pre> |
| 1745 | |
| 1746 | * 🍞 **PASS** OK |
| 1747 | |
| 1748 | </details> |
| 1749 | <details> |
| 1750 | <summary>🍞 <b>PASS:</b> Combined length of family and style must not exceed 27 characters.</summary> |
| 1751 | |
| 1752 | * [com.google.fonts/check/name/family_and_style_max_length](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/family_and_style_max_length) |
| 1753 | <pre>--- Rationale --- |
| 1754 | |
| 1755 | According to a GlyphsApp tutorial [1], in order to make sure all versions of |
| 1756 | Windows recognize it as a valid font file, we must make sure that the |
| 1757 | concatenated length of the familyname (NameID.FONT_FAMILY_NAME) and style |
| 1758 | (NameID.FONT_SUBFAMILY_NAME) strings in the name table do not exceed 20 |
| 1759 | characters. |
| 1760 | |
| 1761 | After discussing the problem in more detail at `FontBakery issue #2179 [2] we |
| 1762 | decided that allowing up to 27 chars would still be on the safe side, though. |
| 1763 | |
| 1764 | [1] |
| 1765 | https://glyphsapp.com/tutorials/multiple-masters-part-3-setting-up-instances |
| 1766 | [2] https://github.com/googlefonts/fontbakery/issues/2179 |
| 1767 | |
| 1768 | |
| 1769 | </pre> |
| 1770 | |
| 1771 | * 🍞 **PASS** All name entries are good. |
| 1772 | |
| 1773 | </details> |
| 1774 | <details> |
| 1775 | <summary>🍞 <b>PASS:</b> Name table entries should not contain line-breaks.</summary> |
| 1776 | |
| 1777 | * [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) |
| 1778 | <pre>--- Rationale --- |
| 1779 | |
| 1780 | There are some entries on the name table that may include more than one line of |
| 1781 | text. The Google Fonts team, though, prefers to keep the name table entries |
| 1782 | short and simple without line breaks. |
| 1783 | |
| 1784 | For instance, some designers like to include the full text of a font license in |
| 1785 | the "copyright notice" entry, but for the GFonts collection this entry should |
| 1786 | only mention year, author and other basic info in a manner enforced by |
| 1787 | com.google.fonts/check/font_copyright |
| 1788 | |
| 1789 | |
| 1790 | </pre> |
| 1791 | |
| 1792 | * 🍞 **PASS** Name table entries are all single-line (no line-breaks found). |
| 1793 | |
| 1794 | </details> |
| 1795 | <details> |
| 1796 | <summary>🍞 <b>PASS:</b> Name table strings must not contain the string 'Reserved Font Name'.</summary> |
| 1797 | |
| 1798 | * [com.google.fonts/check/name/rfn](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/rfn) |
| 1799 | <pre>--- Rationale --- |
| 1800 | |
| 1801 | Some designers adopt the "Reserved Font Name" clause of the OFL license. This |
| 1802 | means that the original author reserves the rights to the family name and other |
| 1803 | people can only distribute modified versions using a different family name. |
| 1804 | |
| 1805 | Google Fonts published updates to the fonts in the collection in order to fix |
| 1806 | issues and/or implement further improvements to the fonts. It is important to |
| 1807 | keep the family name so that users of the webfonts can benefit from the |
| 1808 | updates. Since it would forbid such usage scenario, all families in the GFonts |
| 1809 | collection are required to not adopt the RFN clause. |
| 1810 | |
| 1811 | This check ensures "Reserved Font Name" is not mentioned in the name table. |
| 1812 | |
| 1813 | |
| 1814 | </pre> |
| 1815 | |
| 1816 | * 🍞 **PASS** None of the name table strings contain "Reserved Font Name". |
| 1817 | |
| 1818 | </details> |
| 1819 | <details> |
| 1820 | <summary>🍞 <b>PASS:</b> A static fonts directory with at least two fonts must accompany variable fonts</summary> |
| 1821 | |
| 1822 | * [com.google.fonts/check/repo/vf_has_static_fonts](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/repo/vf_has_static_fonts) |
| 1823 | <pre>--- Rationale --- |
| 1824 | |
| 1825 | Variable font family directories kept in the google/fonts git repo must include |
| 1826 | a static/ subdir containing static fonts. |
| 1827 | These files are meant to be served for users that still lack support for |
| 1828 | variable fonts in their web browsers. |
| 1829 | |
| 1830 | |
| 1831 | </pre> |
| 1832 | |
| 1833 | * 🍞 **PASS** OK |
| 1834 | |
| 1835 | </details> |
| 1836 | <details> |
| 1837 | <summary>🍞 <b>PASS:</b> Check variable font instances have correct coordinate values</summary> |
| 1838 | |
| 1839 | * [com.google.fonts/check/varfont_instance_coordinates](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/varfont_instance_coordinates) |
| 1840 | |
| 1841 | * 🍞 **PASS** Instance coordinates are correct |
| 1842 | |
| 1843 | </details> |
| 1844 | <details> |
| 1845 | <summary>🍞 <b>PASS:</b> Check variable font instances have correct names</summary> |
| 1846 | |
| 1847 | * [com.google.fonts/check/varfont_instance_names](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/varfont_instance_names) |
| 1848 | |
| 1849 | * 🍞 **PASS** Instance names are correct |
| 1850 | |
| 1851 | </details> |
| 1852 | <details> |
| 1853 | <summary>🍞 <b>PASS:</b> Name table records must not have trailing spaces.</summary> |
| 1854 | |
| 1855 | * [com.google.fonts/check/name/trailing_spaces](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/name/trailing_spaces) |
| 1856 | |
| 1857 | * 🍞 **PASS** No trailing spaces on name table entries. |
| 1858 | |
| 1859 | </details> |
| 1860 | <details> |
| 1861 | <summary>🍞 <b>PASS:</b> Checking OS/2 usWinAscent & usWinDescent.</summary> |
| 1862 | |
| 1863 | * [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) |
| 1864 | <pre>--- Rationale --- |
| 1865 | |
| 1866 | A font's winAscent and winDescent values should be greater than the head |
| 1867 | table's yMax, abs(yMin) values. If they are less than these values, clipping |
| 1868 | can occur on Windows platforms |
| 1869 | (https://github.com/RedHatBrand/Overpass/issues/33). |
| 1870 | |
| 1871 | If the font includes tall/deep writing systems such as Arabic or Devanagari, |
| 1872 | the winAscent and winDescent can be greater than the yMax and abs(yMin) to |
| 1873 | accommodate vowel marks. |
| 1874 | |
| 1875 | When the win Metrics are significantly greater than the upm, the linespacing |
| 1876 | can appear too loose. To counteract this, enabling the OS/2 fsSelection bit 7 |
| 1877 | (Use_Typo_Metrics), will force Windows to use the OS/2 typo values instead. |
| 1878 | This means the font developer can control the linespacing with the typo values, |
| 1879 | whilst avoiding clipping by setting the win values to values greater than the |
| 1880 | yMax and abs(yMin). |
| 1881 | |
| 1882 | |
| 1883 | </pre> |
| 1884 | |
| 1885 | * 🍞 **PASS** OS/2 usWinAscent & usWinDescent values look good! |
| 1886 | |
| 1887 | </details> |
| 1888 | <details> |
| 1889 | <summary>🍞 <b>PASS:</b> Checking OS/2 Metrics match hhea Metrics.</summary> |
| 1890 | |
| 1891 | * [com.google.fonts/check/os2_metrics_match_hhea](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/os2_metrics_match_hhea) |
| 1892 | <pre>--- Rationale --- |
| 1893 | |
| 1894 | When OS/2 and hhea vertical metrics match, the same linespacing results on |
| 1895 | macOS, GNU+Linux and Windows. Unfortunately as of 2018, Google Fonts has |
| 1896 | released many fonts with vertical metrics that don't match in this way. When we |
| 1897 | fix this issue in these existing families, we will create a visible change in |
| 1898 | line/paragraph layout for either Windows or macOS users, which will upset some |
| 1899 | of them. |
| 1900 | |
| 1901 | But we have a duty to fix broken stuff, and inconsistent paragraph layout is |
| 1902 | unacceptably broken when it is possible to avoid it. |
| 1903 | |
| 1904 | If users complain and prefer the old broken version, they have the freedom to |
| 1905 | take care of their own situation. |
| 1906 | |
| 1907 | |
| 1908 | </pre> |
| 1909 | |
| 1910 | * 🍞 **PASS** OS/2.sTypoAscender/Descender values match hhea.ascent/descent. |
| 1911 | |
| 1912 | </details> |
| 1913 | <details> |
| 1914 | <summary>🍞 <b>PASS:</b> Checking with ots-sanitize.</summary> |
| 1915 | |
| 1916 | * [com.google.fonts/check/ots](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/ots) |
| 1917 | |
| 1918 | * 🍞 **PASS** ots-sanitize passed this file |
| 1919 | |
| 1920 | </details> |
| 1921 | <details> |
| 1922 | <summary>🍞 <b>PASS:</b> Font contains .notdef as first glyph?</summary> |
| 1923 | |
| 1924 | * [com.google.fonts/check/mandatory_glyphs](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/mandatory_glyphs) |
| 1925 | <pre>--- Rationale --- |
| 1926 | |
| 1927 | The OpenType specification v1.8.2 recommends that the first glyph is the |
| 1928 | .notdef glyph without a codepoint assigned and with a drawing. |
| 1929 | |
| 1930 | https://docs.microsoft.com/en-us/typography/opentype/spec/recom#glyph-0-the-notdef-glyph |
| 1931 | |
| 1932 | Pre-v1.8, it was recommended that a font should also contain a .null, CR and |
| 1933 | space glyph. This might have been relevant for applications on MacOS 9. |
| 1934 | |
| 1935 | |
| 1936 | </pre> |
| 1937 | |
| 1938 | * 🍞 **PASS** Font contains the .notdef glyph as the first glyph, it does not have a Unicode value assigned and contains a drawing. |
| 1939 | |
| 1940 | </details> |
| 1941 | <details> |
| 1942 | <summary>🍞 <b>PASS:</b> Font contains glyphs for whitespace characters?</summary> |
| 1943 | |
| 1944 | * [com.google.fonts/check/whitespace_glyphs](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/whitespace_glyphs) |
| 1945 | |
| 1946 | * 🍞 **PASS** Font contains glyphs for whitespace characters. |
| 1947 | |
| 1948 | </details> |
| 1949 | <details> |
| 1950 | <summary>🍞 <b>PASS:</b> Font has **proper** whitespace glyph names?</summary> |
| 1951 | |
| 1952 | * [com.google.fonts/check/whitespace_glyphnames](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/whitespace_glyphnames) |
| 1953 | |
| 1954 | * 🍞 **PASS** Font has **proper** whitespace glyph names. |
| 1955 | |
| 1956 | </details> |
| 1957 | <details> |
| 1958 | <summary>🍞 <b>PASS:</b> Whitespace glyphs have ink?</summary> |
| 1959 | |
| 1960 | * [com.google.fonts/check/whitespace_ink](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/whitespace_ink) |
| 1961 | |
| 1962 | * 🍞 **PASS** There is no whitespace glyph with ink. |
| 1963 | |
| 1964 | </details> |
| 1965 | <details> |
| 1966 | <summary>🍞 <b>PASS:</b> Are there unwanted tables?</summary> |
| 1967 | |
| 1968 | * [com.google.fonts/check/unwanted_tables](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/unwanted_tables) |
| 1969 | <pre>--- Rationale --- |
| 1970 | |
| 1971 | Some font editors store source data in their own SFNT tables, and these can |
| 1972 | sometimes sneak into final release files, which should only have OpenType spec |
| 1973 | tables. |
| 1974 | |
| 1975 | |
| 1976 | </pre> |
| 1977 | |
| 1978 | * 🍞 **PASS** There are no unwanted tables. |
| 1979 | |
| 1980 | </details> |
| 1981 | <details> |
| 1982 | <summary>🍞 <b>PASS:</b> Glyph names are all valid?</summary> |
| 1983 | |
| 1984 | * [com.google.fonts/check/valid_glyphnames](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/valid_glyphnames) |
| 1985 | <pre>--- Rationale --- |
| 1986 | |
| 1987 | Microsoft's recommendations for OpenType Fonts states the following: |
| 1988 | |
| 1989 | 'NOTE: The PostScript glyph name must be no longer than 31 characters, include |
| 1990 | only uppercase or lowercase English letters, European digits, the period or the |
| 1991 | underscore, i.e. from the set [A-Za-z0-9_.] and should start with a letter, |
| 1992 | except the special glyph name ".notdef" which starts with a period.' |
| 1993 | |
| 1994 | https://docs.microsoft.com/en-us/typography/opentype/spec/recom#post-table |
| 1995 | |
| 1996 | |
| 1997 | </pre> |
| 1998 | |
| 1999 | * 🍞 **PASS** Glyph names are all valid. |
| 2000 | |
| 2001 | </details> |
| 2002 | <details> |
| 2003 | <summary>🍞 <b>PASS:</b> Font contains unique glyph names?</summary> |
| 2004 | |
| 2005 | * [com.google.fonts/check/unique_glyphnames](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/unique_glyphnames) |
| 2006 | <pre>--- Rationale --- |
| 2007 | |
| 2008 | Duplicate glyph names prevent font installation on Mac OS X. |
| 2009 | |
| 2010 | |
| 2011 | </pre> |
| 2012 | |
| 2013 | * 🍞 **PASS** Font contains unique glyph names. |
| 2014 | |
| 2015 | </details> |
| 2016 | <details> |
| 2017 | <summary>🍞 <b>PASS:</b> Checking with fontTools.ttx</summary> |
| 2018 | |
| 2019 | * [com.google.fonts/check/ttx-roundtrip](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/universal.html#com.google.fonts/check/ttx-roundtrip) |
| 2020 | |
| 2021 | * 🍞 **PASS** Hey! It all looks good! |
| 2022 | |
| 2023 | </details> |
| 2024 | <details> |
| 2025 | <summary>🍞 <b>PASS:</b> Check all glyphs have codepoints assigned.</summary> |
| 2026 | |
| 2027 | * [com.google.fonts/check/all_glyphs_have_codepoints](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/cmap.html#com.google.fonts/check/all_glyphs_have_codepoints) |
| 2028 | |
| 2029 | * 🍞 **PASS** All glyphs have a codepoint value assigned. |
| 2030 | |
| 2031 | </details> |
| 2032 | <details> |
| 2033 | <summary>🍞 <b>PASS:</b> Checking unitsPerEm value is reasonable.</summary> |
| 2034 | |
| 2035 | * [com.google.fonts/check/unitsperem](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/head.html#com.google.fonts/check/unitsperem) |
| 2036 | <pre>--- Rationale --- |
| 2037 | |
| 2038 | According to the OpenType spec: |
| 2039 | |
| 2040 | The value of unitsPerEm at the head table must be a value between 16 and 16384. |
| 2041 | Any value in this range is valid. |
| 2042 | |
| 2043 | In fonts that have TrueType outlines, a power of 2 is recommended as this |
| 2044 | allows performance optimizations in some rasterizers. |
| 2045 | |
| 2046 | But 1000 is a commonly used value. And 2000 may become increasingly more common |
| 2047 | on Variable Fonts. |
| 2048 | |
| 2049 | |
| 2050 | </pre> |
| 2051 | |
| 2052 | * 🍞 **PASS** The unitsPerEm value (2000) on the 'head' table is reasonable. |
| 2053 | |
| 2054 | </details> |
| 2055 | <details> |
| 2056 | <summary>🍞 <b>PASS:</b> Checking font version fields (head and name table).</summary> |
| 2057 | |
| 2058 | * [com.google.fonts/check/font_version](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/head.html#com.google.fonts/check/font_version) |
| 2059 | |
| 2060 | * 🍞 **PASS** All font version fields match. |
| 2061 | |
| 2062 | </details> |
| 2063 | <details> |
| 2064 | <summary>🍞 <b>PASS:</b> Check if OS/2 xAvgCharWidth is correct.</summary> |
| 2065 | |
| 2066 | * [com.google.fonts/check/xavgcharwidth](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/os2.html#com.google.fonts/check/xavgcharwidth) |
| 2067 | |
| 2068 | * 🍞 **PASS** OS/2 xAvgCharWidth value is correct. |
| 2069 | |
| 2070 | </details> |
| 2071 | <details> |
| 2072 | <summary>🍞 <b>PASS:</b> Check if OS/2 fsSelection matches head macStyle bold and italic bits.</summary> |
| 2073 | |
| 2074 | * [com.adobe.fonts/check/fsselection_matches_macstyle](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/os2.html#com.adobe.fonts/check/fsselection_matches_macstyle) |
| 2075 | <pre>--- Rationale --- |
| 2076 | |
| 2077 | The bold and italic bits in OS/2.fsSelection must match the bold and italic |
| 2078 | bits in head.macStyle per the OpenType spec. |
| 2079 | |
| 2080 | |
| 2081 | </pre> |
| 2082 | |
| 2083 | * 🍞 **PASS** The OS/2.fsSelection and head.macStyle bold and italic settings match. |
| 2084 | |
| 2085 | </details> |
| 2086 | <details> |
| 2087 | <summary>🍞 <b>PASS:</b> Check code page character ranges</summary> |
| 2088 | |
| 2089 | * [com.google.fonts/check/code_pages](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/os2.html#com.google.fonts/check/code_pages) |
| 2090 | <pre>--- Rationale --- |
| 2091 | |
| 2092 | At least some programs (such as Word and Sublime Text) under Windows 7 do not |
| 2093 | recognize fonts unless code page bits are properly set on the ulCodePageRange1 |
| 2094 | (and/or ulCodePageRange2) fields of the OS/2 table. |
| 2095 | |
| 2096 | More specifically, the fonts are selectable in the font menu, but whichever |
| 2097 | Windows API these applications use considers them unsuitable for any character |
| 2098 | set, so anything set in these fonts is rendered with a fallback font of Arial. |
| 2099 | |
| 2100 | This check currently does not identify which code pages should be set. |
| 2101 | Auto-detecting coverage is not trivial since the OpenType specification leaves |
| 2102 | the interpretation of whether a given code page is "functional" or not open to |
| 2103 | the font developer to decide. |
| 2104 | |
| 2105 | So here we simply detect as a FAIL when a given font has no code page declared |
| 2106 | at all. |
| 2107 | |
| 2108 | |
| 2109 | </pre> |
| 2110 | |
| 2111 | * 🍞 **PASS** At least one code page is defined. |
| 2112 | |
| 2113 | </details> |
| 2114 | <details> |
| 2115 | <summary>🍞 <b>PASS:</b> Font has correct post table version?</summary> |
| 2116 | |
| 2117 | * [com.google.fonts/check/post_table_version](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/post.html#com.google.fonts/check/post_table_version) |
| 2118 | <pre>--- Rationale --- |
| 2119 | |
| 2120 | Apple recommends against using 'post' table format 3 under most circumstances, |
| 2121 | as it can create problems with some printer drivers and PDF documents. The |
| 2122 | savings in disk space usually does not justify the potential loss in |
| 2123 | functionality. |
| 2124 | Source: |
| 2125 | https://developer.apple.com/fonts/TrueType-Reference-Manual/RM06/Chap6post.html |
| 2126 | |
| 2127 | The CFF2 table does not contain glyph names, so variable OTFs should be allowed |
| 2128 | to use post table version 2. |
| 2129 | |
| 2130 | This check expects: |
| 2131 | - Version 2 for TTF or OTF CFF2 Variable fonts |
| 2132 | - Version 3 for OTF |
| 2133 | |
| 2134 | |
| 2135 | </pre> |
| 2136 | |
| 2137 | * 🍞 **PASS** Font has post table version 2. |
| 2138 | |
| 2139 | </details> |
| 2140 | <details> |
| 2141 | <summary>🍞 <b>PASS:</b> Check name table for empty records.</summary> |
| 2142 | |
| 2143 | * [com.adobe.fonts/check/name/empty_records](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.adobe.fonts/check/name/empty_records) |
| 2144 | <pre>--- Rationale --- |
| 2145 | |
| 2146 | Check the name table for empty records, as this can cause problems in Adobe |
| 2147 | apps. |
| 2148 | |
| 2149 | |
| 2150 | </pre> |
| 2151 | |
| 2152 | * 🍞 **PASS** No empty name table records found. |
| 2153 | |
| 2154 | </details> |
| 2155 | <details> |
| 2156 | <summary>🍞 <b>PASS:</b> Description strings in the name table must not contain copyright info.</summary> |
| 2157 | |
| 2158 | * [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) |
| 2159 | |
| 2160 | * 🍞 **PASS** Description strings in the name table do not contain any copyright string. |
| 2161 | |
| 2162 | </details> |
| 2163 | <details> |
| 2164 | <summary>🍞 <b>PASS:</b> Checking correctness of monospaced metadata.</summary> |
| 2165 | |
| 2166 | * [com.google.fonts/check/monospace](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.google.fonts/check/monospace) |
| 2167 | <pre>--- Rationale --- |
| 2168 | |
| 2169 | There are various metadata in the OpenType spec to specify if a font is |
| 2170 | monospaced or not. If the font is not trully monospaced, then no monospaced |
| 2171 | metadata should be set (as sometimes they mistakenly are...) |
| 2172 | |
| 2173 | Requirements for monospace fonts: |
| 2174 | |
| 2175 | * post.isFixedPitch - "Set to 0 if the font is proportionally spaced, non-zero |
| 2176 | if the font is not proportionally spaced (monospaced)" |
| 2177 | www.microsoft.com/typography/otspec/post.htm |
| 2178 | |
| 2179 | * hhea.advanceWidthMax must be correct, meaning no glyph's width value is |
| 2180 | greater. |
| 2181 | www.microsoft.com/typography/otspec/hhea.htm |
| 2182 | |
| 2183 | * OS/2.panose.bProportion must be set to 9 (monospace). Spec says: "The PANOSE |
| 2184 | definition contains ten digits each of which currently describes up to sixteen |
| 2185 | variations. Windows uses bFamilyType, bSerifStyle and bProportion in the font |
| 2186 | mapper to determine family type. It also uses bProportion to determine if the |
| 2187 | font is monospaced." |
| 2188 | www.microsoft.com/typography/otspec/os2.htm#pan |
| 2189 | monotypecom-test.monotype.de/services/pan2 |
| 2190 | |
| 2191 | * OS/2.xAvgCharWidth must be set accurately. |
| 2192 | "OS/2.xAvgCharWidth is used when rendering monospaced fonts, at least by |
| 2193 | Windows GDI" |
| 2194 | http://typedrawers.com/discussion/comment/15397/#Comment_15397 |
| 2195 | |
| 2196 | Also we should report an error for glyphs not of average width. |
| 2197 | |
| 2198 | Please also note: |
| 2199 | Thomas Phinney told us that a few years ago (as of December 2019), if you gave |
| 2200 | a font a monospace flag in Panose, Microsoft Word would ignore the actual |
| 2201 | advance widths and treat it as monospaced. Source: |
| 2202 | https://typedrawers.com/discussion/comment/45140/#Comment_45140 |
| 2203 | |
| 2204 | |
| 2205 | </pre> |
| 2206 | |
| 2207 | * 🍞 **PASS** Font is not monospaced and all related metadata look good. [code: good] |
| 2208 | |
| 2209 | </details> |
| 2210 | <details> |
| 2211 | <summary>🍞 <b>PASS:</b> Does full font name begin with the font family name?</summary> |
| 2212 | |
| 2213 | * [com.google.fonts/check/name/match_familyname_fullfont](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.google.fonts/check/name/match_familyname_fullfont) |
| 2214 | |
| 2215 | * 🍞 **PASS** Full font name begins with the font family name. |
| 2216 | |
| 2217 | </details> |
| 2218 | <details> |
| 2219 | <summary>🍞 <b>PASS:</b> Font follows the family naming recommendations?</summary> |
| 2220 | |
| 2221 | * [com.google.fonts/check/family_naming_recommendations](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.google.fonts/check/family_naming_recommendations) |
| 2222 | |
| 2223 | * 🍞 **PASS** Font follows the family naming recommendations. |
| 2224 | |
| 2225 | </details> |
| 2226 | <details> |
| 2227 | <summary>🍞 <b>PASS:</b> Name table ID 6 (PostScript name) must be consistent across platforms.</summary> |
| 2228 | |
| 2229 | * [com.adobe.fonts/check/name/postscript_name_consistency](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/name.html#com.adobe.fonts/check/name/postscript_name_consistency) |
| 2230 | <pre>--- Rationale --- |
| 2231 | |
| 2232 | The PostScript name entries in the font's 'name' table should be consistent |
| 2233 | across platforms. |
| 2234 | |
| 2235 | This is the TTF/CFF2 equivalent of the CFF 'postscript_name_cff_vs_name' check. |
| 2236 | |
| 2237 | |
| 2238 | </pre> |
| 2239 | |
| 2240 | * 🍞 **PASS** Entries in the "name" table for ID 6 (PostScript name) are consistent. |
| 2241 | |
| 2242 | </details> |
| 2243 | <details> |
| 2244 | <summary>🍞 <b>PASS:</b> Does the number of glyphs in the loca table match the maxp table?</summary> |
| 2245 | |
| 2246 | * [com.google.fonts/check/loca/maxp_num_glyphs](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/loca.html#com.google.fonts/check/loca/maxp_num_glyphs) |
| 2247 | |
| 2248 | * 🍞 **PASS** 'loca' table matches numGlyphs in 'maxp' table. |
| 2249 | |
| 2250 | </details> |
| 2251 | <details> |
| 2252 | <summary>🍞 <b>PASS:</b> Checking Vertical Metric Linegaps.</summary> |
| 2253 | |
| 2254 | * [com.google.fonts/check/linegaps](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/hhea.html#com.google.fonts/check/linegaps) |
| 2255 | |
| 2256 | * 🍞 **PASS** OS/2 sTypoLineGap and hhea lineGap are both 0. |
| 2257 | |
| 2258 | </details> |
| 2259 | <details> |
| 2260 | <summary>🍞 <b>PASS:</b> MaxAdvanceWidth is consistent with values in the Hmtx and Hhea tables?</summary> |
| 2261 | |
| 2262 | * [com.google.fonts/check/maxadvancewidth](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/hhea.html#com.google.fonts/check/maxadvancewidth) |
| 2263 | |
| 2264 | * 🍞 **PASS** MaxAdvanceWidth is consistent with values in the Hmtx and Hhea tables. |
| 2265 | |
| 2266 | </details> |
| 2267 | <details> |
| 2268 | <summary>🍞 <b>PASS:</b> Does the font have a DSIG table?</summary> |
| 2269 | |
| 2270 | * [com.google.fonts/check/dsig](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/dsig.html#com.google.fonts/check/dsig) |
| 2271 | <pre>--- Rationale --- |
| 2272 | |
| 2273 | Microsoft Office 2013 and below products expect fonts to have a digital |
| 2274 | signature declared in a DSIG table in order to implement OpenType features. The |
| 2275 | EOL date for Microsoft Office 2013 products is 4/11/2023. This issue does not |
| 2276 | impact Microsoft Office 2016 and above products. |
| 2277 | |
| 2278 | This checks verifies that this signature is available in the font. |
| 2279 | |
| 2280 | A fake signature is enough to address this issue. If needed, a dummy table can |
| 2281 | be added to the font with the `gftools fix-dsig` script available at |
| 2282 | https://github.com/googlefonts/gftools |
| 2283 | |
| 2284 | Reference: https://github.com/googlefonts/fontbakery/issues/1845 |
| 2285 | |
| 2286 | |
| 2287 | </pre> |
| 2288 | |
| 2289 | * 🍞 **PASS** Digital Signature (DSIG) exists. |
| 2290 | |
| 2291 | </details> |
| 2292 | <details> |
| 2293 | <summary>🍞 <b>PASS:</b> Whitespace and non-breaking space have the same width?</summary> |
| 2294 | |
| 2295 | * [com.google.fonts/check/whitespace_widths](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/hmtx.html#com.google.fonts/check/whitespace_widths) |
| 2296 | |
| 2297 | * 🍞 **PASS** Whitespace and non-breaking space have the same width. |
| 2298 | |
| 2299 | </details> |
| 2300 | <details> |
| 2301 | <summary>🍞 <b>PASS:</b> Does GPOS table have kerning information?</summary> |
| 2302 | |
| 2303 | * [com.google.fonts/check/gpos_kerning_info](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/gpos.html#com.google.fonts/check/gpos_kerning_info) |
| 2304 | |
| 2305 | * 🍞 **PASS** GPOS table has got kerning information. |
| 2306 | |
| 2307 | </details> |
| 2308 | <details> |
| 2309 | <summary>🍞 <b>PASS:</b> Is there a "kern" table declared in the font?</summary> |
| 2310 | |
| 2311 | * [com.google.fonts/check/kern_table](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/kern.html#com.google.fonts/check/kern_table) |
| 2312 | <pre>--- Rationale --- |
| 2313 | |
| 2314 | Even though all fonts should have their kerning implemented in the GPOS table, |
| 2315 | there may be kerning info at the kern table as well. |
| 2316 | |
| 2317 | Some applications such as MS PowerPoint require kerning info on the kern table. |
| 2318 | More specifically, they require a format 0 kern subtable from a kern table |
| 2319 | version 0, which is the only one that Windows understands (and which is also |
| 2320 | the simplest and more limited of all the kern subtables). |
| 2321 | |
| 2322 | Google Fonts ingests fonts made for download and use on desktops, and does all |
| 2323 | web font optimizations in the serving pipeline (using libre libraries that |
| 2324 | anyone can replicate.) |
| 2325 | |
| 2326 | Ideally, TTFs intended for desktop users (and thus the ones intended for Google |
| 2327 | Fonts) should have both KERN and GPOS tables. |
| 2328 | |
| 2329 | Given all of the above, we currently treat kerning on a v0 kern table as a |
| 2330 | good-to-have (but optional) feature. |
| 2331 | |
| 2332 | |
| 2333 | </pre> |
| 2334 | |
| 2335 | * 🍞 **PASS** Font does not declare an optional "kern" table. |
| 2336 | |
| 2337 | </details> |
| 2338 | <details> |
| 2339 | <summary>🍞 <b>PASS:</b> Is there any unused data at the end of the glyf table?</summary> |
| 2340 | |
| 2341 | * [com.google.fonts/check/glyf_unused_data](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/glyf.html#com.google.fonts/check/glyf_unused_data) |
| 2342 | |
| 2343 | * 🍞 **PASS** There is no unused data at the end of the glyf table. |
| 2344 | |
| 2345 | </details> |
| 2346 | <details> |
| 2347 | <summary>🍞 <b>PASS:</b> Check for points out of bounds.</summary> |
| 2348 | |
| 2349 | * [com.google.fonts/check/points_out_of_bounds](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/glyf.html#com.google.fonts/check/points_out_of_bounds) |
| 2350 | |
| 2351 | * 🍞 **PASS** All glyph paths have coordinates within bounds! |
| 2352 | |
| 2353 | </details> |
| 2354 | <details> |
| 2355 | <summary>🍞 <b>PASS:</b> Check glyphs do not have duplicate components which have the same x,y coordinates.</summary> |
| 2356 | |
| 2357 | * [com.google.fonts/check/glyf_non_transformed_duplicate_components](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/glyf.html#com.google.fonts/check/glyf_non_transformed_duplicate_components) |
| 2358 | <pre>--- Rationale --- |
| 2359 | |
| 2360 | There has been cases in which fonts had faulty double quote marks, with each of |
| 2361 | them containing two single quote marks as components with the same x, y |
| 2362 | coordinates which makes them visually look like single quote marks. |
| 2363 | |
| 2364 | This check ensures that glyphs do not contain duplicate components which have |
| 2365 | the same x,y coordinates. |
| 2366 | |
| 2367 | |
| 2368 | </pre> |
| 2369 | |
| 2370 | * 🍞 **PASS** Glyphs do not contain duplicate components which have the same x,y coordinates. |
| 2371 | |
| 2372 | </details> |
| 2373 | <details> |
| 2374 | <summary>🍞 <b>PASS:</b> The variable font 'wght' (Weight) axis coordinate must be 400 on the 'Regular' instance.</summary> |
| 2375 | |
| 2376 | * [com.google.fonts/check/varfont/regular_wght_coord](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/regular_wght_coord) |
| 2377 | <pre>--- Rationale --- |
| 2378 | |
| 2379 | According to the Open-Type spec's registered design-variation tag 'wght' |
| 2380 | available at |
| 2381 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_wght |
| 2382 | |
| 2383 | If a variable font has a 'wght' (Weight) axis, then the coordinate of its |
| 2384 | 'Regular' instance is required to be 400. |
| 2385 | |
| 2386 | |
| 2387 | </pre> |
| 2388 | |
| 2389 | * 🍞 **PASS** Regular:wght is 400. |
| 2390 | |
| 2391 | </details> |
| 2392 | <details> |
| 2393 | <summary>🍞 <b>PASS:</b> The variable font 'wght' (Weight) axis coordinate must be 700 on the 'Bold' instance.</summary> |
| 2394 | |
| 2395 | * [com.google.fonts/check/varfont/bold_wght_coord](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/bold_wght_coord) |
| 2396 | <pre>--- Rationale --- |
| 2397 | |
| 2398 | The Open-Type spec's registered design-variation tag 'wght' available at |
| 2399 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_wght does |
| 2400 | not specify a required value for the 'Bold' instance of a variable font. |
| 2401 | |
| 2402 | But Dave Crossland suggested that we should enforce a required value of 700 in |
| 2403 | this case. |
| 2404 | |
| 2405 | |
| 2406 | </pre> |
| 2407 | |
| 2408 | * 🍞 **PASS** Bold:wght is 700. |
| 2409 | |
| 2410 | </details> |
| 2411 | <details> |
| 2412 | <summary>🍞 <b>PASS:</b> The variable font 'wght' (Weight) axis coordinate must be within spec range of 1 to 1000 on all instances.</summary> |
| 2413 | |
| 2414 | * [com.google.fonts/check/varfont/wght_valid_range](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/wght_valid_range) |
| 2415 | <pre>--- Rationale --- |
| 2416 | |
| 2417 | According to the Open-Type spec's registered design-variation tag 'wght' |
| 2418 | available at |
| 2419 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_wght |
| 2420 | |
| 2421 | On the 'wght' (Weight) axis, the valid coordinate range is 1-1000. |
| 2422 | |
| 2423 | |
| 2424 | </pre> |
| 2425 | |
| 2426 | * 🍞 **PASS** OK |
| 2427 | |
| 2428 | </details> |
| 2429 | <details> |
| 2430 | <summary>🍞 <b>PASS:</b> The variable font 'wdth' (Weight) axis coordinate must be within spec range of 1 to 1000 on all instances.</summary> |
| 2431 | |
| 2432 | * [com.google.fonts/check/varfont/wdth_valid_range](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/fvar.html#com.google.fonts/check/varfont/wdth_valid_range) |
| 2433 | <pre>--- Rationale --- |
| 2434 | |
| 2435 | According to the Open-Type spec's registered design-variation tag 'wdth' |
| 2436 | available at |
| 2437 | https://docs.microsoft.com/en-gb/typography/opentype/spec/dvaraxistag_wdth |
| 2438 | |
| 2439 | On the 'wdth' (Width) axis, the valid coordinate range is 1-1000 |
| 2440 | |
| 2441 | |
| 2442 | </pre> |
| 2443 | |
| 2444 | * 🍞 **PASS** OK |
| 2445 | |
| 2446 | </details> |
| 2447 | <br> |
| 2448 | </details> |
| 2449 | |
| 2450 | ### Summary |
| 2451 | |
| 2452 | | 💔 ERROR | 🔥 FAIL | ⚠ WARN | 💤 SKIP | ℹ INFO | 🍞 PASS | 🔎 DEBUG | |
| 2453 | |:-----:|:----:|:----:|:----:|:----:|:----:|:----:| |
| 2454 | | 0 | 1 | 5 | 76 | 7 | 77 | 0 | |
| 2455 | | 0% | 1% | 3% | 46% | 4% | 46% | 0% | |