shantell-sans icon indicating copy to clipboard operation
shantell-sans copied to clipboard

Static font subfamilies include base font name for more than the four RIBBI fonts

Open arrowtype opened this issue 1 year ago • 0 comments

NameID 1 should only be the same for Regular, Italic, Bold, and Bold Italic. Other weights should put their weight name into NameID 1.

The designspace sources/shantell_sans-ital_wght_BNCE_INFM_SPAC--static-simplified.designspace needs to be adjusted to enable better style linking, and then the static fonts should be rebuilt. This may or may not require a re-run of the build prep, but I’ll look into that.

Relevant fontbakery check:

▶ fontbakery check-adobefonts "fonts/Shantell Sans/Desktop/Static/OTF/*.*tf"
Start ... running 3439 individual check executions.
 >> com.adobe.fonts/check/family/max_4_fonts_per_family_name
    Verify that each group of fonts with the same nameID 1 has maximum of 4 fonts.
    

    Rationale:                                                                
                                                                                                                                                                                      
    Per the OpenType spec:                                                                                                                                                            
                                                                                                                                                                                      
    'The Font Family name [...] should be shared among at most four fonts that differ only in weight or style [...]'                                                                  
                                                                                                                                                                                      
    More info: https://github.com/fonttools/fontbakery/pull/2372

    FAIL Family 'Shantell Sans Informal' has 12 fonts (should be 4 or fewer). [code: too-many]                                                                                        
    FAIL Family 'Shantell Sans Bouncy' has 12 fonts (should be 4 or fewer). [code: too-many]                                                                                          
    FAIL Family 'Shantell Sans Normal' has 12 fonts (should be 4 or fewer). [code: too-many]                                                                                          
    FAIL Family 'Shantell Sans Informal Bouncy' has 12 fonts (should be 4 or fewer). [code: too-many]                                                                                 

    Result: FAIL

Will work on this ASAP, and make a new release.

arrowtype avatar May 30 '24 14:05 arrowtype