-
Notifications
You must be signed in to change notification settings - Fork 9.4k
added GNU Free Font to be used by sales PDFs #14710
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
added GNU Free Font to be used by sales PDFs #14710
Conversation
Hello |
Hi @savadk00hi, I'm not sure if the GNU Free Font I added in this PR supports Farsi, but it does support much more writing systems than the current Libertine font that is being used. From what I could find it supports more writing systems than any other open source font available. The issue is that there is no one single font that supports all writing systems and characters in existence. It's not possible with the OpenType font spec. Anyway, If the GNU Free Font added in this PR does not support Farsi, you could try forking this module of mine and change it use a font which supports Farsi, one of Google's Noto fonts probably support Farsi. |
Hi @rossmc. Thank you for your contribution. |
Any solution for Arabic Language, the characters are separated and reversed ? |
also me, arabic letters are not connected. how to fix it? is there a solution? also currency symbol in arabic is shown as character @rossmc @magento-engcom-team |
Hi @rossmc, Kindly inform us Thanks |
any solution for this: "characters are separated and reversed"? |
See response with suggested solution from more than a year ago... |
Please Note: A similar PR(#13016) I submitted for the same issue to the 2.2-develop branch has been merged already.
Description
The sales PDFs use the Libertine font which is not a unicode font and therefore it does not have full support of characters. It does not support Arabic, Russian, Greek, Indian or Thai alphabets and many more. For example it does not support the Indian rupee currency symbol ( ₹ ) and displays tofu boxes instead, which makes the PDF invoice totals illegible.
It's better if we use a unicode font to support more writing systems and characters. So I've added the open source GNU Free Font which supports much more writing systems.
Fixed Issues (if relevant)
Manual testing scenarios
Contribution checklist