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

Hindi letters should reverse and join in some cases #502

Open
talbenmoshe opened this issue Jan 25, 2022 · 2 comments
Open

Hindi letters should reverse and join in some cases #502

talbenmoshe opened this issue Jan 25, 2022 · 2 comments
Labels
font features Spec Related to the implementation of the Opentype specification

Comments

@talbenmoshe
Copy link

Hi,
There are some Hindi letters that when combined, they need to appear reversed.
For example, this "नि" is made out of 2 letters: न and ि. When combined they appear to be reversed and joined.
But they are not rendered correctly in opentypejs.

Here's an example used in https://opentype.js.org/index.html:
image

(Using poppins font which supports Hindi)

@Connum
Copy link
Contributor

Connum commented Feb 12, 2023

fontforge doesn't render it correctly, so I wasn't able to quickly find out which OpenType feature is used to achieve this, but this library doesn't support that feature as of yet.

@Connum Connum added Spec Related to the implementation of the Opentype specification font features labels Feb 12, 2023
@MathanM
Copy link

MathanM commented May 26, 2024

@Connum I am facing the same issue, earlier I was using pdfmake js which uses pdfKit and fontKit.
I found a similar issue with fontKit
https://github.com/foliojs/fontkit/pull/99/files#diff-10674058cddab5d0a379a7d2ce3f691b777f524c7318c6c34136cb7232748e72

Not sure if this could help someone in fixing this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
font features Spec Related to the implementation of the Opentype specification
Projects
None yet
Development

No branches or pull requests

3 participants