Skip to content

"TypeError: Cannot read properties of undefined (reading 'id')" when dealing with arabic font. #39

@aymanLapdu

Description

@aymanLapdu

The error originate from the lines :
var glyph = getItemAtIndex(attributedString.runs, 'glyphs', index);
if (addedGlyphs.has(glyph.id)) continue;
The glyph got a value of undefined which triggers the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions