Open isaacclausen opened 7 months ago
FWIW on Sonoma with 3.2.0 and...some version of Safari, not sure which one (the computer is not immediately on hand for me to check), at least some emojis display for me:
(It's possible I should be quibbling about the baseline on that bomb emoji [tho it's equally possible the glyph baseline is buggy] -- or about the overflow behavior on the button display, versus the buttons displaying smaller -- but those would be separate issues.)
Here a video showing the problem better, when I add a unicode character, it adds extra unnecessary line spacing: https://github.com/bitfocus/companion/assets/83613660/0854905f-ff2f-4b46-9c89-cb6a27834a84
Hi @isaacclausen I'm aware of this problem. Actually it is not a problem of unicode, but of the linespacing in the fonts we are using. The font we are using for the latin characters has a different spacing from the font we are using for the symbols. I have a solution with adjusted fonts here but didn't have the time to upload and test it.
@dnmeid this appears to behave better in #2785
Is this a bug in companion itself or a module?
Is there an existing issue for this?
Describe the bug
In 3.2.0 on a Ventura iMac, unicode characters seem to mess up button text. When a unicode character is in the string, the line spacing is almost doubled.
Buttons with unicode characters in 3.1.2:
Buttons with unicode characters in 3.2.0:
Steps To Reproduce
Expected Behavior
Unicode characters display properly without added line spacing
Environment (please complete the following information)
Additional context
No response