FvwmPager & FvwmIconMan Balloons show garbled text.
Closed this issue · 7 comments
Upfront Information
- Fvwm3 version : fvwm3 1.0.4 (released)
with support for: XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS - Linux distribution : Void Linux musl-libc
- Platform : x86_64
Expected Behaviour
Window Title Bar & FvwmIconMan should always show CJK fonts correctly.
FvwmPager & FvwmIconMan Balloons should show CJK fonts correctly.
Actual Behaviour
If restart fvwm, Window Title Bar & FvwmIconMan show garbled text, but it can repare by switch tab etc.
FvwmPager & FvwmIconMan Balloons show garbled text.
Steps to Reproduce
- Start with config file.
- FvwmPager
*FvwmPager: BalloonFont "xft:Noto Sans Mono CJK TC:size=8:antialias=True" - FvwmIconMan
no way to set BalloonFont?
- Open any program output CJK title.
Extra Information
Have you tried setting a TTF font for the icon manager (TipsFont) and the pager (BaloonFont)?
@topcat001, I don't have the * symbol in title or balloons in debian sid, only garbled text in FvwmIconMan Balloons.
fvwm3 1.0.4 (released) with support for: ReadLine, XPM, PNG, SVG, Shape, XShm, SM, Bidi text, XRandR, XRender, XCursor, XFT, NLS
I'm not sure if musl or ReadLine is causing the * symbol problem?
I notice that you are using a TTF font in the pager balloons but the default fixed raster font in the icon manager balloons. Do the icon manager balloons behave similarly to the pager ones if you set them to use the same font (using TipsFont)?
Didn't notice the name was different before, maybe you can consider adding TipsFont line in the default config?
Below *FvwmIconMan: Tips needed
line.
@lolicon0930 it appears the issue is just with the font being used. FvwmIconMan needed to have its TipsFont
configured to control what font is used in the balloons. If this wasn't configured it would fallback to a font which may not have support for the characters you want to see. The PR I just made will ensure that FvwmIconMan tips font will use the FvwmIconMan font if it isn't explicitly set to help avoid the this issue.
@somiaj I believe your PR fixed the garbled text caused by TipsFont not being set, but that may not be the whole problem unless you are sure that * symbol problem is also caused by TipsFont.
Since I'm no longer using the Void Linux musl-libc version, I can no longer test this issue.