Skip to content

Automatic fractions are broken for RTL scripts #395

@khaledhosny

Description

@khaledhosny

Automatic fractions (with fraction slash) seem to be incorrectly handled for RTL scripts; it seems the numr/dnom features are reversed:

$ hb-shape amiri-regular.ttf "123⁄456" --direction=ltr --script=latn
[one.numr|two.numr|three.numr|fraction|four.small|five.small|six.small]

latn

$ hb-shape amiri-regular.ttf "123⁄456" --direction=ltr --script=arab
[one.small|two.small|three.small|fraction|four.numr|five.numr|six.numr]

arab

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions