Define Embedded Font

Purpose

Define Embedded Font is a wrapper-extended binary opcode intended to hold the subsetted embedded font information as a byte stream. This opcode, using Microsoft's Open Type Font Embedding SDK, also stores the Privilege with which the font information was embedded.

The embedded-font information is usually compressed and encrypted.
 

Syntax
 
Opcode format Opcode Operand Format Comments
Extended ASCII (Embedded_Font <ULrequest
<USprivilege
<UScharacter code type
<ULfont name string length
<font name> (<ULfont information data length> <embedded font information>
-
Extended Binary {<USB 13E (hex)>
<ULB opcode size>
<ULB request type>
<ByteB privilege><ByteB character set type><ULB font name string length><B font name as string>
<B embedded font stream byte length><B font stream>}
-
Details True type text is currently handled in WHIP! data by putting the name of the font into the file along with text position, size and the text string. If the user viewing the WHIP! data doesn't have the same font used by the creator of the WHIP! data, unpredictable output could be the result. In order to make WHIP! data truly "plot ready," that is, to display and plot text with the intended font, it is necessary to embed information about the non-standard (standard fonts are the fonts which are installed by either Autocad or Windows) fonts in WHIP! data. Non-standard fonts are categorized into fonts that are "trusted" to be present on the target system (Non-Standard-non-embedded font) and fonts whose information is captured in WHIP! data either by embedding or by tessellation.

Sample:

(Embedded_Font 268435461 3 1 14 Aabced Regular 6 Aabced (data_size 
data))
where:
Request field has a value of 268435461.
Privilege field has a value of 3, EMBED_INSTALLABLE, which means that the font is installable on the target system.
Character Code field has a value of ‘1’ which means CHARSET_UNICODE.
Canonical font name length is 14 characters.
Canonical font name is “Aabced Regular”.
Logfont name length is  6.
Logfont name is “Aabced”.
Data_size specifies the length in bytes of the subsetted embedded font information.
Data specifies the actual subsetted embedded font stream.
See Also
For more information, see Blockref, Embedded Font and Trusted Font List.