2011
Table Of Contents
- Contents
- Basic Customization
- Custom Linetypes
- Custom Hatch Patterns
- User Interface Customization
- DIESEL
- Command Scripts
- Introduction to Programming Interfaces
- Shapes and Shape Fonts
- Overview of Shape Files
- Create Shape Definition Files
- Shape Descriptions
- Vector Length and Direction Code
- Special Codes
- Use Special Codes
- Codes 0, 1, and 2: End of Shape and Draw Mode Control
- Codes 3 and 4: Size Control
- Codes 5 and 6: Location Save/Restore
- Code 7: Subshape
- Codes 8 and 9: X-Y Displacements
- Code 00A: Octant Arc
- Code 00B: Fractional Arc
- Codes 00C and 00D: Bulge-Specified Arcs
- Code 00E: Flag Vertical Text Command
- Text Font Descriptions
- Sample Files
- Big Font Descriptions
- Unicode Font Descriptions
- Superscripts and Subscripts in SHX Files
- Index
Compile PostScript Fonts
To use a Type 1 PostScript font in AutoCAD for Mac, you must first compile
it into an AutoCAD for Mac shape file. The COMPILE command accepts both
SHP and PFB files as input and generates an SHX file. Compiled versions of
PostScript fonts can take a lot of disk space, so compile only those fonts you
use frequently.
AutoCAD for Mac cannot compile and load every Type 1 font. The PostScript
font facilities in AutoCAD for Mac are intended to process a subset of Adobe
fonts. If you receive an error while compiling a PostScript font, the resulting
SHX file (if one is generated) may not load into AutoCAD for Mac.
For more information on the Adobe Type 1 font format, refer to Adobe Type1
Font Format Version 1.1. When you've purchased and installed these fonts, you
can begin using them with AutoCAD for Mac.
NOTE Make sure you understand any copyright that accompanies the PostScript
fonts you use. The same copyright restrictions generally apply to the SHX form of
fonts you've compiled.
To compile a shape or font file
■ At the Command prompt, enter compile and press Enter.
In the Select Shape or Font File dialog box, you can select a shape definition
file (SHP) or PostScript font file (PFB). After you select the file name, compiling
begins. If AutoCAD for Mac finds an error in the shape descriptions, a message
is displayed telling you the type of error and the line number. When compiling
is complete, the following messages are displayed:
Compilation successful.
Output file name.shx contains nnn bytes.
Quick Reference
Commands
COMPILE
Compiles shape files and PostScript font files into SHX files.
LOAD
Makes shapes available for use by the SHAPE command.
106 | Chapter 8 Shapes and Shape Fonts