Emoticons, emojis and stickers does not show
Description
Couple days back I realized, that emoticons and stickers does not shown on NeoChat. These are happening in rooms bridged from Facebook, however in Element they are displayed correctly. Also, I think there is only problem with emoticons that were properly displayed and not affected by #341 , so for example :purple_heart does not show, but :snowflake does. These emoticons also does not appear even during typing, so I press semicolon, start typing purple, choose the emoticon from the list, hit ENTER, and an empty character is added. I just checked it and the emot does arrive on Element, so it seems that it solely affects displaying and not msg composition.
Stickers does not arrive neither from FB bridge (mautrix-facebook), nor Element stickers. This is quite weird, as regular images are shown properly.
I gladly test different configurations or even patches (I can build using kdesrc-build) if it helps.
Steps to reproduce
- I press semicolon,
- start typing purple,
- choose the emoticon from the list,
- hit ENTER, and an empty character is added
System/Matrix Information
ArchLinux with Plasma desktop
Neochat version: 22.04-1 -> I think the issues was introduced during the last update, and was working in 22.02-1.
I also have this in my ~/.config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'urn:fontconfig:fonts.dtd'>
<fontconfig>
<!--
Artificial oblique for fonts without an italic or oblique version
-->
<match target="font">
<!-- check to see if the font is roman -->
<test name="slant">
<const>roman</const>
</test>
<!-- check to see if the pattern requested non-roman -->
<test target="pattern" compare="not_eq" name="slant">
<const>roman</const>
</test>
<!-- multiply the matrix to slant the font -->
<edit mode="assign" name="matrix">
<times>
<name>matrix</name>
<matrix>
<double>1</double>
<double>0.2</double>
<double>0</double>
<double>1</double>
</matrix>
</times>
</edit>
<!-- pretend the font is oblique now -->
<edit mode="assign" name="slant">
<const>oblique</const>
</edit>
<!-- and disable embedded bitmaps for artificial oblique -->
<edit mode="assign" name="embeddedbitmap">
<bool>false</bool>
</edit>
</match>
<!--
Synthetic emboldening for fonts that do not have bold face available
-->
<match target="font">
<!-- check to see if the weight in the font is less than medium which possibly need emboldening -->
<test compare="less_eq" name="weight">
<const>medium</const>
</test>
<!-- check to see if the pattern requests bold -->
<test target="pattern" compare="more_eq" name="weight">
<const>bold</const>
</test>
<!--
set the embolden flag
needed for applications using cairo, e.g. gucharmap, gedit, ...
-->
<edit mode="assign" name="embolden">
<bool>true</bool>
</edit>
<!--
set weight to bold
needed for applications using Xft directly, e.g. Firefox, ...
-->
<edit mode="assign" name="weight">
<const>bold</const>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hinting">
<bool>true</bool>
</edit>
</match>
<match target="font">
<edit mode="assign" name="hintstyle">
<const>hintslight</const>
</edit>
</match>
<dir>~/.fonts</dir>
</fontconfig>