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

Font shadow offset miscalculated #475

Closed
NsCDE opened this issue Apr 11, 2021 · 4 comments · Fixed by #476
Closed

Font shadow offset miscalculated #475

NsCDE opened this issue Apr 11, 2021 · 4 comments · Fixed by #476
Labels
type:bug Something's broken!
Milestone

Comments

@NsCDE
Copy link
Contributor

NsCDE commented Apr 11, 2021

Hi ... playing around and find things ...

  • Fvwm3 version: fvwm3 1.0.3 (1.0.2-109-g42414a3f)

  • Linux distribution: Fedora 33

  • Platform: Linux x86_64

Expected Behaviour

Thin font shadow as with fvwm2 and fvwm3 versions older than 1. 1. 2021.

Actual Behaviour

Font shadow has offset of 1-2 cm instead of 1 mm. (see pictures)

Steps to Reproduce

  1. Start NsCDE 1.1 or current master with fvwm3 master
  2. Launch Style Manager main window and see shadows

Actual configuration is this:

It is in lines 41 and 42 of /opt/NsCDE/lib/scripts/StyleMgr but it is composed of variables and hard to read. The final result is:

Shadow=2 0 SE:xft:DejaVu Sans:Medium:Book:size=9:antialias=0

Changing font does not resolves this.

  • Does the problem also happen with Fvwm2?

No

Does Fvwm3 crash?

No

Extra Information

  • Anything else we should know?

Looks like this bug is introduced with d7a2eb6 or 070f355 or b92b520 because it looks normally if I checkout some commit before d7a2eb6.

StyleMgr-Good
StyleMgr-bad

@NsCDE NsCDE added the type:bug Something's broken! label Apr 11, 2021
@ThomasAdam
Copy link
Member

@mikeandmore,

Can you take a look at this, please?

@ThomasAdam ThomasAdam added this to the 1.0.3 milestone Apr 11, 2021
@mikeandmore
Copy link
Contributor

Does this happen without the shadow?

@NsCDE
Copy link
Contributor Author

NsCDE commented Apr 11, 2021

Does this happen without the shadow?

No.

@mikeandmore
Copy link
Contributor

I see. I'll take a look at this tonight or tomorrow.

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

Successfully merging a pull request may close this issue.

3 participants