-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
FvwmIconMan crashes when trying to display some utf-8 characters. #622
Comments
Hi @somiaj Well... I can't get FvwmIconMan to crash. Can you see if a corefile is generated, and add a backtrace so I can see what's happening? |
I tried to set the icon man font to "" and it did nothing for the problem. This happens on the default config on 1.0.4 with the provided problem website. |
Hey @polarbub I'll try and find time to look at this, but it won't be any time soon. Do you see the same problem if you also try to start fvwm3 as:
|
No, because no |
I just restarted x and now this fix works. The charaters that would crash it before don't show up at all in the icon manager but the rest of the titles do. Also the font is the default font for x and it doesn't look very good. |
Since we are rendering in only the chosen font, if the character in question does not exist simply report its size as zero. ``` Fixes fvwmorg#622, fixes fvwmorg#680. ```
Since we are rendering in only the chosen font, if the character in question does not exist simply report its size as zero. ``` Fixes fvwmorg#622, fixes fvwmorg#680. ```
This is actually an issue in XFT that was fixed three years ago, and merged 3 months ago. https://gitlab.freedesktop.org/xorg/lib/libxft/-/commit/6a08279ee80dbd1a226592d7f18c862c2e4a7d3a Upgrade to xft 2.3.6 to get color emoji's working correctly. |
Alright, this works. Thanks! |
FvwmIconMan, using the default config, crashes when trying to display some utf-8 characters. For example the following character crashes FvwmIconMan
https://www.compart.com/en/unicode/U+1F479
With some further testing it is related to the font. The font from the default config is
*FvwmIconMan: Font "xft:Sans:Bold:size=8:antialias=True"
. Setting the font to*FvwmIconMan: Font ""
, it no longer crashes and just displays a empty box for the character it cannot find. So this maybe a combination of the font and FvwmIconMan.If possible, FvwmIconMan should better deal with some utf-8 characters in some fonts.
The text was updated successfully, but these errors were encountered: