Font functions select, create, remove, and retrieve information about fonts. A font is a subset of a particular typeface, which is a set of characters that share a similar fundamental design.
The following list briefly describes each font function:
Function | Description |
AddFontModule | Adds the font resources from the specified module |
AddFontResource | Adds a font resource in the specified file to the system font table |
CreateFont | Creates a logical font that has the specified characteristics |
CreateFontIndirect | Creates a logical font that has the specified characteristics |
CreateScalableFontResource | Creates a font resource file. |
EnumFontFamilies | Enumerates fonts by family. |
EnumFonts | Enumerates the fonts available on a given device |
ExtTextOut | Draws series of characters based on an array of points. |
GetAspectRatioFilterEx | Returns the current aspect ratio filter |
GetCharABCWidths | Retrieves the widths of characters in a font. |
GetCharWidth | Retrieves the widths of individual characters |
GetFontData | Gets font metrics data from a font file. |
GetGlyphOutline | Retrieves the outline for a character. |
GetOutlineTextMetrics | Retrieves metric data for TrueType fonts. |
GetRasterizerCaps | Returns whether TrueType fonts are available. |
GetTextExtentPoint | Retrieves the extent of a string. |
GetTextExtentExPoint | Retrieves an array of sub-string lengths |
GetTextMetrics | Fills the buffer with metrics for the selected font |
RemoveFontModule | Removes the fonts loaded from the specified module |
RemoveFontResource | Removes a font resource from the font table |
SetMapperFlags | Alters the algorithm the font mapper uses |
SetTextAlign | Positions a string of text on a display or device |
SetTextCharacterExtra | Sets the current intercharacter spacing |
SetTextColor | Sets the text color |
SetTextJustification | Justifies a text line |
TextOut | Writes a character string using the current font |