D2D1_PRINT_FONT_SUBSET_MODE enumeration (d2d1_1.h)

Defines when font resources should be subset during printing.

Syntax

typedef enum D2D1_PRINT_FONT_SUBSET_MODE {
  D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT = 0,
  D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE = 1,
  D2D1_PRINT_FONT_SUBSET_MODE_NONE = 2,
  D2D1_PRINT_FONT_SUBSET_MODE_FORCE_DWORD = 0xffffffff
} ;

Constants

 
D2D1_PRINT_FONT_SUBSET_MODE_DEFAULT
Value: 0
Uses a heuristic strategy to decide when to subset fonts.

NOTE

If the print driver has requested archive-optimized content, then Direct2D will subset fonts once, for the entire document.

D2D1_PRINT_FONT_SUBSET_MODE_EACHPAGE
Value: 1
Subsets and embeds font resources in each page, then discards that font subset after the page is printed out.
D2D1_PRINT_FONT_SUBSET_MODE_NONE
Value: 2
Sends out the original font resources without subsetting along with the page that first uses the font, and re-uses the font resources for later pages without resending them.
D2D1_PRINT_FONT_SUBSET_MODE_FORCE_DWORD
Value: 0xffffffff
A value that's guaranteed to be a DWORD.

Requirements

Requirement Value
Header d2d1_1.h

See also

D2D1_PRINT_CONTROL_PROPERTIES