Skip to content

Error when using text with diacritic marks #40

@asheemmamoowala

Description

@asheemmamoowala

While investigating mapbox/mapbox-gl-js#7195, I found that using the sample text provided ther: Sít' Eetí G̱eeyí causes an exception to be thrown in tinysdf:

index.js:65 Uncaught RangeError: Invalid typed array length: -340
    at new Uint8ClampedArray (<anonymous>)
    at TinySDF.draw (index.js:65)
    at GlyphManager._tinySDF (glyph_manager.js:228)
    at glyph_manager.js:112

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions