I tried different font settings in the font settings and it didn’t improve much (font hinting, anti aliasing, custom DPI settings, different font size)

The font is the default one which is Ubuntu Regular with font size set to 10

Sub pixel order is set properly to RGB Linux Mint xfce

Even when running windows in a virtual machine, the font rendering in it is miles ahead of what I got on my Linux setup!!!

51 points

You will never get the same font rendering on Linux as on Windows as Windows font rendering (ClearType) is very strange, complicated and covered by patents.

Font rendering is also kind of a subjective thing. To anyone who is used macOS, windows font rendering looks wrong as well. Apple’s font rendering renders fonts much closer to how they would look printed out. Windows tries to increase readability by reducing blurriness and aligning everything perfectly with pixels, but it does this at the expense of accuracy.

Linux’s font rendering tends to be a bit behind, but is likely to be more similar to macOS than to Windows rendering as time goes forward. The fonts themselves are often made available by Microsoft for using on different systems, it’s just the rendering that is different.

For me, on my screens just by installing Segoe UI and tweaking the hinting / antialiasing under GNOME settings makes it really close to what Windows delivers. The default Ubuntu font, Cantarell and Sans don’t seem to be very good fonts for a great rendering experience.

The following links may be of interest to you:

permalink
report
reply
13 points

Definitely very subjective. People keep saying macOS has amazing font rendering but for me it just looks like a blurry mess, especially on non-retina displays. My fonts are set to be as sharp as possible on Linux because when coding and in the terminal I want very sharp fonts so they’re easier to read for me.

Seconding the dependence on the particular font as well. Cantarell, Ubuntu and OpenSans are all fairly blurry regardless, unless seen on HiDPI screens in which case they do look more like macOS. DejaVu Sans can be very sharp in contrast at very low resolutions because it’s been made in the 800x600 and 1024x768 days and optimized to look sharp when small.

permalink
report
parent
reply
5 points

I gotta highly disagree with the blurry mess comment. To my eye Linux is looking about 90% as good as Mac these days. Mac fonts look the best but that os is worse in a lot of other ways. Windows always has looked worst font wise, though I will say it looks better these days than it used to.

permalink
report
parent
reply
5 points

Objectively, Apple is focusing on leveraging high DPI over subpixel tricks.

It makes sense that people who value sharpness on low DPI screens prefer subpixel rendering over grayscale.

permalink
report
parent
reply
5 points

I’m partial to macOS and I agree, I think Windows font rendering looks like garbage. On GNOME, I’ve found things to be okay. Sucks that patents are involved in this mess

permalink
report
parent
reply
0 points

Everyone believes what they look at every day “looks right”. It’s just habit.

permalink
report
parent
reply
5 points

Windows and Mac rendering have always been ugly as sin to me and I vastly prefer Linux font displays. They always look cleaner and less processed.

permalink
report
parent
reply
2 points

Thanks a lot for the info! I just went and installed segoe Ui font, and it looked even worse than Ubuntu Regular and I tried all the hinting options and made sure to restart after each change!!!

permalink
report
parent
reply
37 points

Can we see some screenshots? It’s hard to work just with someone’s idea of “better”. Not to mention that font rendering can be tweaked on both Windows and Linux and we don’t know what settings you’ve changed so far. Oh and I hope you’re comparing the same font otherwise there isn’t much point you the comparison.

permalink
report
reply
3 points

And also show ls -l /etc/fonts/conf.d

permalink
report
parent
reply
2 points
2 points

I tried to upload a screenshot when creating this post, but it seems there is an issue with the instance I’m on, so I just tried uploading it to Imgur instead so here you go, and oh scaling is set to 1x (there is only 1x which is the default and 2x which I tried today, but it made all the UI elements and text too big and yep I’m not using the same fonts for comparison and I don’t think it is as simple to install and use the font used by win 10 and/or 11, and honestly I do not know if using Microsoft font going to fix this issue or not

screenshot these all are the default settings except maybe for Hinting

permalink
report
parent
reply
12 points

The biggest problem that I see on this screenshot is that it is a compressed JPEG.

permalink
report
parent
reply
1 point

Lol blame linux mint, or is it imgur?

permalink
report
parent
reply
13 points

There are some tips here that might help

https://github.com/dajeed/arch-linux-font-improvement-guide

Important to note that restarting or running sudo fc-cache -fv is key when doing things with fonts.

permalink
report
reply
12 points

This is almost always a compositor issue, and unless something is terribly wrong, only affects certain applications that don’t properly use the composite rendering method. First, find out which compositor you’re in (probably Wayland if a modern distro), then find out which apps seem blurry. Last step: force those apps to use your specific compositor (start searching for runtime options for the app).

Should fix it.

permalink
report
reply
2 points

I’m running linux mint xfce which after checking it seems that it uses xfwm 4.18.0 and everything is blury, there isn’t a single thing that isn’t blury well except for the windows 10 vm lol

permalink
report
parent
reply
5 points
*

Did you turn off any fancy UI tweaks like scaling (especially fractional)? Have you confirmed if your session has a compositor running?

Also, try something like this

Depending on your overall OS and sessions setup, your distro install may not be tweaked properly for Xfce, which still doesn’t have Wayland support last I checked. So unless you made sure to clear out all the other global configs that could impact the GUI session, you’ll probably have some issues unless you switch to an Xfce catered distro.

permalink
report
parent
reply
1 point

Sounds like a fractional scaling issue. Keep the scaling at 100% to avoid those kinds of issues

permalink
report
parent
reply
1 point

Scaling has always been set to 1x (100%) and I have never changed it or played with it until today!

permalink
report
parent
reply
11 points

I wonder what someone has to do to have worse looking font rendering on Linux. I find the font rendering on Windows worse in every regard and inconsistent (size). On Linux I just set hinting to slight and anti-aliasing to greyscale and all my fonts look nice. Same font with same size on Windows (VSCode is the only program I use on both OS) looks slightly blurred; only the fact that my work display has a higher pixels density makes it ok for me.

permalink
report
reply
9 points

Font rendering is complex and depends on several settings and features lining up perfectly. Anti-aliasing, DPI, fractional scaling, hinting, and subpixel rendering are all important factors that contribute to the quality and appearance of text on a digital display.

permalink
report
parent
reply
1 point

Apparently nothing just get a 10 year old laptop and use Linux mint on it🤷‍♂️

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.8K

    Monthly active users

  • 5.8K

    Posts

  • 161K

    Comments