![]() Chapter Contents |
![]() Previous |
![]() Next |
| The GIMPORT Procedure |
| Procedure features: |
| |||||||
| Other features: |
| |||||||
| Sample library member: | GR17N01 |
This example creates a CGM in binary format by directing SAS/GRAPH output to a graphics stream file (GSF) and using a CGM device driver. It uses the GIMPORT procedure to import the resulting CGM into SAS/GRAPH where it can be viewed and stored in a catalog. (See SAS/GRAPH Programs for additional information on catalog entries and graphics stream files.) The output shows the imported version of the graphic. Note that the output uses the default font because the specified fonts are unavailable. Adjusting the Graphics Output shows how to map these fonts to get the output that you want. Also see About Font Mapping for additional information.
| | filename gsasfile 'external-file';
goptions reset=global gunit=pct border cback=white
colors=(black)
gaccess=gsasfile gsfmode=replace
noprompt device=cgmcrt
hsize=5 in vsize=5 in; |
| | title1 f=script h=7 'Title One is SCRIPT Font'; title2 f=centb h=5 'Title Two is CENTB Font'; title3 f=zapf h=5 'Title Three is ZAPF Font'; footnote h=3 f=swiss j=r 'GR17N01 '; |
| | proc gslide; run; quit; |
| | goptions reset=goptions border cback=white
colors=(black); |
| | proc gimport fileref=gsasfile
filetype=cgm
format=binary;
run; |
Font List shows the font list that is displayed in the log file. The font list contains all of the fonts that are used by the CGM. The warning messages following the font list indicate which fonts can be remapped using the MAP statement.
.
.
.
NOTE: These fonts are used in this CGM file. You may use the MAP statement
to map these fonts to
SAS/GRAPH
fonts.
1. SIMPLEX
2. BRUSH
3. CENTB
4. CENTBE
5. CENTBI
6. CENTBIE
7. CENTX
8. CENTXE
9. CENTXI
10. CENTXIE
11. GERMAN
12. GITALIC
13. DUPLEX
14. COMPLEX
15. TRIPLEX
16. TITALIC
17. ITALIC
18. OLDENG
19. SCRIPT
20. CSCRIPT
21. SWISS
22. SWISSE
23. SWISSB
24. SWISSBE
25. SWISSBI
26. SWISSBIE
27. SWISSX
28. SWISSXE
29. SWISSXB
30. SWISSXB
31. SWISSXBE
32. SWISSI
33. SWISSIE
34. SWISSL
35. SWISSLE
36. ZAPF
37. ZAPFE
38. ZAPFB
39. ZAPFBE
40. ZAPFBI
41. ZAPFBIE
42. ZAPFI
43. ZAPFIE
WARNING: Unspecified font index 19. Font has been mapped to the default font.
WARNING: Unspecified font index 3. Font has been mapped to the default font.
WARNING: Unspecified font index 36. Font has been mapped to the default font.
WARNING: Unspecified font index 21. Font has been mapped to the default font.
.
.
. |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.