Skip to content

Public Sans - Bug: Kerning between endash and space (-500) breaks UK use #370

@fufurasu

Description

@fufurasu

Describe the bug

British English style guides (eg Oxford) typically recommend the use of en-dashes with spaces either side for parenthetical comments (in the same way AP recommends the use of em-dashes without spaces).
Public Sans has a kerning rule that effectively removes the space after an en-dash. endash is in the @hyphen group and gets -500 kerning before a space.
Arguably, the -340 kerning between a space and a member of the @hyphen group is also problematic for this use.
This kerning rule breaks British English uses.

Steps to reproduce the bug

Type parenthetical – comment in Public Sans (space, en-dash, space). The spacing after the en-dash is way too narrow.

Expected Behavior

When typing parenthetical – comment there should be distinct spaces on either side of the en-dash.

Related code

In Glyphys kerning table:
@hyphen -500 space and also space -340 @hyphen

Screenshots

Image

System setup

No response

Additional context

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: ConfirmationWe need to confirm that this is an issueType: BugA problem in the code

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions