Chapter Contents

Previous

Next
The GIMPORT Procedure

MAP Statement


Substitutes a SAS/GRAPH software font for a font in the CGM.

Requirements: Submit a separate MAP statement for each CGM font that you want to map.
Tip: You can submit multiple MAP statements with the procedure.
Featured in: Adjusting the Graphics Output



Syntax

MAP 'cgm-font' TO font;


Required Arguments

'cgm-font'
identifies a font in the CGM. The name of the font must be enclosed in single quotation marks and written exactly as it appears in the font list; cgm-font is case sensitive. Do not include the font list number in cgm-font.

font
specifies the SAS/GRAPH font to which the CGM font is mapped. You can specify software fonts or hardware fonts for the destination device. You can also use fonts that are created by the GFONT procedure.

Note:   Remember to specify the libref GFONT0 with a LIBNAME statement if font is a user-generated font.  [cautionend]

By default, the GIMPORT procedure maps all of the CGM fonts to the font specified by the FTEXT= graphics option or, if the FTEXT= graphics option is not used, to the default hardware font, NONE.


Details

If the CGM includes the FONT LIST element, the GIMPORT procedure automatically lists the CGM font names in the log. Use this list to select the fonts for mapping. For example, suppose the font list includes the following entry:

3. Times Roman

If the LOG window displays the message "WARNING: Invalid font index n," you can map the Times Roman font to the SAS/GRAPH font CENTX with the following statement:

map 'Times Roman' to centx;


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.