2.5.93 DXFFntD

The DXFFntD structure specifies a font and its format attributes.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

cchFont

stFontName (variable)

...

unused1 (variable)

...

stxp (16 bytes)

...

...

icvFore

reserved

tsNinch

fSssNinch

fUlsNinch

fBlsNinch

unused2

ich

cch

iFnt

cchFont (1 byte): An unsigned integer that specifies the number of characters of the font name string.

stFontName (variable): An XLUnicodeStringNoCch that specifies the font name. MUST exist if and only if cchFont is greater than zero. The number of characters in the string is specified in cchFont. If stFontName.fHighByte equals 0x0, cchFont MUST be less than or equal to 62. If stFontName.fHighByte equals 0x1, cchFont MUST be less than or equal to 31.

unused1 (variable): Undefined and MUST be ignored. The size of this field is 63 minus the size of the stFontName field. If the stFontName field doesn’t exist, the size of this field is 63.

stxp (16 bytes): A Stxp that specifies the font attributes.

icvFore (4 bytes): An integer that specifies the color of the font. The value MUST be -1, 32767 or any of the valid values of the IcvFont structure. A value of -1 specifies that this value is ignored. A value of 32767 specifies that the color of the font is the default foreground text color. Any other value specifies the color of the font as specified in the IcvFont structure.

reserved (4 bytes): MUST be zero, and MUST be ignored.

tsNinch (4 bytes): A Ts structure that specifies how the value of stxp.ts is to be interpreted. If tsNinch.ftsItalic is set to 1 then the value of stxp.ts.ftsItalic MUST be ignored. If tsNinch.ftsStrikeout is set to 1 then the value of the stxp.ts.ftsStrikeout MUST be ignored.

fSssNinch (4 bytes):  A Boolean (section 2.5.14) that specifies whether the value of stxp.sss MUST be ignored.

fUlsNinch (4 bytes):  A Boolean that specifies whether the value of stxp.uls MUST be ignored.

fBlsNinch (4 bytes):  A Boolean that specifies whether the value of stxp.bls MUST be ignored.

unused2 (4 bytes):  Undefined and MUST be ignored.

ich (4 bytes): A signed integer that specifies the zero based index of the first character to which this font applies. MUST be greater than or equal to 0xFFFFFFFF. MUST be set to 0xFFFFFFFF when the font is to be updated.

cch (4 bytes): A signed integer that specifies the number of characters to which this font applies. MUST be greater than or equal to ich field. MUST be set to 0xFFFFFFFF if the ich field is set to 0xFFFFFFFF.

iFnt (2 bytes): An unsigned integer that specifies the font. If the value is 0 then the default font is used. If the value is greater than 0 then the font to be applied is determined by the font name specified in stFontName.