|
ReactOS 0.4.16-dev-2300-g249be9e
|
#include <win32k.h>#include <gdi/eng/floatobj.h>#include "font.h"#include "utils.h"#include <debug.h>
Go to the source code of this file.
Classes | |
| struct | _FONTLINK |
| struct | _FONTLINK_CHAIN |
| struct | _FONTLINK_CACHE |
| struct | _FONT_LOOKUP_CACHE |
| struct | FONT_NAMES |
Typedefs | |
| typedef struct _FONTLINK | FONTLINK |
| typedef struct _FONTLINK * | PFONTLINK |
| typedef struct _FONTLINK_CHAIN | FONTLINK_CHAIN |
| typedef struct _FONTLINK_CHAIN * | PFONTLINK_CHAIN |
| typedef struct _FONTLINK_CACHE | FONTLINK_CACHE |
| typedef struct _FONTLINK_CACHE * | PFONTLINK_CACHE |
| typedef struct _FONT_LOOKUP_CACHE | FONT_LOOKUP_CACHE |
| typedef struct _FONT_LOOKUP_CACHE * | PFONT_LOOKUP_CACHE |
| typedef struct FONT_NAMES | FONT_NAMES |
| typedef struct FONT_NAMES * | LPFONT_NAMES |
Variables | |
| static DWORD | s_chFontLinkDefaultChar = FONTLINK_DEFAULT_CHAR |
| static WCHAR | s_szDefFontLinkFileName [MAX_PATH] = L"" |
| static WCHAR | s_szDefFontLinkFontName [MAX_PATH] = L"" |
| static BOOL | s_fFontLinkUseAnsi = FALSE |
| static BOOL | s_fFontLinkUseOem = FALSE |
| static BOOL | s_fFontLinkUseSymbol = FALSE |
| static LONG | g_nFontLinkCacheCount = 0 |
| static ULONG | s_FontLookupCacheCount = 0 |
| const MATRIX | gmxWorldToDeviceDefault |
| const MATRIX | gmxWorldToPageDefault |
| static const FT_Matrix | identityMat = {(1 << 16), 0, 0, (1 << 16)} |
| FT_Library | g_FreeTypeLibrary |
| UNICODE_STRING | g_FontRegPath |
| static PFAST_MUTEX | g_FreeTypeLock |
| static BOOL | g_RenderingEnabled = TRUE |
| static UINT | g_FontCacheNumEntries |
| static PWCHAR | g_ElfScripts [32] |
| static const CHARSETINFO | g_FontTci [MAXTCIINDEX] |
| static const WCHAR | s_szzDefFontLink [] |
| static const WCHAR | s_szzDefFixedFontLink [] |
| static const UNICODE_STRING | DosPathPrefix = RTL_CONSTANT_STRING(L"\\??\\") |
| #define _TMPF_VARIABLE_PITCH TMPF_FIXED_PITCH |
Definition at line 308 of file freetype.c.
| #define ASSERT_FREETYPE_LOCK_HELD | ( | ) | ASSERT(g_FreeTypeLock->Owner == KeGetCurrentThread()) |
Definition at line 335 of file freetype.c.
| #define ASSERT_FREETYPE_LOCK_NOT_HELD | ( | ) | ASSERT(g_FreeTypeLock->Owner != KeGetCurrentThread()) |
Definition at line 338 of file freetype.c.
| #define CP_MACCP 2 |
Definition at line 429 of file freetype.c.
| #define CP_OEMCP 1 |
Definition at line 428 of file freetype.c.
| #define CP_SYMBOL 42 |
Definition at line 384 of file freetype.c.
| #define EMUBOLD_NEEDED | ( | original, | |
| request | |||
| ) | (((request) != FW_DONTCARE) && ((request) - (original) >= FW_BOLD - FW_MEDIUM)) |
Definition at line 312 of file freetype.c.
| #define FM_SEL_USE_TYPO_METRICS 0x80 |
| #define FONTLINK_DEFAULT_CHAR 0x30FB |
Definition at line 62 of file freetype.c.
| #define FT_INTERNAL_INTERNAL_H <freetype/internal/internal.h> |
Definition at line 25 of file freetype.c.
| #define gmxWorldToDeviceDefault gmxWorldToPageDefault |
Definition at line 320 of file freetype.c.
| #define IntLockFreeType | ( | ) |
Definition at line 341 of file freetype.c.
| #define IntUnLockFreeType | ( | ) |
Definition at line 347 of file freetype.c.
| #define MAX_FONT_CACHE 256 |
Definition at line 353 of file freetype.c.
| #define MAX_FONT_LOOKUP_CACHE 64 |
Definition at line 303 of file freetype.c.
| #define MAX_FONTLINK_CACHE 128 |
Definition at line 71 of file freetype.c.
| #define MAXTCIINDEX 32 |
Definition at line 385 of file freetype.c.
| #define NDEBUG |
Definition at line 34 of file freetype.c.
| #define STACK_TEXT_BUFFER_SIZE 512 |
Definition at line 7333 of file freetype.c.
| #define VALIGN_MASK (TA_TOP | TA_BASELINE | TA_BOTTOM) |
| typedef struct FONT_NAMES FONT_NAMES |
| typedef struct _FONTLINK_CACHE FONTLINK_CACHE |
| typedef struct _FONTLINK_CHAIN FONTLINK_CHAIN |
| typedef struct FONT_NAMES * LPFONT_NAMES |
| typedef struct _FONT_LOOKUP_CACHE * PFONT_LOOKUP_CACHE |
| typedef struct _FONTLINK_CACHE * PFONTLINK_CACHE |
| typedef struct _FONTLINK_CHAIN * PFONTLINK_CHAIN |
|
static |
Definition at line 657 of file freetype.c.
Referenced by FreeFontSupport(), IntGdiCleanupMemEntry(), IntGdiCleanupPrivateFontsForProcess(), and IntGdiRemoveFontResourceSingle().
|
static |
Definition at line 637 of file freetype.c.
Referenced by CleanupFontEntry().
|
static |
Definition at line 6147 of file freetype.c.
Referenced by IntGdiGetFontResourceInfo().
Definition at line 2825 of file freetype.c.
Referenced by FillTM(), and get_glyph_index().
|
static |
Definition at line 2841 of file freetype.c.
Referenced by ftGdiGetTextMetricsW(), and IntGetOutlineTextMetrics().
|
static |
Definition at line 5755 of file freetype.c.
Referenced by IntRealizeFont().
|
static |
Definition at line 3447 of file freetype.c.
Referenced by GetFontFamilyInfoForList(), and IntGdiGetFontResourceInfo().
|
inlinestatic |
Definition at line 219 of file freetype.c.
Referenced by FontLink_Chain_Finish().
|
inlinestatic |
Definition at line 4347 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph().
|
static |
Search the target glyph and update the current font info.
Definition at line 4372 of file freetype.c.
Referenced by IntExtTextOutW(), IntGetTextDisposition(), and TextIntGetTextExtentPoint().
|
inlinestatic |
Definition at line 1352 of file freetype.c.
Referenced by FontLink_Create().
|
inlinestatic |
Add the chain to the cache (g_FontLinkCache) if the chain had been populated.
| pChain | The chain. |
Definition at line 243 of file freetype.c.
Referenced by IntExtTextOutW(), and TextIntGetTextExtentPoint().
|
static |
Definition at line 198 of file freetype.c.
Referenced by FontLink_AddCache(), and FontLink_CleanupCache().
|
inlinestatic |
Definition at line 1232 of file freetype.c.
Referenced by IntExtTextOutW(), and TextIntGetTextExtentPoint().
|
inlinestatic |
Definition at line 192 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph(), FontLink_Chain_Finish(), FontLink_Chain_Free(), FontLink_Chain_Init(), and FontLink_Chain_Populate().
|
static |
Definition at line 1261 of file freetype.c.
Referenced by FontLink_Chain_Populate().
|
static |
Definition at line 1411 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph().
Definition at line 278 of file freetype.c.
Referenced by FreeFontSupport().
|
inlinestatic |
Definition at line 1370 of file freetype.c.
Referenced by FontLink_Chain_Populate().
Definition at line 186 of file freetype.c.
Referenced by FontLink_Chain_Free().
|
inlinestatic |
Definition at line 263 of file freetype.c.
Referenced by FontLink_Chain_Populate().
Definition at line 140 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 102 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 76 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 464 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph().
|
static |
Definition at line 5978 of file freetype.c.
Referenced by IntRealizeFont().
|
static |
Definition at line 962 of file freetype.c.
Referenced by FreeFontSupport(), IntGdiAddFontResourceEx(), and IntGdiRemoveFontResourceSingle().
|
static |
Definition at line 954 of file freetype.c.
Referenced by FontLookUp_Add(), and FontLookUp_Cleanup().
|
static |
Definition at line 5958 of file freetype.c.
Referenced by IntRealizeFont().
Definition at line 1043 of file freetype.c.
Referenced by _Function_class_().
| DWORD FASTCALL ftGdiGetFontData | ( | PFONTGDI | FontGdi, |
| DWORD | Table, | ||
| DWORD | Offset, | ||
| PVOID | Buffer, | ||
| DWORD | Size | ||
| ) |
Definition at line 5367 of file freetype.c.
Referenced by NtGdiGetFontData().
| ULONG FASTCALL ftGdiGetGlyphOutline | ( | PDC | dc, |
| WCHAR | wch, | ||
| UINT | iFormat, | ||
| LPGLYPHMETRICS | pgm, | ||
| ULONG | cjBuf, | ||
| PVOID | pvBuf, | ||
| const MAT2 * | pmat2, | ||
| BOOL | bIgnoreRotation | ||
| ) |
Definition at line 4432 of file freetype.c.
Referenced by NtGdiGetGlyphOutline(), and PATH_ExtTextOut().
| DWORD FASTCALL ftGdiGetKerningPairs | ( | PFONTGDI | Font, |
| DWORD | cPairs, | ||
| LPKERNINGPAIR | pKerningPair | ||
| ) |
Definition at line 6468 of file freetype.c.
Referenced by GreGetKerningPairs(), and NtGdiGetKerningPairs().
| BOOL FASTCALL ftGdiGetRasterizerCaps | ( | LPRASTERIZER_STATUS | lprs | ) |
Definition at line 3755 of file freetype.c.
Referenced by NtGdiGetRasterizerCaps().
| INT FASTCALL ftGdiGetTextCharsetInfo | ( | PDC | Dc, |
| LPFONTSIGNATURE | lpSig, | ||
| DWORD | dwFlags | ||
| ) |
Definition at line 5082 of file freetype.c.
Referenced by DC_InitHack(), IntGetFontLanguageInfo(), NtGdiGetCharSet(), and NtGdiGetTextCharsetInfo().
| BOOL FASTCALL ftGdiGetTextMetricsW | ( | HDC | hDC, |
| PTMW_INTERNAL | ptmwi | ||
| ) |
Definition at line 5269 of file freetype.c.
Referenced by GreGetTextMetricsW(), IntGetCharDimensions(), and NtGdiGetTextMetricsW().
| BOOL FASTCALL ftGdiRealizationInfo | ( | PFONTGDI | Font, |
| PREALIZATION_INFO | Info | ||
| ) |
Definition at line 6449 of file freetype.c.
Referenced by NtGdiGetRealizationInfo().
Definition at line 5195 of file freetype.c.
Referenced by NtGdiGetFontUnicodeRanges().
Definition at line 662 of file freetype.c.
Referenced by get_bezier_glyph_outline(), and get_native_glyph_outline().
|
static |
Definition at line 3959 of file freetype.c.
Referenced by ftGdiGetGlyphOutline().
Definition at line 4326 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph(), get_glyph_index_flagged(), and NtGdiGetGlyphIndicesW().
|
inlinestatic |
Definition at line 4341 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph(), ftGdiGetGlyphOutline(), NtGdiGetCharABCWidthsW(), and NtGdiGetCharWidthW().
Definition at line 4312 of file freetype.c.
Referenced by get_glyph_index().
|
static |
Definition at line 3886 of file freetype.c.
Referenced by ftGdiGetGlyphOutline().
|
static |
Definition at line 3630 of file freetype.c.
Referenced by GetFontFamilyInfoForSubstitutes(), and IntGetFontFamilyInfo().
|
static |
Definition at line 3694 of file freetype.c.
Referenced by IntGetFontFamilyInfo().
|
static |
Definition at line 5409 of file freetype.c.
Referenced by FindBestFontFromList().
| BOOL APIENTRY GreExtTextOutW | ( | _In_ HDC | hDC, |
| _In_ INT | XStart, | ||
| _In_ INT | YStart, | ||
| _In_ UINT | fuOptions, | ||
| _In_opt_ PRECTL | lprc, | ||
| _In_reads_opt_(Count) PCWCH | String, | ||
| _In_ INT | Count, | ||
| _In_opt_ const INT * | Dx, | ||
| _In_ DWORD | dwCodePage | ||
| ) |
Definition at line 7295 of file freetype.c.
Referenced by GreTextOutW(), IntPaintDesktop(), and NtGdiExtTextOutW().
Definition at line 1001 of file freetype.c.
Referenced by InitializeGreCSRSS().
|
static |
Definition at line 6168 of file freetype.c.
Referenced by IntGdiGetFontResourceInfo().
Definition at line 434 of file freetype.c.
Referenced by CreateStockFonts().
Definition at line 2239 of file freetype.c.
Referenced by IntGdiRemoveFontResourceSingle().
Definition at line 2710 of file freetype.c.
Definition at line 1093 of file freetype.c.
Referenced by ftGdiGetGlyphOutline(), and IntExtTextOutW().
| BOOL APIENTRY IntExtTextOutW | ( | _In_ PDC | dc, |
| _In_ INT | XStart, | ||
| _In_ INT | YStart, | ||
| _In_ UINT | fuOptions, | ||
| _In_opt_ PRECTL | lprc, | ||
| _In_reads_opt_(Count) PCWCH | String, | ||
| _In_ INT | Count, | ||
| _In_opt_ const INT * | Dx, | ||
| _In_ DWORD | dwCodePage | ||
| ) |
Definition at line 6746 of file freetype.c.
Referenced by GreExtTextOutW().
|
static |
Definition at line 3784 of file freetype.c.
Referenced by IntGetRealGlyph().
Definition at line 5824 of file freetype.c.
Referenced by IntPopulateFontGdi().
|
static |
Definition at line 2532 of file freetype.c.
Referenced by NtGdiAddFontMemResourceEx().
| INT FASTCALL IntGdiAddFontResourceEx | ( | _In_ PCUNICODE_STRING | FileName, |
| _In_ DWORD | cFiles, | ||
| _In_ DWORD | Characteristics, | ||
| _In_ DWORD | dwFlags | ||
| ) |
Definition at line 2197 of file freetype.c.
Referenced by IntLoadFontsInRegistry(), IntLoadSystemFonts(), and NtGdiAddFontResourceW().
|
static |
Definition at line 1998 of file freetype.c.
Referenced by IntGdiAddFontResourceEx().
| VOID FASTCALL IntGdiCleanupMemEntry | ( | PFONT_ENTRY_MEM | Head | ) |
Definition at line 2582 of file freetype.c.
Referenced by IntGdiCleanupPrivateFontsForProcess(), and IntGdiRemoveFontMemResource().
Definition at line 2654 of file freetype.c.
Referenced by GdiProcessDestroy().
| BOOL FASTCALL IntGdiGetFontResourceInfo | ( | PUNICODE_STRING | FileName, |
| PVOID | pBuffer, | ||
| DWORD * | pdwBytes, | ||
| DWORD | dwType | ||
| ) |
Definition at line 6181 of file freetype.c.
Referenced by NtGdiGetFontResourceInfoInternalW().
|
static |
Definition at line 1944 of file freetype.c.
Referenced by IntGdiAddFontMemResource(), IntGdiAddFontResourceSingle(), and IntGdiLoadFontByIndexFromMemory().
|
static |
Definition at line 1653 of file freetype.c.
Referenced by IntGdiLoadFontByIndexFromMemory(), and IntGdiLoadFontsFromMemory().
Definition at line 2618 of file freetype.c.
Referenced by NtGdiRemoveFontMemResourceEx().
| BOOL FASTCALL IntGdiRemoveFontResource | ( | _In_ PCUNICODE_STRING | FileName, |
| _In_ DWORD | cFiles, | ||
| _In_ DWORD | dwFlags | ||
| ) |
Definition at line 2344 of file freetype.c.
Referenced by NtGdiRemoveFontResourceW().
|
static |
Definition at line 2274 of file freetype.c.
Referenced by IntGdiRemoveFontResource().
|
static |
Definition at line 3821 of file freetype.c.
Referenced by IntGetRealGlyph().
Definition at line 1625 of file freetype.c.
| LONG FASTCALL IntGetFontFamilyInfo | ( | HDC | Dc, |
| const LOGFONTW * | SafeLogFont, | ||
| PFONTFAMILYINFO | SafeInfo, | ||
| LONG | InfoCount | ||
| ) |
Definition at line 6519 of file freetype.c.
Referenced by NtGdiGetFontFamilyInfo().
|
static |
Definition at line 3303 of file freetype.c.
Referenced by IntInitFontNames(), IntPopulateTextObj(), and MatchFontName().
| FT_Render_Mode FASTCALL IntGetFontRenderMode | ( | LOGFONTW * | logfont | ) |
Definition at line 2716 of file freetype.c.
Referenced by IntExtTextOutW(), and TextIntGetTextExtentPoint().
|
static |
Definition at line 6104 of file freetype.c.
Referenced by IntGdiGetFontResourceInfo().
Definition at line 3769 of file freetype.c.
Referenced by IntGetRealGlyph().
| INT FASTCALL IntGetOutlineTextMetrics | ( | PFONTGDI | FontGDI, |
| UINT | Size, | ||
| OUTLINETEXTMETRICW * | Otm, | ||
| BOOL | bLocked | ||
| ) |
Definition at line 3143 of file freetype.c.
Referenced by FindBestFontFromList(), FontFamilyFillInfo(), ftGdiGetGlyphOutline(), NtGdiGetGlyphIndicesW(), and NtGdiGetOutlineTextMetricsInternalW().
|
static |
Definition at line 4920 of file freetype.c.
Referenced by IntExtTextOutW(), IntGetTextDisposition(), and TextIntGetTextExtentPoint().
|
static |
Definition at line 6660 of file freetype.c.
Referenced by IntExtTextOutW().
|
static |
Definition at line 3070 of file freetype.c.
Referenced by IntGetOutlineTextMetrics().
Definition at line 2704 of file freetype.c.
Referenced by IntExtTextOutW(), and TextIntGetTextExtentPoint().
Definition at line 2380 of file freetype.c.
Referenced by InitFontSupport().
| BOOL FASTCALL IntLoadFontSubstList | ( | PLIST_ENTRY | pHead | ) |
Definition at line 807 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 1499 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 1106 of file freetype.c.
Referenced by ftGdiGetGlyphOutline(), and IntExtTextOutW().
|
static |
Definition at line 5942 of file freetype.c.
Referenced by IntRealizeFont().
|
static |
Definition at line 5905 of file freetype.c.
Referenced by IntRealizeFont().
| PSHARED_FACE IntRealizeFont | ( | const LOGFONTW * | pLogFont, |
| _Inout_opt_ PTEXTOBJ | TextObj | ||
| ) |
Definition at line 6007 of file freetype.c.
Referenced by FontLink_PrepareFontInfo(), and TextIntRealizeFont().
Definition at line 4084 of file freetype.c.
Referenced by FindBestFontFromList(), ftGdiGetTextMetricsW(), NtGdiGetCharABCWidthsW(), NtGdiGetCharWidthW(), and TextIntUpdateSize().
| PBYTE FASTCALL IntStoreFontNames | ( | _In_ const FONT_NAMES * | Names, |
| _Out_ OUTLINETEXTMETRICW * | Otm | ||
| ) |
Definition at line 3106 of file freetype.c.
Referenced by IntGetOutlineTextMetrics().
|
inlinestatic |
|
static |
Definition at line 2779 of file freetype.c.
Referenced by FontFamilyFillInfo(), and ftGdiGetTextCharsetInfo().
|
static |
Definition at line 5856 of file freetype.c.
Referenced by MatchFontNames().
|
static |
Definition at line 5879 of file freetype.c.
Referenced by IntPopulateTextObj().
| BOOL APIENTRY NtGdiExtTextOutW | ( | _In_ HDC | hDC, |
| _In_ INT | XStart, | ||
| _In_ INT | YStart, | ||
| _In_ UINT | fuOptions, | ||
| _In_opt_ LPCRECT | UnsafeRect, | ||
| _In_reads_opt_(Count) PCWCH | UnsafeString, | ||
| _In_range_(0, 0xFFFF) UINT | Count, | ||
| _In_reads_opt_(_Inexpressible_(cwc)) const INT * | UnsafeDx, | ||
| _In_ DWORD | dwCodePage | ||
| ) |
Definition at line 7337 of file freetype.c.
| BOOL APIENTRY NtGdiGetCharABCWidthsW | ( | _In_ HDC | hDC, |
| _In_ UINT | FirstChar, | ||
| _In_ ULONG | Count, | ||
| _In_reads_opt_(Count) PCWCH | UnSafepwch, | ||
| _In_ FLONG | fl, | ||
| _Out_writes_bytes_(Count *sizeof(ABC)) PVOID | Buffer | ||
| ) |
Definition at line 7462 of file freetype.c.
| BOOL APIENTRY NtGdiGetCharWidthW | ( | _In_ HDC | hDC, |
| _In_ UINT | FirstChar, | ||
| _In_ UINT | Count, | ||
| _In_reads_opt_(Count) PCWCH | UnSafepwc, | ||
| _In_ FLONG | fl, | ||
| _Out_writes_bytes_(Count *sizeof(ULONG)) PVOID | Buffer | ||
| ) |
Definition at line 7664 of file freetype.c.
| LONG NTAPI NtGdiGetFontFamilyInfo | ( | _In_ HDC | Dc, |
| _In_ const LOGFONTW * | UnsafeLogFont, | ||
| _Out_ PFONTFAMILYINFO | UnsafeInfo, | ||
| _Inout_ PLONG | UnsafeInfoCount | ||
| ) |
Definition at line 6559 of file freetype.c.
Referenced by IntEnumFontFamilies().
| __kernel_entry W32KAPI DWORD APIENTRY NtGdiGetGlyphIndicesW | ( | _In_ HDC | hdc, |
| _In_reads_opt_(cwc) PCWCH | pwc, | ||
| _In_ INT | cwc, | ||
| _Out_writes_opt_(cwc) PWORD | pgi, | ||
| _In_ DWORD | iMode | ||
| ) |
Definition at line 7825 of file freetype.c.
Referenced by GetCharacterPlacementW(), and GetGlyphIndicesA().
|
static |
Definition at line 548 of file freetype.c.
Referenced by FreeFontSupport(), IntGetBitmapGlyphWithCache(), and RemoveCacheEntries().
Definition at line 560 of file freetype.c.
Referenced by SharedFace_Release().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 540 of file freetype.c.
Referenced by FontLookUp_Add(), and IntGdiLoadFontsFromMemory().
|
static |
Definition at line 505 of file freetype.c.
Referenced by IntGdiLoadFontByIndexFromMemory().
|
static |
Definition at line 609 of file freetype.c.
Referenced by CleanupFontEntryEx(), FontLookUp_Destroy(), and IntGdiLoadFontsFromMemory().
|
static |
Definition at line 497 of file freetype.c.
Referenced by SharedFace_Create().
|
static |
Definition at line 602 of file freetype.c.
Referenced by SharedFace_Release().
|
static |
Definition at line 489 of file freetype.c.
Referenced by SharedFace_Create().
|
static |
Definition at line 524 of file freetype.c.
Referenced by IntGdiAddFontMemResource(), and IntGdiAddFontResourceSingle().
|
static |
Definition at line 581 of file freetype.c.
Referenced by IntGdiAddFontMemResource(), IntGdiAddFontResourceSingle(), and SharedFace_Release().
|
static |
Definition at line 1135 of file freetype.c.
Referenced by SubstituteFontRecurse().
Definition at line 1196 of file freetype.c.
Referenced by FontLink_Chain_LoadReg(), FontLink_Create(), GetFontFamilyInfoForSubstitutes(), and IntRealizeFont().
| NTSTATUS FASTCALL TextIntCreateFontIndirect | ( | CONST LPLOGFONTW | lf, |
| HFONT * | NewFont | ||
| ) |
Definition at line 2737 of file freetype.c.
Referenced by CreateStockFonts(), and UserDrawCaptionText().
| BOOL FASTCALL TextIntGetTextExtentPoint | ( | _In_ PDC | dc, |
| _In_ PTEXTOBJ | TextObj, | ||
| _In_reads_(Count) PCWCH | String, | ||
| _In_ INT | Count, | ||
| _In_ ULONG | MaxExtent, | ||
| _Out_ PINT | Fit, | ||
| _Out_writes_to_opt_(Count, *Fit) PINT | Dx, | ||
| _Out_ PSIZE | Size, | ||
| _In_ FLONG | fl | ||
| ) |
Definition at line 4960 of file freetype.c.
Referenced by GreGetTextExtentExW(), GreGetTextExtentW(), IntExtTextOutW(), IntGetCharDimensions(), and NtGdiGetTextExtentExW().
Definition at line 6065 of file freetype.c.
Referenced by DC_hSelectFont(), DC_InitHack(), FontGetObject(), and RealizeFontInit().
Definition at line 4223 of file freetype.c.
Referenced by ftGdiGetGlyphOutline(), IntExtTextOutW(), NtGdiGetOutlineTextMetricsInternalW(), and TextIntGetTextExtentPoint().
|
static |
Definition at line 2601 of file freetype.c.
Referenced by IntGdiCleanupPrivateFontsForProcess(), and IntGdiRemoveFontMemResource().
|
static |
Definition at line 1994 of file freetype.c.
Referenced by IntGdiAddFontResourceSingle(), and IntGdiRemoveFontResourceSingle().
|
static |
Definition at line 358 of file freetype.c.
Referenced by FontFamilyFillInfo().
|
static |
Definition at line 356 of file freetype.c.
Referenced by InitFontSupport(), IntGetBitmapGlyphWithCache(), and RemoveCachedEntry().
| UNICODE_STRING g_FontRegPath |
Definition at line 325 of file freetype.c.
Referenced by IntDeleteRegFontEntries(), IntGdiAddFontResourceSingle(), and IntLoadFontsInRegistry().
|
static |
Definition at line 386 of file freetype.c.
Referenced by IntCharSetFromCodePage(), IntGdiLoadFontsFromMemory(), IntGetCharSet(), and IntTranslateCharsetInfo().
| FT_Library g_FreeTypeLibrary |
Definition at line 322 of file freetype.c.
Referenced by FreeFontSupport(), ftGdiGetGlyphOutline(), InitFontSupport(), and IntGdiLoadFontByIndexFromMemory().
|
static |
Definition at line 330 of file freetype.c.
Referenced by FreeFontSupport(), and InitFontSupport().
|
static |
Definition at line 73 of file freetype.c.
Referenced by FontLink_AddCache(), and FontLink_CleanupCache().
Definition at line 333 of file freetype.c.
Referenced by IntEnableFontRendering(), and IntIsFontRenderingEnabled().
Definition at line 36 of file dclife.c.
Referenced by DC_vInitDc().
Definition at line 317 of file freetype.c.
Referenced by ftGdiGetGlyphOutline(), IntExtTextOutW(), and TextIntGetTextExtentPoint().
|
static |
Definition at line 64 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph(), and FontLink_LoadSettings().
Definition at line 67 of file freetype.c.
Referenced by FontLink_Chain_Populate(), and FontLink_LoadDefaultCharset().
Definition at line 68 of file freetype.c.
Referenced by FontLink_Chain_Populate(), and FontLink_LoadDefaultCharset().
Definition at line 69 of file freetype.c.
Referenced by FontLink_Chain_Populate(), and FontLink_LoadDefaultCharset().
|
static |
Definition at line 304 of file freetype.c.
Referenced by FontLookUp_Add(), and FontLookUp_Cleanup().
Definition at line 65 of file freetype.c.
Referenced by FontLink_Chain_Populate(), and FontLink_LoadDefaultFonts().
Definition at line 66 of file freetype.c.
Referenced by FontLink_Chain_Populate(), and FontLink_LoadDefaultFonts().
Definition at line 1252 of file freetype.c.
Referenced by FontLink_Chain_LoadReg().