# Font smoothing in wine

**URL:** <https://forum.endeavouros.com/t/font-smoothing-in-wine/22860>\
**Category:** General system\
**Created:** [January 18, 2022, 3:31pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860 "2022-01-18T15:31:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![codic12](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/codic12/32/23959_2.png) [@codic12](https://forum.endeavouros.com/u/codic12)\
**Post date:** [January 18, 2022, 3:31pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/1 "2022-01-18T15:31:06Z")

</div>

So I’ve been recently trying to run some applications via wine (7.0-rc5, according to wine --version). I’ve tried `winetricks corefonts` and `winetricks settings fontsmooth=rgb`, but the font in wine remains a bitmap font, not a smoothed out one. For example here’s winecfg:  
 ![image](https://forum.endeavouros.com/uploads/default/original/3X/6/b/6b6b961ac8c5e2cab7ad4a7ed82e8f48c1a9ac2e.png)  
For both winetricks commands I set the environment variables WINEARCH=win32 WINEPREFIX=~/.wine. Any tips on how to get nice smoothed-out fonts in wine applications? Thanks!

One note: when I set in winecfg Graphics\>DPI \>= 168, I get smooth fonts, but that font size is much too big to use on my display. Also have AUR ttf-ms-fonts installed.

---

<div class="post-metadata">

**Author:** ![KDen](https://forum.endeavouros.com/letter_avatar_proxy/v4/letter/k/858c86/32.png) [@KDen](https://forum.endeavouros.com/u/KDen)\
**Post date:** [January 18, 2022, 4:08pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/2 "2022-01-18T16:08:37Z")

</div>

Dunno, but here’s a couple of links that may help:

- [https://www.wine-reviews.net/2009/03/how-to-enable-font-anti-aliasing-in.html](https://www.wine-reviews.net/2009/03/how-to-enable-font-anti-aliasing-in.html)
- [https://forums.linuxmint.com/viewtopic.php?t=280749](https://forums.linuxmint.com/viewtopic.php?t=280749)
- [https://wiki.archlinux.org/title/wine#Fonts](https://wiki.archlinux.org/title/wine#Fonts)

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [January 18, 2022, 4:08pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/3 "2022-01-18T16:08:58Z")

</div>

I think that may depend on:

- DE and how it handles hinting
- Type of display you have

You can try this winetricks together:

```auto
gdiplus
fontsmooth=rgb

```

> [@codic12](#):
>
> Also have AUR ttf-ms-fonts installed.

Try to remove it and launch winecfg again, see if it’s not the issue

---

<div class="post-metadata">

**Author:** ![codic12](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/codic12/32/23959_2.png) [@codic12](https://forum.endeavouros.com/u/codic12)\
**Post date:** [January 18, 2022, 11:50pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/4 "2022-01-18T23:50:08Z")

</div>

Thanks, replies are appreciated! I’ll take a look at those links.

> [@keybreak](#):
>
> DE and how it handles hinting

It happens regardless of the desktop environment / window manager, as DEs don’t themselves handle hinting, they just set fontconfig options usually.

> [@keybreak](#):
>
> Type of display you have

Same result on both my external monitor and internal laptop display.

> [@keybreak](#):
>
> Try to remove it and launch winecfg again, see if it’s not the issue

Not the issue, I installed it to try to fix the issue - but removed again as a test, and still not working.

> [@keybreak](#):
>
> You can try this winetricks together:

Thanks for the suggestion, but still not working with gdiplus and fontsmooth rgb.

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [January 19, 2022, 6:48am UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/5 "2022-01-19T06:48:56Z")

</div>

> [@codic12](#):
>
> DEs don’t themselves handle hinting, they just set fontconfig options usually.

Usually, but i think that some add unconventional stuff on top (that’s purely from user observation)

> [@codic12](#):
>
> Same result on both my external monitor and internal laptop display.

Now here i’m out of ideas, still what types of monitors are they?  
Maybe (not likely) you need to force some other fontsmooth mode

I’ve fond that some recommend to apply winetricks with same settings wineprefix was created, so:

```auto
WINEARCH=win32 WINEPREFIX=~/.wine winetricks fontsmooth-rgb

```

btw, i see 0 reasons to use win32 prefixes this days, unless you absolutely require it, most things works perfectly with x64 so maybe try to create another x64 prefix and test if fontsmoothing works there

---

<div class="post-metadata">

**Author:** ![codic12](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/codic12/32/23959_2.png) [@codic12](https://forum.endeavouros.com/u/codic12)\
**Post date:** [January 19, 2022, 3:25pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/6 "2022-01-19T15:25:57Z")

</div>

> [@keybreak](#):
>
> Now here i’m out of ideas, still what types of monitors are they?

my internal laptop panel I’m not sure. my external monitor is a 24" 1920x1200 Dell monitor, but I think it’s not the issue.

Originally I tried with a 64-bit prefix, but then wine started complaining about “use at your own risk” or something so I just switched to 32-bit; Thanks for the tip!

---

<div class="post-metadata">

**Author:** ![keybreak](https://forum.endeavouros.com/user_avatar/forum.endeavouros.com/keybreak/32/9257_2.png) [@keybreak](https://forum.endeavouros.com/u/keybreak)\
**Post date:** [January 19, 2022, 3:30pm UTC](https://forum.endeavouros.com/t/font-smoothing-in-wine/22860/7 "2022-01-19T15:30:25Z")

</div>

> [@codic12](#):
>
> Originally I tried with a 64-bit prefix, but then wine started complaining about “use at your own risk” or something so I just switched to 32-bit Thanks for the tip!

Yes, that’s old news this days for very rare exceptions 🙂
