Skip to content

Funny behaviour with RTL/LTR splitting in cursiveFeatureWriter #937

@cmyr

Description

@cmyr

Noticed this in NotoSansKannada, where we are generating a lookup with the RTL flag set, despite the fact that kannada is an LTR script.

The issue here is with various subscript glyphs, which do not have cmap entries. The logic for assigning glyphs to a writing direction requires a glyph to be explicitly LTR in order to end up in an LTR lookup, and any glyph that is not explicitly LTR is treated as RTL:

if glyphName not in dirGlyphs["LTR"]

I'm really not sure what a reasonable solution to this problem is, but I wanted to at least open an issue describing it.

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