-
Notifications
You must be signed in to change notification settings - Fork 10
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
[QUESTION] Can we use it with gopdf #159
Comments
This may relate to locale info. The shaping needs to know how the glyph relationships should be interpreted, which can vary based on locale or other environment outside the font definition. I can't recall immediately how it's passed in to GoText, but I have seen the same sort of challenges in writing the |
Hi @MayankFawkes, Thank you for your question. As you might have guessed, you encounter a typical text shaping problem. Several languages/scripts, like Arabic or Hindi, require complex layout rules to properly display text. This is the issue Harfbuzz solves. From what I've read, gopdf does not use such a shaper, and thus won't be able to display Hindi text. The go-text/typesetting module provides the appropriate tooling to handle such complex scripts : the low level shaping is done in the |
Hey i just wanted to know can we use this with gopdf cause i am having some rendering problem for hindi
Incorrent rendering Hindi fonts https://hindi-fonts.com/fonts/mangal-regular
If yes, then please help me fix this code.
Output
Expected
The text was updated successfully, but these errors were encountered: