Here are the steps to rebuild freetype with the bytecode interpreter and sub-pixel hinting enabled:
From the Slackware source (../slackware-12.0/source/l/freetype/) get all those files and put them in one directory.
Then you can edit "freetype.SlackBuild" and uncomment (remove the # from in front of) line 50:
#zcat $CWD/freetype.bytecode.interpreter.diff.gz | patch -p1 --verbose || exit 1
and also uncomment line 57:
#zcat $CWD/freetype.subpixel.rendering.diff.gz | patch -p1 --verbose || exit 1
and also give it a different version number in line 7, where the file says:
give it another number, such as 4. Now save the file and run as root:
sh freetype.SlackBuild --cleanup
which will build a new freetype package with the bytecode interpreter enabled, and sub-pixel hinting.
You can get the latest source
and rebuild FreeType yourself if you prefer, but IMO a Slackware package built with an official Slackware SlackBuild script is best; so even if you elect to use the latest freetype source, use the Slackware SlackBuild.
After it's built, you can look in /tmp/ for the new Slackpackage and install it with:
since you should already have freetype installed. It would be something like:
If you previously removed freetype with the command "removepkg" then you'll need to install the new Slackpack with "installpkg /tmp/freetype-2.3.4-i486-4.tgz"