Skip to content
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

FvwmPager & FvwmIconMan Balloons show garbled text. #657

Closed
llc0930 opened this issue Mar 7, 2022 · 7 comments · Fixed by #751
Closed

FvwmPager & FvwmIconMan Balloons show garbled text. #657

llc0930 opened this issue Mar 7, 2022 · 7 comments · Fixed by #751
Labels
relates:module Issue is in module code type:bug Something's broken!
Milestone

Comments

@llc0930
Copy link

llc0930 commented Mar 7, 2022

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

  1. Start with config file.
  • FvwmPager
    *FvwmPager: BalloonFont "xft:Noto Sans Mono CJK TC:size=8:antialias=True"
  • FvwmIconMan
    no way to set BalloonFont?
  1. Open any program output CJK title.

Extra Information

  • Does the problem also happen with Fvwm2?
    From my memory maybe yes.

  • Does Fvwm3 crash?
    No.

  • Screen capture:

    1. FvwmPager Balloons
      01
    2. FvwmIconMan Balloons
      02
    3. If restart fvwm
      03
@llc0930 llc0930 added the type:bug Something's broken! label Mar 7, 2022
@ThomasAdam ThomasAdam added the relates:module Issue is in module code label Mar 7, 2022
@ThomasAdam ThomasAdam added this to the 1.0.5 milestone Mar 7, 2022
@topcat001
Copy link
Contributor

Have you tried setting a TTF font for the icon manager (TipsFont) and the pager (BaloonFont)?

@llc0930
Copy link
Author

llc0930 commented Aug 4, 2022

@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?

  1. FvwmPager Balloons -> normal
    2022-08-05-03:36:48-r
  2. FvwmIconMan Balloons -> title disappearing problem here too?
    2022-08-05-03:37:06-r
  3. After restart fvwm
    2022-08-05-03:37:28-r

@topcat001
Copy link
Contributor

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)?

@llc0930
Copy link
Author

llc0930 commented Aug 4, 2022

So its name is TipsFont in FvwmIconMan.
2022-08-05-04:24:03-r
2022-08-05-04:24:17-r
Beside * symbol problem, only title disappearing problem left now.
It's enough for me to use it normally, thank you.

@llc0930
Copy link
Author

llc0930 commented Aug 4, 2022

Didn't notice the name was different before, maybe you can consider adding TipsFont line in the default config?
Below *FvwmIconMan: Tips needed line.

@ThomasAdam ThomasAdam removed this from the 1.0.5 milestone Sep 18, 2022
@somiaj somiaj added this to the 1.0.6 milestone Nov 7, 2022
@somiaj
Copy link
Collaborator

somiaj commented Nov 7, 2022

@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.

@llc0930
Copy link
Author

llc0930 commented Jan 17, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
relates:module Issue is in module code type:bug Something's broken!
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants