ReactOS 0.4.15-dev-8636-g945e856
|
Go to the source code of this file.
Classes | |
struct | _FONTLINK |
struct | _FONTLINK_CHAIN |
struct | _FONTLINK_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_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 |
const MATRIX | gmxWorldToDeviceDefault |
const MATRIX | gmxWorldToPageDefault |
static const FT_Matrix | identityMat = {(1 << 16), 0, 0, (1 << 16)} |
static POINTL | PointZero = { 0, 0 } |
FT_Library | g_FreeTypeLibrary |
static 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 [] |
#define _TMPF_VARIABLE_PITCH TMPF_FIXED_PITCH |
Definition at line 344 of file freetype.c.
#define ASSERT_FREETYPE_LOCK_HELD | ( | ) | ASSERT(g_FreeTypeLock->Owner == KeGetCurrentThread()) |
Definition at line 373 of file freetype.c.
#define ASSERT_FREETYPE_LOCK_NOT_HELD | ( | ) | ASSERT(g_FreeTypeLock->Owner != KeGetCurrentThread()) |
Definition at line 376 of file freetype.c.
#define CP_MACCP 2 |
Definition at line 467 of file freetype.c.
#define CP_OEMCP 1 |
Definition at line 466 of file freetype.c.
#define CP_SYMBOL 42 |
Definition at line 422 of file freetype.c.
#define EMUBOLD_NEEDED | ( | original, | |
request | |||
) | (((request) != FW_DONTCARE) && ((request) - (original) >= FW_BOLD - FW_MEDIUM)) |
Definition at line 348 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> |
Includes
Definition at line 27 of file freetype.c.
#define gmxWorldToDeviceDefault gmxWorldToPageDefault |
Definition at line 357 of file freetype.c.
#define HIGH_SURROGATE_MAX 0xDBFFU |
Definition at line 329 of file freetype.c.
#define HIGH_SURROGATE_MIN 0xD800U |
Definition at line 328 of file freetype.c.
#define IntLockFreeType | ( | ) |
Definition at line 379 of file freetype.c.
#define IntUnLockFreeType | ( | ) |
Definition at line 385 of file freetype.c.
#define IS_HIGH_SURROGATE | ( | ch0 | ) | (HIGH_SURROGATE_MIN <= (ch0) && (ch0) <= HIGH_SURROGATE_MAX) |
Definition at line 333 of file freetype.c.
#define IS_LOW_SURROGATE | ( | ch1 | ) | (LOW_SURROGATE_MIN <= (ch1) && (ch1) <= LOW_SURROGATE_MAX) |
Definition at line 334 of file freetype.c.
#define LOW_SURROGATE_MAX 0xDFFFU |
Definition at line 331 of file freetype.c.
#define LOW_SURROGATE_MIN 0xDC00U |
Definition at line 330 of file freetype.c.
#define MAX_FONT_CACHE 256 |
Definition at line 391 of file freetype.c.
#define MAX_FONTLINK_CACHE 128 |
Definition at line 71 of file freetype.c.
#define MAXTCIINDEX 32 |
Definition at line 423 of file freetype.c.
#define NDEBUG |
Definition at line 35 of file freetype.c.
#define STACK_TEXT_BUFFER_SIZE 512 |
Definition at line 7340 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 _FONTLINK_CACHE * PFONTLINK_CACHE |
typedef struct _FONTLINK_CHAIN * PFONTLINK_CHAIN |
Definition at line 3236 of file freetype.c.
Referenced by GetFontPenalty().
|
static |
Definition at line 721 of file freetype.c.
Referenced by FreeFontSupport(), IntGdiCleanupMemEntry(), and IntGdiCleanupPrivateFontsForProcess().
|
static |
Definition at line 701 of file freetype.c.
Referenced by CleanupFontEntry().
|
static |
Definition at line 1235 of file freetype.c.
Referenced by IntGdiAddFontResourceEx(), and IntGetFontLocalizedName().
|
static |
Definition at line 6061 of file freetype.c.
Referenced by IntGdiGetFontResourceInfo().
Definition at line 2757 of file freetype.c.
Referenced by FillTM(), and get_glyph_index().
|
static |
Definition at line 2773 of file freetype.c.
Referenced by ftGdiGetTextMetricsW(), and IntGetOutlineTextMetrics().
|
static |
Definition at line 5752 of file freetype.c.
Referenced by FontLink_PrepareFontInfo(), and TextIntRealizeFont().
|
static |
Definition at line 3450 of file freetype.c.
Referenced by GetFontFamilyInfoForList(), and IntGdiGetFontResourceInfo().
|
inlinestatic |
Definition at line 235 of file freetype.c.
Referenced by FontLink_Chain_Finish().
|
inlinestatic |
Definition at line 4351 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph().
|
static |
Search the target glyph and update the current font info.
Definition at line 4376 of file freetype.c.
Referenced by IntExtTextOutW(), IntGetTextDisposition(), and TextIntGetTextExtentPoint().
|
inlinestatic |
Definition at line 1414 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 276 of file freetype.c.
Referenced by IntExtTextOutW(), and TextIntGetTextExtentPoint().
|
static |
Definition at line 214 of file freetype.c.
Referenced by FontLink_AddCache(), and FontLink_CleanupCache().
|
inlinestatic |
Definition at line 1294 of file freetype.c.
Referenced by IntExtTextOutW(), and TextIntGetTextExtentPoint().
|
inlinestatic |
Definition at line 208 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 1323 of file freetype.c.
Referenced by FontLink_Chain_Populate().
|
static |
Definition at line 1473 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph().
Definition at line 311 of file freetype.c.
Referenced by FreeFontSupport().
|
inlinestatic |
Definition at line 1432 of file freetype.c.
Referenced by FontLink_Chain_Populate().
Definition at line 201 of file freetype.c.
Referenced by FontLink_Chain_Free().
|
inlinestatic |
Definition at line 296 of file freetype.c.
Referenced by FontLink_Chain_Populate().
Definition at line 155 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 117 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 91 of file freetype.c.
Referenced by InitFontSupport().
Definition at line 503 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph().
Definition at line 1062 of file freetype.c.
Referenced by _Function_class_().
DWORD FASTCALL ftGdiGetFontData | ( | PFONTGDI | FontGdi, |
DWORD | Table, | ||
DWORD | Offset, | ||
PVOID | Buffer, | ||
DWORD | Size | ||
) |
Definition at line 5364 of file freetype.c.
Referenced by NtGdiGetFontData().
ULONG FASTCALL ftGdiGetGlyphOutline | ( | PDC | dc, |
WCHAR | wch, | ||
UINT | iFormat, | ||
LPGLYPHMETRICS | pgm, | ||
ULONG | cjBuf, | ||
PVOID | pvBuf, | ||
LPMAT2 | pmat2, | ||
BOOL | bIgnoreRotation | ||
) |
Definition at line 4436 of file freetype.c.
Referenced by NtGdiGetGlyphOutline(), and PATH_ExtTextOut().
DWORD FASTCALL ftGdiGetKerningPairs | ( | PFONTGDI | Font, |
DWORD | cPairs, | ||
LPKERNINGPAIR | pKerningPair | ||
) |
Definition at line 6382 of file freetype.c.
Referenced by GreGetKerningPairs(), and NtGdiGetKerningPairs().
BOOL FASTCALL ftGdiGetRasterizerCaps | ( | LPRASTERIZER_STATUS | lprs | ) |
Definition at line 3759 of file freetype.c.
Referenced by NtGdiGetRasterizerCaps().
INT FASTCALL ftGdiGetTextCharsetInfo | ( | PDC | Dc, |
LPFONTSIGNATURE | lpSig, | ||
DWORD | dwFlags | ||
) |
Definition at line 5080 of file freetype.c.
Referenced by DC_InitHack(), IntGetFontLanguageInfo(), NtGdiGetCharSet(), and NtGdiGetTextCharsetInfo().
BOOL FASTCALL ftGdiGetTextMetricsW | ( | HDC | hDC, |
PTMW_INTERNAL | ptmwi | ||
) |
Definition at line 5267 of file freetype.c.
Referenced by GreGetTextMetricsW(), IntGetCharDimensions(), and NtGdiGetTextMetricsW().
BOOL FASTCALL ftGdiRealizationInfo | ( | PFONTGDI | Font, |
PREALIZATION_INFO | Info | ||
) |
Definition at line 6363 of file freetype.c.
Referenced by NtGdiGetRealizationInfo().
Definition at line 5193 of file freetype.c.
Referenced by NtGdiGetFontUnicodeRanges().
Definition at line 727 of file freetype.c.
Referenced by get_bezier_glyph_outline(), and get_native_glyph_outline().
|
static |
Definition at line 3962 of file freetype.c.
Referenced by ftGdiGetGlyphOutline().
Definition at line 4330 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph(), get_glyph_index_flagged(), and NtGdiGetGlyphIndicesW().
|
inlinestatic |
Definition at line 4345 of file freetype.c.
Referenced by FontLink_Chain_FindGlyph(), ftGdiGetGlyphOutline(), NtGdiGetCharABCWidthsW(), and NtGdiGetCharWidthW().
Definition at line 4316 of file freetype.c.
Referenced by get_glyph_index().
|
static |
Definition at line 3889 of file freetype.c.
Referenced by ftGdiGetGlyphOutline().
|
static |
Definition at line 3633 of file freetype.c.
Referenced by GetFontFamilyInfoForSubstitutes(), and IntGetFontFamilyInfo().
|
static |
Definition at line 3697 of file freetype.c.
Referenced by IntGetFontFamilyInfo().
|
static |
Definition at line 5406 of file freetype.c.