2 #ifndef __WIN32K_TEXT_H
3 #define __WIN32K_TEXT_H
5 /* GDI logical font object */
12 /* Internal interface */
14 #define TEXTOBJ_AllocText() \
15 ((HFONT) GDIOBJ_AllocObj (sizeof (TEXTOBJ), GO_FONT_MAGIC))
16 #define TEXTOBJ_FreeText(hBMObj) GDIOBJ_FreeObj((HGDIOBJ) hBMObj, GO_FONT_MAGIC, GDIOBJFLAG_DEFAULT)
17 #define TEXTOBJ_LockText(hBMObj) ((PTEXTOBJ) GDIOBJ_LockObj ((HGDIOBJ) hBMObj, GO_FONT_MAGIC))
18 #define TEXTOBJ_UnlockText(hBMObj) GDIOBJ_UnlockObj ((HGDIOBJ) hBMObj, GO_FONT_MAGIC)
20 NTSTATUS TextIntRealizeFont(HFONT FontHandle);
21 NTSTATUS TextIntCreateFontIndirect(CONST LPLOGFONTW lf, HFONT *NewFont);
25 W32kAddFontResource(LPCWSTR Filename);
29 W32kCreateFont(int Height,
38 DWORD OutputPrecision,
46 W32kCreateFontIndirect(CONST LPLOGFONTW lf);
50 W32kCreateScalableFontResource(DWORD Hidden,
57 W32kEnumFontFamilies(HDC hDC,
59 FONTENUMPROC EnumFontFamProc,
64 W32kEnumFontFamiliesEx(HDC hDC,
66 FONTENUMPROC EnumFontFamExProc,
72 W32kEnumFonts(HDC hDC,
74 FONTENUMPROC FontFunc,
79 W32kExtTextOut(HDC hDC,
90 W32kGetAspectRatioFilterEx(HDC hDC,
95 W32kGetCharABCWidths(HDC hDC,
102 W32kGetCharABCWidthsFloat(HDC hDC,
109 W32kGetCharacterPlacement(HDC hDC,
113 LPGCP_RESULTS Results,
118 W32kGetCharWidth(HDC hDC,
125 W32kGetCharWidth32(HDC hDC,
132 W32kGetCharWidthFloat(HDC hDC,
139 W32kGetFontLanguageInfo(HDC hDC);
143 W32kGetGlyphOutline(HDC hDC,
153 W32kGetKerningPairs(HDC hDC,
155 LPKERNINGPAIR krnpair);
159 W32kGetOutlineTextMetrics(HDC hDC,
161 LPOUTLINETEXTMETRICW otm);
165 W32kGetRasterizerCaps(LPRASTERIZER_STATUS rs,
170 W32kGetTextCharset(HDC hDC);
174 W32kGetTextCharsetInfo(HDC hDC,
180 W32kGetTextExtentExPoint(HDC hDC,
190 W32kGetTextExtentPoint(HDC hDC,
197 W32kGetTextExtentPoint32(HDC hDC,
204 W32kGetTextFace(HDC hDC,
210 W32kGetTextMetrics(HDC hDC,
215 W32kPolyTextOut(HDC hDC,
216 CONST LPPOLYTEXT txt,
221 W32kRemoveFontResource(LPCWSTR FileName);
225 W32kSetMapperFlags(HDC hDC,
230 W32kSetTextAlign(HDC hDC,
235 W32kSetTextColor(HDC hDC,
240 W32kSetTextJustification(HDC hDC,
254 W32kTranslateCharsetInfo(PDWORD Src,