Anssi Hannula pravi:
Matjaž Kaše wrote:
Hello everybody!
The libfreetype6 package from plf repositories enables the MS core fonts
look the same as in Windows, but it does not allow the "Cleartype" look.
I found the solution by downloading libfreetype6, libxft2 and libcairo2
from PCLinuxOS repositories and by running this script as root from the
folder, where I've stored them:
*Code:*
#!/bin/bash
rpm -e --nodeps libcairo2
rpm -ivh libcairo2-1.4.12-2pclos2007.i586.rpm
rpm -e --nodeps libxft2
rpm -ivh libxft2-2.1.12-2pclos2007.i586.rpm
rpm -e --nodeps libfreetype6
rpm -ivh libfreetype6-2.3.5-1pclos2007.i586.rpm
and by adding to add this at the beginning of /etc/fonts/fonts.conf:
*Code:*
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>rgb</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintmedium</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
Liberation fonts look very nice after this, very similar to MS core
fonts with Cleartype enabled.
I'm afrraid that this is not a permanent solution.
Since I have no programming knolledge I wander if the PLF team can do
anything abuot this?
I have exactly the same lines in ~/.fonts.conf, written by KDE control
center. There is no need to add any global configuration then.
Are you sure these do not work with Mandriva RPMs? What version of
Mandriva do you have? Could you show screenshots with PLF libfreetype6
and PCLOS libfreetype6 to show the difference?
The fonts with mdv packages look rough, with plf packages they look
broken and are surrounded by rainbow colors, with PCL package they look
like this:
PCL : http://shrani.si/?/hN/4yomUvHd/posnetek7.png
If you edit only the ~/.fonts.conf file, it doesn't correct the look of
manddriva control ccenter or any program you run with kdesu prefix.
_______________________________________________
PLF-discuss mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-discuss