googlefonts / googlefonts/gftools

Builder is not including `Regular` in nameID4 and 6 of static fonts of custom axis

Open
#777 0 comments 0 reactions 0 assignees View on GitHub
bug builder
Dominant language
Python
Stars
283
Forks
73
Avg merge
21h 25m
Merged PRs (30d)
8

Description

Static fonts produced from fonts with only custom axes need to receive "Regular" as the instance name in Name ID4 and ID6.

E.g. The following fail is one of the reported for the [Homecomputer fonts](https://github.com/jenskutilek/homecomputer-fonts)
🔥 FAIL: Check font names are correct (com.google.fonts/check/font_names)

>
>Google Fonts has several rules which need to be adhered to when setting a font's name table. Please read: https://googlefonts.github.io/gf-guide/statics.html#supported-styles https://googlefonts.github.io/gf-guide/statics.html#style-linking https://googlefonts.github.io/gf-guide/statics.html#unsupported-styles https://googlefonts.github.io/gf-guide/statics.html#single-weight-families
>
* 🔥 **FAIL** Font names are incorrect:

| nameID | current | expected |
| :--- | :--- | :--- |
| Family Name | Sixtyfour Delicate | Sixtyfour Delicate |
| Subfamily Name | Regular | Regular |
| Full Name | **Sixtyfour Delicate** | **Sixtyfour Delicate Regular** |
| Postscript Name | **Sixtyfour-Delicate** | **SixtyfourDelicate-Regular** |
| Typographic Family Name | **Sixtyfour** | **N/A** |
| Typographic Subfamily Name | **Delicate** | **N/A** | [code: bad-names]
* ⚠ **WARN** Regular missing from full name [code: lacks-regular]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.