Description of problem: I know that this is a subjective bug. But I want to bring it up nonetheless. In Fedora 26 I spent a lot of time adjusting my fonts. I ended up with, what I thought, very nice looking fonts in my GUI console apps (Terminator is my choice, but I could do it in gnome-terminal, konsole, etc...) I spend about 80% of my day inside of these apps, so this is kinda important to me. I have applied the hinting as suggested all over. I was really happy. I am using freetype-freeworld, and I am using these settings: ======================================= $ xrdb -query | grep Xft Xft.antialias: 1 Xft.dpi: 96 Xft.hinting: 1 Xft.hintstyle: hintslight Xft.lcdfilter: lcddefault Xft.rgba: rgb ======================================= I did the system upgrade from F26 -> F27. The fonts inside of my console apps are now uglier. They feel smaller, and more squished together, blockier. I have read a lot, and apparently freetype has changed the default renderer in 2.7. It also seems a new default is coming in 2.8.1, but that doesn't seem to have landed in Fedora yet. It's now using a v40 as opposed to v35. This changed seemed to happen last year, so I'm not sure if F26 had v35 or v40. This is talked about here. https://www.freetype.org/freetype2/docs/subpixel-hinting.html It also has a suggestion of reverting to the "old" style of 35, by adding this to your profile: "FREETYPE_PROPERTIES=truetype:interpreter-version=35" I have tried this, but it didn't seem to do anything different. I am looking for suggestions on how to make this look better. I feel the fonts regressed. Again, I understand this is subjective, and maybe after a few weeks I will just get used to it, but I wanted to bring it up. In IRC they suggested I file a bug, so here it is.
Hi Matt, which fonts do you use? I would like to reproduce the issue. Do you have the freetype-freeworld installed on your F27?
I have tried a bunch of fonts. The one I keep coming back to is DejaVu Sans Mono. This is the one that I am currently seeing issues with.
The new hinting engine was already present in F26. This issue seems to be the one mentioned in freetype's 2.8 release notes: - `Light' auto-hinting mode no longer uses TrueType metrics for TrueType fonts. This bug was introduced in version 2.4.6, causing horizontal scaling also. Almost all GNU/Linux distributions (with Fedora as a notable exception) disabled the corresponding patch for good reasons; chances are thus high that you won't notice a difference. If optical backward compatibility for legacy applications is necessary, you might enable the AF_CONFIG_OPTION_TT_SIZE_METRICS configuration option. However, it is strongly recommended to avoid that, adjusting font sizes instead. Could you attach here screenshots from F27 and F26 ("dnf downgrade freetype* --releasever=26")? I see a difference in sharpness, the F27 version seems a little sharper than the one from F26.
Created attachment 1352802 [details] fedora 26 freetype
Created attachment 1352803 [details] freetype f27
I attached a picture of each F26 and F27. These are the exact same terminal, exact fonts, nothing changed but the freetype version. Now, the difference is there. I think that looking at them, you wouldn't notice the differene. But, the difference in using it is MUCH greater while using than what can be shown in the screen shots, I promise. The F26 is much fuller characters than F27.
The F27 rendering is how the font is supposed to look like. The F26 rendering has too high and too close together lines. The aspect ratio is how DejaVu Sans Mono always looked like with my combination of size, dpi and hinting settings (I use medium hinting), so I'm pretty sure this is how the designers intend it to be scaled, and the F26 version got the metrics wrong.
I've bisected the change and it is really the fix mentioned in the 2.8 changelog. Details can be found here http://git.savannah.gnu.org/cgit/freetype/freetype2.git/commit/?id=bcc74f4dafee25ea89f1d3144646cba7e30f9908 and here https://savannah.nongnu.org/bugs/index.php?50470. I'm closing this as notabug since this was intentional change. Regards
*** Bug 1513999 has been marked as a duplicate of this bug. ***