Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid text path while creating Text model using ttf file #587

Open
raumikHexa opened this issue Feb 27, 2024 · 1 comment
Open

Invalid text path while creating Text model using ttf file #587

raumikHexa opened this issue Feb 27, 2024 · 1 comment

Comments

@raumikHexa
Copy link

raumikHexa commented Feb 27, 2024

Hello,

When I was trying to generate SVG using makerjs "Text" model,
I am getting invalid text path when compared with other software.

I guess there is some issue with transformation of character.

Also, some part at start of svg is missing

Text = روميك

Preview in Microsoft word
image

Preview of makerjs SVG
image

Here is generated SVG & input font file
Test-svg
https://drive.google.com/file/d/1nAWOMypqvJTa2hufy5pxOfc2PMlKj6sw/view?usp=sharing

@danmarshall
Copy link
Contributor

Hello, to help determine where the issue is, can you try your ttf in opentype.js? We use opentype for ttf parsing, perhaps our version might be out of date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants