Purpose
Opcode format | Opcode
[ASCII] (Hex) |
Operand Format | Comments |
Extended ASCII | (Font | [<ws>(Name<ws><TFont>)]\
[<ws>(Charset<ws><TCharset>)]\ [<ws>(Pitch<ws><TPitch>)]\ [<ws>(Family<ws><TFamily>)]\ [<ws>(Style[<ws>bold][<ws>italic])]\ [<ws>(Height<ws><IHeight>)]\ [<ws>(Widthscale<ws><IWidthscale>)]\ [<ws>(Spacing<ws><ISpacing>)]\ [<ws>(Oblique<ws><IOblique>)]\ [<ws>(Flags<ws><IFlags>)]\ [<ws><RDescription>]*\ [<ws>]) |
Select the best matching font from the supplied description. |
Single-byte, binary operand | [Ctrl-F] (06) | <USFields>\
[<TFont>]\ [<BCharset>]\ [<BPitch>]\ [<BFamily>]\ [<BStyle>]\ [<ULHeight>]\ [<USRotation>]\ [<USWidthscale>]\ [<USSpacing>]\ [<USOblique>]\ [<ULFlags>] |
Select the best matching font from the supplied description. |
Font The name of the specific font that is desired. If this font is not available, then the specified font attributes should be used to find the closest available font.
Charset Used for font matching, the desired font should support the specified character set (see below).
Pitch Used for font matching, the desired font should have the specified pitch (see below).
Family Used for font matching, the desired font should be from the specified family (see below).
Style Used for font matching, allows the specification of bold and/or italic styled fonts.
Height The desired height of the font measured in logical coordinates.
Rotation The desired rotation of the font (measured in 360/65636ths of a degree) from horizontal.
Widthscale The desired width scaling (multiplied by 1024) to be applied to the basic font . A value of 1024 indicates no scaling, whereas 2048 indicates a font twice as wide as normal, and 512 indicates a font 1/2 as wide as normal. May range from a value of one (1/1024 of normal) to 65535 (64 times normal).
Spacing The desired inter-character- spacing scale (multiplied by 1024) to be applied to the basic font . A value of 1024 indicates normal inter-character spacing, whereas 2048 indicates spacing that is twice as wide as normal, and 512 indicates spacing that is 1/2 as wide as normal. May range from a value of one (1/1024 of normal) to 65535 (64 times normal).
Oblique The desired rotation of the individual characters within the font (measured in 360/65636ths of a degree). Note that rotation describes how the entire string is rotated.
Flags Flag bits reserved for the WHIP! data generator’s use. Currently the AutoCAD DWF ePlot driver uses this field to set one or more of the following flags:
VERTICAL 0x0001 // TVERT MIRROR_X 0x0002 // TXMIR MIRROR_Y 0x0004 // TYMIR UNDERSCORE 0x0008 // TUNDER OVERSCORE 0x0010 // TOVER MTEXT_START 0x0020 // TMSTART MTEXT_END 0x0040 // TMEND MTEXT 0x0080 // TMTEXT GREEK_TEXT 0x1000 // Whip and GDI font engine only PATH_TEXT 0x2000 // Whip and GDI font engine only OUTLINE_TEXT 0x4000 // Outline Text OnlyVolo view and VoloView Express interpret this flag field in an AutoCAD text context.
Description Any number of other application specific font attributes may be recursively specified (in the ASCII opcode form) in order to support the font matching process. WHIP! data reading applications may ignore these extra font options if they are not recognized. Details
The Charset attribute gives the WHIP! data reading application a hint
as to what type of characters will be needed by subsequent Draw
Text operations (which are normally specified in Unicode). On systems
with a wide array of Unicode based fonts, this value may be ignored. On
systems with few Unicode fonts, the font matching process should give a
high priority to finding a font that supports the selected character set.
Although any value may be used, common values for Charset include:
|
|
ANSI |
|
DEFAULT |
|
SYMBOL |
|
MAC |
|
SHIFTJIS |
|
HANGEUL |
|
JOHAB |
|
GB2312 |
|
CHINESEBIG5 |
|
GREEK |
|
TURKISH |
|
VIETNAMESE |
|
HEBREW |
|
ARABIC |
|
BALTIC |
|
RUSSIAN |
|
THAI |
|
EASTEUROPE |
|
OEM |
|
Pitch describes how the characters of a font are positioned in a string. This attribute is used in the font matching process between what the WHIP! data reading application has available and what the WHIP! data writing application specifies. Legal values for Pitch include:
A font "family" describes the overall style of a font, and is used
in the font matching process. Legal values for Family include:
Table 2. Font Attributes
|
|
fixed |
|
variable |
|
default |
|
bold |
|
italic |
|
roman |
|
swiss |
|
modern |
|
script |
|
decorative |
|
unknown |
|