Skip to content

usWinDescent value too low #33

Description

@basil
 >> family/win_ascent_and_descent
    Checking OS/2 usWinAscent & usWinDescent.
    with Neanes.otf
Rationale:

A font's winAscent and winDescent values should be greater than or equal
to the head table's yMax, abs(yMin) values. If they are less than these
values, clipping can occur on Windows platforms
(https://github.com/RedHatBrand/Overpass/issues/33).

If the font includes tall/deep writing systems such as Arabic or
Devanagari, the winAscent and winDescent can be greater than the yMax and
absolute yMin values to accommodate vowel marks.

When the 'win' Metrics are significantly greater than the UPM, the
linespacing can appear too loose. To counteract this, enabling the OS/2
fsSelection bit 7 (Use_Typo_Metrics), will force Windows to use the OS/2
'typo' values instead. This means the font developer can control the
linespacing with the 'typo' values, whilst avoiding clipping by setting
the 'win' values to values greater than the yMax and absolute yMin.

More info: https://github.com/fonttools/fontbakery/issues/4829

FAIL OS/2.usWinDescent value should be equal or greater than 477, but got
     466 instead [code: descent]

Result: FAIL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions