[SOLVED] Slackware current: some help to get an identical font rendering as 14.2
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware current: some help to get an identical font rendering as 14.2
I really like the font rendering of Slackware 14.2
Imho is the best rendering, better than many other distros.
I use on 14.2 those settings
Code:
fonts: deja-vu sans book 10
hinting: slight
dpi: 96x96
On the current I see the font rendering very bad after upgrading the freetype package from 2.8 to latest current.
For tryng to reach the good rendering as 14.2 I have modify this script
The result is good..but I still think on 14.2 is really, really better (sometimes on current and other distros with latest freetype I have some eyes "burning" because bad rendering)
Some suggestions to get the same rendering as 14.2?
Have you seen /etc/fonts/conf.d/README ? Perhaps a hinting or subpixel rendering setting will improve your experience. It is always hard to give advice on this, as the experience is subjective and hardware can be variable.
Edit /etc/fonts/conf.d/60-latin.conf to pick the DejaVu fonts over the Liberation fonts. The DejaVu fonts are easier to read and edit because the characters are wider.
Ed
Yeah, I don't care for those liberation fonts. It took me a while to figure out why my fonts looked different on this slackware-current. It was mostly in Firefox where I was unhappy, when certain fonts were called for.
I tried changing the order and stuff in those files, and had it almost the way I wanted it, but certain forum fonts still didn't look right (to me). I ended up removing every TTF font except the Deja Vu family. Perfect... it's different configurations of those fonts that I am used to.
I was comparing everything in Manjaro and I had everything the same in Slackware, the symlinks, the ordering, but the difference was, in Manjaro I only had the Deja Vu family installed. I had to install legacy fonts for things like urxvt and stuff, but never got around to any other TTF. Good then.
P.S. I should also note that I use the dreaded bytecode interpreter (not really necessary anymore with modern freetype, it's pretty close, but I'm used to it) and lcd filter.
Last edited by TheRealGrogan; 07-31-2019 at 12:58 PM.
I had the same adventures with fonts on -current: https://slackalaxy.com/2019/04/17/fr...-hinting-mode/
I did what you did and in the end specified the DejaVu fonts in my browser and text editor... I have hinting 'full' and sub-pixel order 'None', but i guess that's all a matter of preference.
Last edited by solarfields; 07-31-2019 at 02:57 PM.
I have found the default rendering to be pretty much excellent on -current. On 14.2 I had to install Infinality which I haven't had to do on -current.
I imagine some of it may come down to your DE, I use Xfce with Sans font and slight hinting on RGB. I use Vivaldi browser with a few modifications to text size relative to my setup.
But you can drive yourself mad with font rendering. Sometimes it's worth stepping away from the computer, because you'll tie yourself in knots over it. As long as it's generally smooth enough, your mind will adjust to it, that's where most of the 'rendering' happens.
Last edited by Lysander666; 07-31-2019 at 03:21 PM.
Here is a comparison of the DejaVu, Liberation, and Luxi fonts. If you step back from your monitor, you can see that DejaVu remains readable at greater distances.
Ed
My FF fonts have looked terrible for a while. Yesterday, I changed in System Settings to enable anti-aliasing, changed hinting to slight, and to force font dpi to 96. I already had fonts set to Deja-Vu Sans Book. That was the best thing I've done in a while.
I have -current in VBox also. Everything there is set to Vendor Default, and there is no problem with fonts. That may also be due to the Nvidia GT 730 card with the Nvidia blob installed. VBox uses its own graphics stuff.
I figured out that the best way to go for me was to set Hinting to slight in Xfce which decreases the height of the fonts a little bit:
left is default / right is with Hinting: slight.
As the fonts still looked way to small for me, I have increased the size for both, the default font and the Monospace font to 11. Within Settings > Windows Manager I have set the Title font size to 10 (Sans Bold).
An alternate approach to mimic the old font-rendering behavior of Slackware 14.2 is to edit /etc/fonts/conf.d/60-latin.conf and to modify it that DejaVu fonts are listed before Liberation:
Afterwards one has to modify /etc/profile.d/freetype.sh as described in camerabambai's post.
An alternate approach to mimic the old font-rendering behavior of Slackware 14.2 is to edit /etc/fonts/conf.d/60-latin.conf and to modify it that DejaVu fonts are listed before Liberation:
Just created an account to say: thanks, @lioh!! You saved my eyes!
I already have Xfce antialiasing e full hint mode.
Changing /etc/fonts/conf.d/60-latin.conf was the most important for me.
Changind /etc/profile.d/freetype.sh was just the cherry on the cake.
Solution found, I use on current the old /etc/fonts dir from slackware 14.2 enable export FREETYPE_PROPERTIES="truetype:interpreter-version=35" in the /etc/profile.d/freetype.sh script and after 10-15 days the fonts are nice as 14.2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.