Skip to content

path with commands from glyph.getPath does not contain the closing Z command. #799

@udatny

Description

@udatny

path with commands from glyph.getPath does not contain the closing Z command.

            const glyph = font.charToGlyph(someCharacter);
            const path = glyph.getPath(x, y, fontSize);

then, path.toPathData draws an non-closed shape.

maybe thats by design. then i am doing something wrong.

i am using the master branch.

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