-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
[BUG] Updating to v3.4.0 broke support for unicode fonts in Button text strings #3031
Comments
This is annoying to hear. But at least it's not doing what 3.3 did when encountering some unicode fonts which was to crash. |
Yes, true. Better than crashing. We'll write in English for now. Here's a few examples of strings: ਤਖ਼ਤ, ਕੀਰਤਨ Language is Panjabi/Punjabi, written in the Gurmukhi Script. Thanks for your help! |
I also noticed that this doesn't work in Chinese v3.3.1 -> v3.4.0。'节目' has become □□ |
This break was introduced with this #2785. |
What has happened is that the old canvas library would fallback to using system fonts for any characters not included in the font used by companion. But the new canvas library does not do that. I don't remember if this was semi-intentional, because what it finds on the system varies depending on OS, which makes portability of configs inconsistent. I've added the Gurmukhi and Simplified Chinese portions of the font we use, so the examples provided here now draw as expected. If anyone has examples of another character set that is missing, open an issue and it can be added. This is in the betas now, and will be in 3.4.1 soon |
I have added the korean character set, which will be in the betas shortly and next release |
Thanks! Confirmed in 3.4.2 👍 |
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
On v3.3.1 and prior, unicode fonts rendered fine for button text as shown in image1.
After updating to v3.4.0, they do not render properly as shown in image2.
I have checked by exporting and importing to an older install to confirm that I am able to still see the text when viewing from older install. Same pc/browser, nothing else has changed.
Steps To Reproduce
No response
Expected Behavior
No response
Environment (please complete the following information)
Additional context
No response
The text was updated successfully, but these errors were encountered: