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

Titlebars are blurry/pixelated (Windows 10) #708

Closed
xSwagboy69x opened this issue Dec 12, 2020 · 10 comments
Closed

Titlebars are blurry/pixelated (Windows 10) #708

xSwagboy69x opened this issue Dec 12, 2020 · 10 comments

Comments

@xSwagboy69x
Copy link

Hi everyone,

MacType has always worked flawlessly system-wide for me, except for the titlebars. No matter what program, MacType renders all fonts very well except for this. I'm wondering if anyone has any ideas to fix this.

I'm using the latest builds of both Windows 10 64-bit and MacType (with the updated .dll that Snowie posted on Oct. 22), Registry mode, and the "ClearSharp" preset.

2020_12_12 - 11 02 37 AM

2020_12_12 - 10 57 46 AM

As you can see, all other fonts are rendered well. I'm not sure if it's an .ini issue, maybe I accidentally excluded a process? Any help would be great, thanks!

@wmjordan
Copy link

This is a known issue. No workaround at this moment.

@xSwagboy69x
Copy link
Author

This is a known issue. No workaround at this moment.

Hi there, thanks for your reply.

I'm was 99% sure that in the past, I was able to get MacType to correctly render titlebars — so I dug through my screenshots folder and found a bunch of examples that — to my eyes — look like correctly rendered titlebars. Maybe I'm blind or missing something, but it really looks that way to me. Here are 3 examples:

foobar2000_2019-11-08_23-26-12

2020-02-01_01-32-09

ShareX_2019-09-12_11-30-06

The titlebars in these screenshots definitely look different than the ones in my first post — maybe it's another program or setting that's doing it but I can't imagine what that could be, MacType is the only thing I use that affects fonts. It's a mystery! Any theories?

@xSwagboy69x
Copy link
Author

@wmjordan

Here's another example, with an additional mystery! This is an old screenshot of my Notepad++ program

notepad++_2020-02-01_00-16-07

Notice the font on both the titlebars and tabs appear to be rendered by MacType! But here is a screenshot of my Notepad++ today

2020_12_24 - 08 51 28 PM

In this example, both titlebar and tabs aren't properly rendered by MacType! I have no idea what could have changed — I suppose I'll play around with settings and hope I get lucky

@snowie2000
Copy link
Owner

@Jessamynn To render titlebars, you need to apply mactype to DWM.exe which is excluded by default.

The font you used in your notepad++ tab is a pixelated font called Fixedsys. MacType only works on vector fonts like Truetype or opentype. You should change your font of the tab.

@xSwagboy69x
Copy link
Author

@snowie2000

Thank you so much for your reply. I suppose this means that in the past, I must've removed/commented out the "UnloadDLL" section of MacType.ini ... this is plausible, because I recall adding a whole bunch of exclusions to that section after seeing that post where everyone was listing processes to exclude. I will try commenting out this section in both MacType.ini and the ClearSoft.ini that I'm using to see if that changes anything, and I'll report back.

As far as the Notepad++ tab, in its program settings (Settings > Preferences > General) I enabled the option called "Reduce" and it changed the font to something nicer. However, I wasn't able to figure out how to directly change the font. The theme stylers don't seem to respect the option.

@wmjordan
Copy link

I removed DWM.exe from both MacType.ini and my settings ini file in the MacType dir.
However, the title bars were not yet rendered by MacType.

I am running MacType in Service Mode.

@xSwagboy69x
Copy link
Author

@wmjordan

I did as well, and unfortunately I was not able to replicate the rendered titlebars that I use to have (as seen in the screenshots I posted above). I use Segoe UI system wide, and registry mode.

@wmjordan
Copy link

I checked the loaded DLL in DWM.exe with Process Explorer and did not found any MacType related DLL.

@xSwagboy69x
Copy link
Author

@snowie2000 As per your suggestion, I checked to see if my mactype.ini or presets were excluding dwm.exe — they were not. Yet, when I opened mactype's process manager, it shows "Access Denied" for the DWM process. Here's a screenshot.

2021_01_14 - 03 06 30 AM

Hmm... I assume this is a permissions issue?

@xSwagboy69x
Copy link
Author

Success!

After a bunch of trial and error testing, I've managed to get MacType to successfully render all titlebars!

What I did was replace the MacType64.dll file with the original .dll from the latest release (2019.1-beta6), dated 5/23/2019. I had forgotten that I'd updated this .dll using Snowie's test file that he uploaded here from October 2020 ; upon restoring the original file, my titlebars were correctly rendered once more! I did not need to access DWM.exe, or change any font settings in Windows or in MacType.

Using Windows 10, Segoe UI font, default scaling, and Registry Mode in MacType. Service mode has always been inconsistent with rendering and sometimes unstable for me.

2021_01_15 - 07 00 43 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants