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 font result with opentype.js #679

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

Invalid font result with opentype.js #679

raumikHexa opened this issue Feb 28, 2024 · 1 comment

Comments

@raumikHexa
Copy link

Incorrect result with opentype.js with Arabic font

Expected Behavior

I have one Arabic font ttf file.
When I used that file in other software like word, and in browser html, I am getting correct result.
Here is text I am using for testing = روميك
Here is preview in word and other software
image
I want same which is correct result with opentype.js

Current Behavior

As you can see in below image which is taken from https://opentype.js.org/,
We are getting incorrect result with opentype.js
Some character are very close to each other ( Right 1st and 2nd )
Some part is missing(Left first character)

I think this should be same as above screenshot taken from word
image

Steps to Reproduce (for bugs)

  1. Go to https://opentype.js.org/
  2. Upload this font
    -https://drive.google.com/file/d/1nAWOMypqvJTa2hufy5pxOfc2PMlKj6sw/view?usp=sharing
  3. Paste this Arabic text to input - روميك
  4. You will see result with style from that font.

Your Environment

@Connum
Copy link
Contributor

Connum commented Feb 28, 2024

We have several outstanding pull requests, especially #557 might solve your issue. Could you try if a build with that fix will resolve your issue please?

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