Skip to content

ex as a unit #2405

@jamesrswift

Description

@jamesrswift

Description

em units are used for lengths involving spacing or that which otherwise depends on the horizontal size of the font. For those cases involving vertical spacings, the unit typically used is ex (though people will sometimes substitute that for em).

ex is roughly the height of an 'x' in the current font.

Use Case

Measuring vertical spacing where the relationship with the font height is important.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or requesttextText layout, shaping, internationalization, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions