PDA

View Full Version : Piggyback on installed TTF in window



garyng
06-01-2003, 06:08 AM
If anyone happens to boot KNOPPIX on a machine with Windows(whatever version, well not pre-3.x as there was no TTF back then) installed, there is a simple way to 'steal' or 'piggyback' on its fonts, with a simple script.

win_mount="/mnt/hda1"
win_dir="windows"

for i in $win_mount/$win_dir/fonts/*ttf; do
j=$(basename $i)
ln -s $i ~/.fonts/$j
done
fc-cache

Now all these nice TTF will be available for your use. Copy them over is another option but if you are running low on memory(that is what KNOPPIX use by default) or persistent home space, a softlink is better and it is faster too.

true1ever
06-05-2003, 08:33 PM
great idea!

aay
06-05-2003, 09:02 PM
Nice.