Skip to content

advance is measured as distance up to left side of character #3994

Open
@r12a

Description

@r12a

https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-advances

advances attribute

Returns a frozen array containing advances for each character in the measured text\. Each advance is measured as the distance from the beginning of the string \(starting at 0\) up to the left side of the character\. 

Does that work the same way for text in right-to-left scripts, such as Arabic, Hebrew, etc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-trackerGroup bringing to attention of Internationalization, or tracked by i18n but not needing response.topic: canvas

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions