Instructions on how I've managed to get some of my True Type fonts to work under AbiWord 0.9.0 on Linux. Hopefully some of you will find this useful as well.Here are a couple of screenshots to show you it can be done:
Shot 1
Shot 2
Before you do anything then back up your AbiWord fonts directory and bin directory. These should be located under the AbiSuite folder either under /usr or /usr/local. If you cannot find the AbiSuite folder then just do a locate or find for it.
After you have backed up the AbiWord fonts and bin folders follow these steps:
- Go into su mode
- Copy your true type fonts into the AbiWord fonts folder
- Open fonts.scale from your true type fonts folder. Copy all the font entries and make a note of the number at the top - this is the number of fonts you have in the folder
- Open fonts.scale in the AbiSuite fonts folder and paste the entries in from your true type fonts.scale after the other entries. Update the total number of fonts at the top of the fonts.scale file
- Within the AbiSuite fonts folder run the mkfontdir comand and this should update the fonts.dir file
- Download my replacement ttfadmin.sh file here and put it in the AbiSuite bin folder
- Type, without quotes, "./ttfadmin.sh ../fonts" - this should process your true type fonts so AbiWord can pick them up
- Restart X
- Load up AbiWord and you should have True Type fonts
Problems
The only problems I've encountered are:
- Not all true type fonts are picked up
- The AbiWord versions of Times New Roman and Arial have to be used
- Trying to print with some True Type fonts will crash AbiWord
If anyone comes up with ways round these problems then let me know and I'll update the instructions.
|