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

Title's text becomes blurry #2

Closed
shinywong opened this issue Sep 18, 2020 · 2 comments
Closed

Title's text becomes blurry #2

shinywong opened this issue Sep 18, 2020 · 2 comments
Labels
fixed help wanted Extra attention is needed

Comments

@shinywong
Copy link

Title's text becomes blurry after applying WinCenterTitle. You will notice it if the Title's text is long enough.

Before:

Before

After:

After

The center of the text is NOT blurry. The farther from the center, the text becomes more blurry.

@valinet
Copy link
Owner

valinet commented Sep 19, 2020

I think this may happen due to line 36: lprc->right -= 2; in the source code (dllmain.cpp). Try commenting that out, recompile and check if it helps. That is there so it fixes another problem, that the title rectangle sometimes overlaps the window ever so slightly, but maybe this is not an appropriate fix after all and we should look into coming up with another solution.

@valinet valinet added the help wanted Extra attention is needed label Sep 19, 2020
@valinet valinet added wontfix This will not be worked on and removed help wanted Extra attention is needed labels Dec 14, 2020
@valinet
Copy link
Owner

valinet commented Dec 14, 2020

New version employs different (and more proper) method of centering the text, so DrawTextW is not hooked anymore, so this should not happen anymore; thus, I am closing this issue as the problem has been fixed indirectly.

@valinet valinet closed this as completed Dec 14, 2020
@valinet valinet added fixed help wanted Extra attention is needed and removed wontfix This will not be worked on labels Dec 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants