Hi all,
I'm investigating a bug in our application whereby emojis become blurry when a text box is rotated or scaled. Any text remains sharp but the mojis appear render at a very small scale and scaled up to fit the font size. This is not observed when the text boxes are horizontal/vertical or even
close to horizontal or vertical. But when rotated (at a certain scale) the emojis will render incorrectly past a certain angle. Also, they'll appear blurry when the font size is increased even if they're rendered horizontally.
I'm attaching pictures but you can see a video demonstrating the bug here:
https://youtu.be/XDtLC9QrP7EFor rendering text runs consisting of emojis, I'm using the NotoColorEmoji.ttf font file found here:
https://github.com/googlefonts/noto-emojiWe're using SkCanvas::drawGlyphs after having shaped the text runs with HarfBuzz.
I tried fiddling with the few properties of SkFont but that didn't appear to help.
We're using Skia 0.31.0.
Any help will be appreciated.
Regards,
Thierry
Correct render when horizontal:
Correct render after a rotation:
Blurry emojis when scaled up a bit and rotated:
Blurry emojis when horizontal but scaled more: