Skip to content

Invalid font result with opentype.js #679

@raumikHexa

Description

@raumikHexa

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

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