LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Font rendering ugly without antialiasing (https://www.linuxquestions.org/questions/fedora-35/font-rendering-ugly-without-antialiasing-159412/)

spidernik84 03-18-2004 10:23 AM

Font rendering ugly without antialiasing
 
Hi everybody...
Firstly i would ask you to forgive me if i'm posting a question already asked many times...but i've been searching around for a solution to my problem without finding any

I've got, obviously, fedora core 1. Everybody like antialiasing, probably with a good reason, but i really can't...i've been trying to live with it without succes :)
The problem is that if i'm disabling it the font rendering is damn bad...the only font displaying good is Helvetica with a size less than 10(with greater sizes no way to show it nicely).
On previous rh distros there was the pretty and easy option ":unscaled" to put after a font path in XFree86.config, with which i was used to solve the prob...now, even putting it in the xml file "local.conf" there ain't any way to get it work!

I'm near to desperation :D
Thanks for your (eventual) help and for your patience

kai_t 03-18-2004 09:37 PM

First and foremost, if you haven't already read the Fedora Core 1 release notes, let me suggest you read the paragraph on fonts (under the heading "General Notes"), at least, to be aware of the two differing font subsystems.

Regarding your problem, one thing you could try is rebuilding the FreeType package from the corresponding source RPM, with the TrueType bytecode interpreter enabled. The latter is disabled in the distributed package due to patent reasons.

Before building the package, you should install a "non-root" RPM build environment for your user. Example instructions can be found here; if you use the first method from that page, you should amend your user's RPM configuration using the following commands afterwards:
Code:

mkdir -p ~/rpmbuild/tmp
echo '%_tmppath %(echo $HOME)/rpmbuild/tmp' >> ~/.rpmmacros

In any case, the rpm-build package is required to be installed.

Now, install the FreeType source RPM via rpm -ihv /path/to/freetype*.src.rpm. Near the beginning of the file ~/rpmbuild/SPECS/freetype.spec (file pathes may vary depending on your RPM configuration), there is a line beginning with %define without_bytecode_interpreter. Change the numeric value at the end of line from 1 to 0.

Make sure the XFree86-devel package is installed (check using, e. g., rpm -q XFree86-devel), and start the build process as follows: rpmbuild -bb --clean ~/rpmbuild/SPECS/freetype.spec

If all goes well, you'll be able to install the new FreeType package(s) using rpm -Fvh --replacepkgs --replacefiles ~/rpmbuild/RPMS/i386/freetype*.rpm. In case there is an error, please post the complete message here.


All times are GMT -5. The time now is 06:54 AM.