Credits | Overview | Plotting Styles | Commands | Terminals |
---|
The first part of a Computer Graphics Metafile, the metafile description, includes a font table. In the picture body, a font is designated by an index into this table. By default, this terminal generates a table with the following 35 fonts, plus six more with italic replaced by oblique, or vice-versa (since at least the Microsoft Office and Corel Draw CGM import filters treat italic and oblique as equivalent):
CGM fonts | |
---|---|
Helvetica | Hershey/Cartographic_Roman |
Helvetica Bold | Hershey/Cartographic_Greek |
Helvetica Oblique | Hershey/Simplex_Roman |
Helvetica Bold Oblique | Hershey/Simplex_Greek |
Times Roman | Hershey/Simplex_Script |
Times Bold | Hershey/Complex_Roman |
Times Italic | Hershey/Complex_Greek |
Times Bold Italic | Hershey/Complex_Italic |
Courier | Hershey/Complex_Cyrillic |
Courier Bold | Hershey/Duplex_Roman |
Courier Oblique | Hershey/Triplex_Roman |
Courier Bold Oblique | Hershey/Triplex_Italic |
Symbol | Hershey/Gothic_German |
ZapfDingbats | Hershey/Gothic_English |
Script | Hershey/Gothic_Italian |
15 | Hershey/Symbol_Set_1 |
Hershey/Symbol_Set_2 | |
Hershey/Symbol_Math |
The first thirteen of these fonts are required for WebCGM. The Microsoft Office CGM import filter implements the 13 standard fonts listed above, and also 'ZapfDingbats' and 'Script'. However, the script font may only be accessed under the name '15'. For more on Microsoft import filter font substitutions, check its help file which you may find here:
C:\Program Files\Microsoft Office\Office\Cgmimp32.hlp
and/or its configuration file, which you may find here:
C:\Program Files\Common Files\Microsoft Shared\Grphflt\Cgmimp32.cfg
In the set term command, you may specify a font name which does not appear in the default font table. In that case, a new font table is constructed with the specified font as its first entry. You must ensure that the spelling, capitalization, and spacing of the name are appropriate for the application that will read the CGM file. (Gnuplot and any MIL-D-28003A compliant application ignore case in font names.) If you need to add several new fonts, use several set term commands.
Example:
set terminal cgm 'Old English' set terminal cgm 'Tengwar' set terminal cgm 'Arabic' set output 'myfile.cgm' plot ... set output
You cannot introduce a new font in a set label command.