GpTextRenderingHint enumeration

Specifies the process used to render text, which affects the quality of the text.

A process that gives higher quality is generally slower than one that gives lower quality. TextRenderingHintClearTypeGridFit gives the best quality for most LCD monitors and relatively small font sizes. TextRenderingHintAntiAlias gives the best quality for rotated text.

Note

TextRenderingHintClearTypeGridFit cannot be used together with CompositingModeSourceCopy.

Member Value Description
TextRenderingHintSystemDefault 0 A character is drawn with the font smoothing mode that is currently selected in the system.
TextRenderingHintSingleBitPerPixelGridFit 1 A character is drawn with its glyph bitmap and hinting, which improves the look of stems and curves.
TextRenderingHintSingleBitPerPixel 2 A character is drawn with its glyph bitmap and no hinting. This is faster and gives lower quality.
TextRenderingHintAntiAliasGridFit 3 A character is drawn with its antialiased glyph bitmap and hinting. The quality is much better, at a higher cost in time.
TextRenderingHintAntiAlias 4 A character is drawn with its antialiased glyph bitmap and no hinting. Differences in stem width can be noticeable, because hinting is off.
TextRenderingHintClearTypeGridFit 5 A character is drawn with its ClearType glyph bitmap and hinting.

Used by

See Also