XPS_FONT_EMBEDDING enumeration

Describes the option for embedding a font.

Syntax

typedef enum  { 
  XPS_FONT_EMBEDDING_NORMAL                   = 1,
  XPS_FONT_EMBEDDING_OBFUSCATED,
  XPS_FONT_EMBEDDING_RESTRICTED,
  XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED
} XPS_FONT_EMBEDDING;

Constants

  • XPS_FONT_EMBEDDING_NORMAL
    The embedded font is neither obfuscated nor restricted.

  • XPS_FONT_EMBEDDING_OBFUSCATED
    The embedded font is obfuscated but not restricted.

  • XPS_FONT_EMBEDDING_RESTRICTED
    The embedded font is obfuscated and restricted.

  • XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED
    The font is restricted but not obfuscated.

    This value cannot be set by an application. It is set when the document being deserialized contains a restricted font that is not obfuscated. Restricted fonts should be obfuscated, so this value usually indicates an error in the application that created the XPS document being deserialized.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | Windows Store apps]

Header

Xpsobjectmodel.h

IDL

XpsObjectModel.idl

See also

XML Paper Specification