Skip to content
This repository was archived by the owner on May 29, 2020. It is now read-only.
This repository was archived by the owner on May 29, 2020. It is now read-only.

Glyphs gets distorted after generating from SVG ( having matrixes with negative values using version 1.6.0) #390

@sachinsingh007

Description

@sachinsingh007

Hi,

I am using v1.6.0 for the generating glyphs from svgs.

I come across a issue, after generating glyph (using ^1.6.0) it gets distorted. but when using v0.5.4 it generates correctly.

though I examine in svg code, I found that it uses rect with matrices(including negative values)
therefore I removed matrix transformation and manually change rect to path(without matrix) then it works and glyph no longer distorted.

Distorted glyph using rect with matrix transformation

image

image

Corrected glyph using path without matrix transformation
image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions