![]() |
s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
7. WYSIWYG Publishing and Fonts7.1 Introduction and OverviewInstalling fonts for WYSIWYG publishing on Linux is a relatively complex task. It typically involves three steps:
The good news is that most WYSIWYG applications use what is a reasonable solution to this problem. The solution involves constructing some kind of mechanism that maps screen fonts to printer fonts ( this is the main issue. There are also other issues, such as grouping bold, italic and roman variants into ``families'' of fonts ). Unfortunately, there is no standard way to do this. It seems that font management standards which address this issue would greatly simplify the installation of fonts into WYSIWYG publishing systems, because all applications could use a system-wide ( as opposed to application-specific ) configuration. 7.2 ApplixwareThere are two ways to install fonts into Applixware. One method involves using FontTastic, which is Applixware's ``private'' font server. The other method involves editing Applixware's fontmap, to use a font already installed on the system. Installing into the font server is more convenient, but fonts installed in this manner may only be printed at 300 dpi. FontTasticUsing FontTastic is the easy way to do it. To install new fonts like this, simply do the following:
Using System Wide Fonts With ApplixwareThis method is more involved, but produces better results. I recommend that this method is used for fonts that are really important, and that you use a lot. There are a few steps to this: Make the fonts available to XThis is explained in the previous section Make the fonts available to ghostscriptThis is explained in in the previous section Edit the fontmap.dirThis is the final step in making your fonts available to Applix, and also the most time consuming step. The file fontmap.dir is in under the axdata/fontmetrics of your applix installation. The purpose of this step is basically to tell applix which screen fonts go with which outline fonts. This is in general a very nontrivial problem, because the screen fonts are not always on the same computer that the application is installed. We describe how to add fonts to fontmap.dir. In this example, we add the font Baskerville Italic.
That's it. Now after adding the whole family of fonts, you should have something like this: FontRecord = Baskerville-Normal Family = Baskerville ScreenName = "-paradise-baskerville-medium-r-normal--0-0-0-0-p-0-iso8859-1" PostScriptPrintName = Baskerville-Normal MetricsFile = /usr/share/fonts/misc/baskvl.afm Type1FontFileName = /usr/share/fonts/misc/baskvl.pfb FontRecord = Baskerville-Normal-Italic Family = Baskerville Slant = 1 ScreenName = "-paradise-baskerville-medium-i-normal--0-0-0-0-p-0-iso8859-1" PostScriptPrintName = Baskerville-Normal-Italic MetricsFile = /usr/share/fonts/misc/baskvli.afm Type1FontFileName = /usr/share/fonts/misc/baskvli.pfb FontRecord = Baskerville-Bold Family = Baskerville Weight = 1 ScreenName = "-paradise-baskerville-bold-r-normal--0-0-0-0-p-0-iso8859-1" PostScriptPrintName = Baskerville-Bold MetricsFile = /usr/share/fonts/misc/baskvlb.afm Type1FontFileName = /usr/share/fonts/misc/baskvlb.pfb FontRecord = Baskerville-Bold-Italic Family = Baskerville Weight = 1 Slant = 1 ScreenName = "-paradise-baskerville-bold-i-normal--0-0-0-0-p-0-iso8859-1" PostScriptPrintName = Baskerville-Bold-Italic MetricsFile = /usr/share/fonts/misc/baskvlbi.afm Type1FontFileName = /usr/share/fonts/misc/baskvlbi.pfb
It is possible to do more with this configuration file. The file itself has a glossary which explains the format of the configuration file. 7.3 Star OfficeHere, we cover Star Office 5.0. The procedure with Star Office 5.1
is similar,
but the utility is called Having tried both Star Office 5.0, and 5.1, I have found that Star Office 5.1 seems to give me less grief when adding new fonts. I was not succesful adding true type fonts to Star Office 5.0, but it proved somewhat easier with Star Office 5.1. Backup Your Configuration Before you Start !It's good to make a backup in case you inadvertantly hose your
configuration. Modifying fonts will impact several files in the
tar cvzf xp3.tgz xp3to create a backup. To restore a backup, delete the xp3 directory and unpack the archive
rm -rf xp3 tar xvzf xp3.tgz Adding Type1 Fonts to Star OfficeAdding Type1 fonts to Star Office is relatively simple.
If you want to use your TrueType fonts with Star Office 5.0,
the best thing to do is convert them to Type1 fonts, and then follow
the procedure outlined here. If you have Star Office 5.1, you
might wish to use the proceedure for installing TrueType fonts
instead ( though it is somewhat more difficult ).
Firstly, do the usual thing -- make the font available to both X and
ghostscript. Once this is done, the font can be installed into Star Office
using the
Adding TrueType Fonts to Star OfficeAdding TrueType fonts to Star Office is nontrivial, but possible. After some hard work, and long hours stareing at John McLaughlin's page page, I finally got them working in Star Office 5.1. Note that this does not work with version 5.0. The following steps are appropriate it you are printing through ghostscript:
On the other hand, if you are not printing from ghostscript,
you have different issues to deal with. In this case,
tricking Star Office into thinking that your printer has the fonts
is a bad idea, because your printer does not have the
fonts in the ROM, so while
There are some gotchas. Sometimes, Star Office might not choose the
screen font you like. It is sometimes worth checking
Under the HoodIf you wish to install TrueType fonts in Star Office, you may need
to learn how Star Office handles things. When you run
This is why it's good to simply backup the whole 7.4 Word PerfectNothing yet. Rod Smith's webpage is the definitive resource regarding installing fonts on Word Perfect. Next Previous Contents |