Jump to content
sysninja

Problem with font aliasing on Alfred 4 (started with 3.8)

Recommended Posts

1428134694_CleanShot2019-05-29at23_32_25.png.b397da03a4f0a3a2173c75885b9261f5.png

 

Hi,

 

As you can see in the screenshot, I'm having the problem with font rendering on Mojave starting with Alfred 3.8 version. Everything was ok until Alfred 3.8. I just updated to Alfred 4 and bought my powerpack upgrade thinking that this would be fixed, but I was wrong.

 

Can you please take a look at this? I can't be going back to 3.7 now. If it means anything, it displays almost normal on Macbook display, but on my 34" 3440x1440 it's awful.

 

Thanks!

Share this post


Link to post

@sysninja This is a really awkward issue and a bug I've raised with Apple regarding font rendering in Mojave on transparent panels, and only seems to affect some configurations of Mac.

 

It was broken in 3.7 and before (fonts rendering too light).

 

Could you try a different theme, or different fonts? I may add a hidden default writes which will restore the smoothed front, but incorrectly weighted behaviour for people who see this issue, and I'm going to bump the bug report.

Share this post


Link to post
Posted (edited)

Hey @Andrew thanks for the fast reply.

 

I've tried all the themes and a couple of fonts and it's the same. I actually stayed on the last version of 3.7.x because I had no problems on it.

 

Thanks for this, Apple really screwed the font rendering in Mojave.

Edited by sysninja

Share this post


Link to post

@Jasondm007 Strange with the borders! Do you have any of the accessibility options enabled on your Mac which can affect things like this?

 

Could you temporarily create a new user account and run Alfred there to see if things look normal?

 

Cheers,

Andrew

Share this post


Link to post
Posted (edited)

@Andrew Thanks for getting back to me.

 

No - I do not have any accessibility options enabled that would impact Alfred.

 

After posting this question, I noticed that the black border around Alfred only shows up when Mojave is in Dark mode (previous screenshot above). When in Light mode, there's still a small border around the window, however, it's very light gray and hardly visible with Alfred's drop shadow (see screenshot below).

1909026892_ScreenShot2019-05-30at2_01_33PM.jpg.bf0c8b18fa55ab5d46aacb356ca09bb7.jpg

 

Unfortunately, I don't have time to create a new user account at the moment, but I'll give it a try this evening when I leave the office. 

 

Thanks again for all of your help!

 

@sysninja I'm not sure if it's helpful, but I used to notice a difference with the font weighting issue sometimes when I would toggle the "Use font smoothing when available" option in System Preferences off and on (System Preferences → General).

Edited by Jasondm007

Share this post


Link to post
Posted (edited)

Sorry for double post.

 

I've created sort of a workaround for Alfred.

 

Quit Alfred, go to the Terminal and type:

 

defaults write -app Alfred\ 4 CGFontRenderingFontSmoothingDisabled -bool YES

Start Alfred again and it will look as good as it always looked. I have my CGFontRenderingFontSmoothingDisabled to NO globally in the system as Mojave doesn't render fonts correctly on non-Retina monitors.

Edited by sysninja

Share this post


Link to post

@sysninja Thanks for the suggestion! I really appreciate it.

 

Just for clarification, are you recommending:

  1. to "Use font smoothing when available" from System Preferences,
  2. to run the app-specific terminal command (defaults write -app  Alfred\ 4 CGFontRenderingFontSmoothingDisabled  -bool YES), but
  3. to leave the global terminal command alone (defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO)?

Thanks for your help!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...