Font & Text user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <WinAPIGdi.au3>.

 

User Defined Function Description
_WinAPI_AddFontMemResourceEx Adds the font resource from a memory image to the system
_WinAPI_AddFontResourceEx Adds the font resource from the specified file to the system font table
_WinAPI_CreateFont Creates a logical font with the specified characteristics
_WinAPI_CreateFontEx Creates a logical font with the specified characteristics
_WinAPI_CreateFontIndirect Creates a logical font that has specific characteristics
_WinAPI_EnumFontFamilies Enumerates all uniquely-named fonts in the system that match the specified font characteristics
_WinAPI_GetFontMemoryResourceInfo Reads out font information from a TTF loaded into the memory
_WinAPI_GetFontName Retrieves the unique name of the font based on its typeface name, character set, and style
_WinAPI_GetFontResourceInfo Retrieves the fontname from the specified font resource file
_WinAPI_GetGlyphOutline Retrieves the outline or bitmap for a character in the TrueType font
_WinAPI_GetOutlineTextMetrics Retrieves text metrics for TrueType fonts
_WinAPI_GetTabbedTextExtent Computes the width and height of a character string which may contain one or more tab characters
_WinAPI_GetTextAlign Retrieves the text-alignment setting for the specified device context
_WinAPI_GetTextCharacterExtra Retrieves the current intercharacter spacing for the specified device context
_WinAPI_GetTextExtentPoint32 Computes the width and height of the specified string of text
_WinAPI_GetTextFace Retrieves the typeface name of the font that is selected into the specified device context
_WinAPI_GetTextMetrics Retrieves basic information for the currently selected font
_WinAPI_RemoveFontMemResourceEx Removes the fonts added from a memory image
_WinAPI_RemoveFontResourceEx Removes the fonts in the specified file from the system font table
_WinAPI_SetTextAlign Sets the text-alignment flags for the specified device context
_WinAPI_SetTextCharacterExtra Sets the intercharacter spacing for the specified device context
_WinAPI_SetTextJustification Specifies the amount of space the system should add to the break characters in a string of text
_WinAPI_TabbedTextOut Writes a character string at a specified location and expanding tabs to the specified tab-stop positions
_WinAPI_TextOut Writes a string at the specified location, using the currently selected font, background color, and text color