Skip to content
This repository has been 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

Open
sachinsingh007 opened this issue Feb 25, 2019 · 0 comments

Comments

@sachinsingh007
Copy link

sachinsingh007 commented Feb 25, 2019

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

@sachinsingh007 sachinsingh007 changed the title Generate glyphs gets distorted after generating from SVG having handling matrixes (with negative values) with version 1.6.0 Glyphs gets distorted after generating from SVG having handling matrixes (with negative values) with version 1.6.0 Feb 25, 2019
@sachinsingh007 sachinsingh007 changed the title Glyphs gets distorted after generating from SVG having handling matrixes (with negative values) with version 1.6.0 Glyphs gets distorted after generating from SVG ( having matrixes with negative values using version 1.6.0) Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant