Reference

AddFontResource16(3w)

*

NAME

AddFontResource16 - *

SYNOPSIS

INT16 AddFontResource16(LPCSTR filename);

DESCRIPTION

Font Resource API *
*

AddFontResource16 (GDI.119)

Can be either .FON, or .FNT, or .TTF, or .FOT font file.

FIXME

Load header and find the best-matching font in the fontList; fixup dfPoints if all metrics are identical, otherwise create new fontAlias. When soft font support is ready this will simply create a new fontResource ('filename' will go into the pfr->resource field) with FR_SOFTFONT/FR_SOFTRESOURCE flag set.

SEE ALSO

X11DRV_FONT_Init(3w), XFONT_GetFontObject(3w), XFONT_GetFontStruct(3w), XFONT_GetFontInfo(3w), X11DRV_FONT_SelectObject(3w), X11DRV_EnumDeviceFonts(3w), X11DRV_GetTextExtentPoint(3w), X11DRV_GetTextMetrics(3w), X11DRV_GetCharWidth(3w), AddFontResource32A(3w), AddFontResource32W(3w), RemoveFontResource16(3w), RemoveFontResource32A(3w), RemoveFontResource32W(3w)