2011

Table Of Contents
the code 7 is interpreted as a two-byte value. This affects the total number of
data bytes (defbytes) in the shape description header. For example, the
following shape description is found in the romans.shp file:
*00080,4,keuroRef
7,020AC,0
The second field in the header represents the total number of bytes in the
shape description. If you are not used to working with Unicode font
descriptions, you may be inclined to use three bytes rather than four, but this
would cause an error during the compiling of the SHP file. This is true even
if the shape number you are referencing is not in the two-byte range (below
255); the compiler always uses two bytes for this value, so you must account
for that in the header.
The only other difference between Unifont shape definitions and regular shape
definitions is the shape numbers. The Unifont shape definitions that AutoCAD
for Mac provides use hexadecimal shape numbers as opposed to decimal values.
Although hexadecimal numbers are not required, their use makes it easier to
cross-reference the shape numbers with the \U+ control character values.
Quick Reference
Commands
LOAD
Makes shapes available for use by the SHAPE command.
SHAPE
Inserts a shape from a shape file that has been loaded using LOAD.
Superscripts and Subscripts in SHX Files
You can modify shape definition files to improve their ability to display
superscripts and subscripts.
The AutoCAD for Mac SHX fonts have limited superscript and subscript
capabilities. However, it is relatively easy to modify shape definition files to
improve superscript and subscript capability.
Creating superscripts and subscripts requires two steps. First, the imaginary
pen that is creating the text, vector by vector, on your screen needs to be
shifted up or down. Then, the font scale needs to be reduced. In addition,
the reverse process has to take place to return to the normal font. The font
Superscripts and Subscripts in SHX Files | 181