A question for the Nerds here may be: is the font hinting done on Slitaz (it uses freetype, yes?) done with the byte-code interpreter enabled or not? I tried to do what I have been accustomed under Mandriva and apply a libfreetype6-plf-rpm, which improves the fonts there quite a bit, by using ,,tazpkg convert *.rpm *.tazpkg" but that failed under Slitaz 3.0.
Font hinting? You only need fontconfing for that. So try this:
1. Create a fine called .font.conf in your home directory 2. Add the following code to it: <?xml version="1.0"?> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> <fontconfig> <match target="font"> <edit name="hinting" mode="assign"> <bool>true</bool> </edit> </match>
<!-- Disables Auto-hinting because it looks crap --> <match target="font"> <edit name="autohint" mode="assign"> <bool>false</bool> </edit> </match>
<!-- Sets hinting style: hintnone, hintslight, hintmedium, hintfull --> <match target="font"> <edit name="hintstyle" mode="assign"> <const>hintslight</const> </edit> </match> </fontconfig> 3. Save and restart or logout (X.org needs to be restarted... so yeah). This should enable Byte-code Font Hinting like you'd expect.
Thank you, Trixar-za, that helped indeed. But I cannot come with it to the look that Mandriva after applying that plf-variant of the libfreetype6 delivers. I had tried to use ,,tazpkg convert" but that failed. Now I know why: That plf-program had been compiled with ,,glibc_2.11" and apparently my Slitaz cannot make use of it. It would be necessary to try to compile the very modern version of freetype (remember: the patent issue finished in August 2010!) on Slitaz. But such a thing I cannot do as I lack know how for such a thing. Compiling does not come to me, bad memories live up! ;-)
Slitaz only comes with the basic dejavu fonts, which kind of sucks. But luckily you can install libsdl-ttf, ttf-bitstream-vera and ttf-dejavu-extra to expand on your choices a bit.
There is also the xfree86-base-fonts package, but I've never used it.
Probably won't give you all the fonts you want, but atleast it will offer some verity hey. You can also mess with the intensity of the hinting. I personally use hintslight, but my friend uses hintfull for his netbook. It's down to how 'rich' you need the hinting to be.
I'm not sure how well it work though, since the applications will need to have support for it enabled before it works. But there you have it ;)
PS: In case you didn't know, you use tazpkg get-install to get and install a package from the repository, while you use tazpkg install to install a package you downloaded manually.
Puh, I am positively shocked! Thanks a lot! This speed of reply matches that of the legendary user flux in the old Slax forum (the guy who constructed fluxflux-sl). I will try out your proposals in a short time. Msttcorefonts I had alreay used on another machine with success.
Yes, done and it worked with ease! The result: especially with Abiword the fonts look really improved now plus the Desktop surface as well. Thanks for your quick help! I am just having fun with Slitaz. I will show this thread in school. Hopefully somebody feels invitend to learn more English!
It does have two missing dependacies that it doesn't resolve properly, so make sure you install them before. The missing packages you'll need is glibc-locale and librsvg.
Slitaz has many little secrets like that floating around, which makes it kind of fun to explore. I also have my own set of packages for Slitaz (mostly game emulators) @ http://www.trixarian.za.net/?Projects:SliTaz
Yes, a little miracle chamber has opened with such ,,hidden" repesitories! ;-) But it contains worthless stuff as long as such commentaries like
,,It does have two missing dependacies that it doesn't resolve properly, so make sure you install them before. The missing packages you'll need is glibc-locale and librsvg."
Sometimes the packager forgets to add all the run-time dependacies. Probably because their system already had it installed when they made it and it wasn't mentioned as one of the runtime depenacies in the README or INSTALL files.
You'd be surprised how many times this happens - even with packagers from debian and Ubuntu.
May be a stupid question: can't you check it quick wit ldd <path-to-the-executable>? You are absolute right: it happens too often, disrespectful of ,,big names".
"... it thus no longer necessary to disable the bytecode interpreter, and starting with FreeType version 2.4, it is enabled by default." (http://freetype.sourceforge.net/patents.html)
This will apply then to all distributions that use freetype.
And, damned, after applying your packages my slitaz looks very much improved!