ReactOS
0.4.15-dev-4614-ga5a6101
|
Go to the source code of this file.
Macros | |
#define | NDEBUG |
#define | MAXTCIINDEX 32 |
#define | INITIAL_FAMILY_COUNT 64 |
#define | IFFCX_CHARSET 1 |
#define | IFFCX_STYLE 2 |
#define | IEFF_UNICODE 1 |
#define | IEFF_EXTENDED 2 |
#define | EfdFontFamilies 3 |
Variables | |
static const CHARSETINFO | FONT_tci [MAXTCIINDEX] |
Definition at line 2455 of file font.c.
Referenced by GdipPrivateAddMemoryFont().
Definition at line 2011 of file font.c.
Definition at line 1981 of file font.c.
Referenced by test_long_names().
Definition at line 1964 of file font.c.
Definition at line 2037 of file font.c.
DWORD WINAPI cGetTTFFromFOT | ( | DWORD | x1, |
DWORD | x2, | ||
DWORD | x3, | ||
DWORD | x4, | ||
DWORD | x5, | ||
DWORD | x6, | ||
DWORD | x7 | ||
) |
HFONT WINAPI CreateFontA | ( | int | nHeight, |
int | nWidth, | ||
int | nEscapement, | ||
int | nOrientation, | ||
int | fnWeight, | ||
DWORD | fdwItalic, | ||
DWORD | fdwUnderline, | ||
DWORD | fdwStrikeOut, | ||
DWORD | fdwCharSet, | ||
DWORD | fdwOutputPrecision, | ||
DWORD | fdwClipPrecision, | ||
DWORD | fdwQuality, | ||
DWORD | fdwPitchAndFamily, | ||
LPCSTR | lpszFace | ||
) |
Definition at line 1844 of file font.c.
Referenced by test_GetTextMetrics2().
Definition at line 1699 of file font.c.
Referenced by check_vertical_font(), check_vertical_metrics(), create_fixed_pitch_font_proc(), create_font(), create_font_proc(), get_font_dpi(), get_font_fsselection(), get_glyph_indices(), test_bitmap_font_glyph_index(), test_CreateFontIndirect(), test_east_asian_font_selection(), test_fake_bold_font(), test_fstype_fixup(), test_fullname(), test_fullname2_helper(), test_GdiGetCodePage(), test_GetCharABCWidths(), test_GetCharWidth32(), test_GetCharWidthI(), test_GetGlyphIndices(), test_GetGlyphOutline(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), test_GetTextFace(), test_height(), test_logfont(), test_long_names(), test_max_height(), test_negative_width(), test_nonexistent_font(), test_oemcharset(), test_RealizationInfo(), test_text_extents(), and test_text_metrics().
HFONT WINAPI CreateFontIndirectExA | ( | const ENUMLOGFONTEXDVA * | elfexd | ) |
Definition at line 1657 of file font.c.
Referenced by Test_CreateFontIndirectExA().
HFONT WINAPI CreateFontIndirectExW | ( | const ENUMLOGFONTEXDVW * | elfexd | ) |
Definition at line 1681 of file font.c.
Referenced by CreateFontIndirectW(), and Test_CreateFontIndirectExW().
Definition at line 1803 of file font.c.
Referenced by CreateConsoleFontWorker(), CreateFontIndirectA(), CreateFontW(), find_installed_font(), gdi_get_font_metrics(), GdipCreateFont(), GdipCreateFontFromLogfontW(), and test_GetTextFace().
HFONT WINAPI CreateFontW | ( | int | nHeight, |
int | nWidth, | ||
int | nEscapement, | ||
int | nOrientation, | ||
int | nWeight, | ||
DWORD | fnItalic, | ||
DWORD | fdwUnderline, | ||
DWORD | fdwStrikeOut, | ||
DWORD | fdwCharSet, | ||
DWORD | fdwOutputPrecision, | ||
DWORD | fdwClipPrecision, | ||
DWORD | fdwQuality, | ||
DWORD | fdwPitchAndFamily, | ||
LPCWSTR | lpszFace | ||
) |
Definition at line 1894 of file font.c.
Referenced by CreateFontA(), and D3DXCreateFontIndirectW().
BOOL WINAPI CreateScalableFontResourceA | ( | DWORD | fdwHidden, |
LPCSTR | lpszFontRes, | ||
LPCSTR | lpszFontFile, | ||
LPCSTR | lpszCurrentPath | ||
) |
Definition at line 1948 of file font.c.
Referenced by test_CreateScalableFontResource().
BOOL WINAPI CreateScalableFontResourceW | ( | DWORD | fdwHidden, |
LPCWSTR | lpszFontRes, | ||
LPCWSTR | lpszFontFile, | ||
LPCWSTR | lpszCurrentPath | ||
) |
Definition at line 2515 of file font.c.
int WINAPI EnumFontFamiliesA | ( | HDC | hdc, |
LPCSTR | lpszFamily, | ||
FONTENUMPROCA | lpEnumFontFamProc, | ||
LPARAM | lParam | ||
) |
Definition at line 480 of file font.c.
Referenced by EnumFontsA(), is_font_installed(), is_font_installed_fullname(), is_truetype_font_installed(), test_bitmap_font(), test_EnumFontFamilies(), and test_EnumFonts().
int WINAPI EnumFontFamiliesExA | ( | HDC | hdc, |
LPLOGFONTA | lpLogfont, | ||
FONTENUMPROCA | lpEnumFontFamExProc, | ||
LPARAM | lParam, | ||
DWORD | dwFlags | ||
) |
Definition at line 447 of file font.c.
Referenced by test_bitmap_font_metrics(), test_east_asian_font_selection(), test_EnumFontFamilies(), test_EnumFontFamiliesEx_default_charset(), test_EnumFonts_subst(), test_fullname2_helper(), test_GetCharABCWidths(), test_GetGlyphOutline(), test_GetTextMetrics(), test_long_names(), and test_vertical_order().
int WINAPI EnumFontFamiliesExW | ( | HDC | hdc, |
LPLOGFONTW | lpLogfont, | ||
FONTENUMPROCW | lpEnumFontFamExProc, | ||
LPARAM | lParam, | ||
DWORD | dwFlags | ||
) |
Definition at line 400 of file font.c.
Referenced by FaceNameList_Initialize(), FindSuitableFont(), FontTypeChange(), gdi_get_font_metrics(), GdipNewInstalledFontCollection(), GdipPrivateAddMemoryFont(), IsValidConsoleFont(), and test_EnumFontFamilies().
int WINAPI EnumFontFamiliesW | ( | HDC | hdc, |
LPCWSTR | lpszFamily, | ||
FONTENUMPROCW | lpEnumFontFamProc, | ||
LPARAM | lParam | ||
) |
Definition at line 423 of file font.c.
Referenced by EnumFontsW(), find_installed_font(), GdipIsStyleAvailable(), and test_EnumFontFamilies().
Definition at line 2295 of file font.c.
Definition at line 2276 of file font.c.
BOOL WINAPI EudcLoadLinkW | ( | LPCWSTR | pBaseFaceName, |
LPCWSTR | pEudcFontPath, | ||
INT | iPriority, | ||
INT | iFontLinkType | ||
) |
Definition at line 146 of file font.c.
Referenced by GetCharABCWidthsA(), GetCharABCWidthsFloatA(), GetCharWidth32A(), GetCharWidthA(), and GetCharWidthFloatA().
Definition at line 124 of file font.c.
Referenced by GetCharABCWidthsA(), GetCharABCWidthsFloatA(), GetCharacterPlacementA(), GetCharWidth32A(), GetCharWidthA(), GetCharWidthFloatA(), GetGlyphIndicesA(), and GetGlyphOutlineA().
VOID FASTCALL FONT_TextMetricWToA | ( | const TEXTMETRICW * | ptmW, |
LPTEXTMETRICA | ptmA | ||
) |
Definition at line 79 of file font.c.
Referenced by GetOutlineTextMetricsA(), GetTextMetricsA(), and NewTextMetricW2A().
Definition at line 22 of file font.c.
Referenced by height_to_LP(), INTERNAL_YDSTOWS(), and width_to_LP().
int WINAPI GdiAddFontResourceW | ( | LPCWSTR | lpszFilename, |
FLONG | fl, | ||
DESIGNVECTOR * | pdv | ||
) |
Definition at line 2404 of file font.c.
Referenced by AddFontResourceA(), AddFontResourceExA(), AddFontResourceExW(), and AddFontResourceW().
LONG WINAPI GdiGetCharDimensions | ( | HDC | hdc, |
LPTEXTMETRICW | lptm, | ||
LONG * | height | ||
) |
Definition at line 2145 of file font.c.
Referenced by create_taskdialog_template(), DIALOG_CreateIndirect(), EDIT_EM_SetMargins(), EDIT_UpdateUniscribeData_linedef(), GetDialogBaseUnits(), LoadDialog(), OleCreatePropertyFrameIndirect(), SoftModalMessageBox(), Test_GdiGetCharDimensions(), test_margins_default(), and test_margins_usefontinfo().
Definition at line 934 of file font.c.
Referenced by test_GetCharABCWidths().
BOOL APIENTRY GetCharABCWidthsFloatA | ( | HDC | hdc, |
UINT | iFirstChar, | ||
UINT | iLastChar, | ||
LPABCFLOAT | lpABCF | ||
) |
Definition at line 977 of file font.c.
Definition at line 686 of file font.c.
Definition at line 1014 of file font.c.
Referenced by test_GetCharWidthI().
Definition at line 787 of file font.c.
Referenced by check_vertical_metrics().
DWORD WINAPI GetCharacterPlacementA | ( | HDC | hdc, |
LPCSTR | lpString, | ||
INT | uCount, | ||
INT | nMaxExtent, | ||
GCP_RESULTSA * | lpResults, | ||
DWORD | dwFlags | ||
) |
Definition at line 505 of file font.c.
Referenced by test_GetCharacterPlacement().
DWORD WINAPI GetCharacterPlacementW | ( | HDC | hdc, |
LPCWSTR | lpString, | ||
INT | uCount, | ||
INT | nMaxExtent, | ||
GCP_RESULTSW * | lpResults, | ||
DWORD | dwFlags | ||
) |
Definition at line 568 of file font.c.
Referenced by GetCharacterPlacementA(), and ID3DXFontImpl_DrawTextW().
Definition at line 854 of file font.c.
Definition at line 761 of file font.c.
Referenced by GetCharacterPlacementW().
Definition at line 811 of file font.c.
Referenced by test_bitmap_font(), test_font_metrics(), and test_outline_font().
Definition at line 897 of file font.c.
Definition at line 711 of file font.c.
Definition at line 1034 of file font.c.
Referenced by test_GetCharWidthI().
Definition at line 736 of file font.c.
Definition at line 2654 of file font.c.
Referenced by check_vertical_metrics(), get_first_last_from_cmap(), get_font_metrics(), get_ttf_nametable_entry(), init_script_cache(), load_CMAP_format12_table(), load_gdef_table(), load_gpos_table(), load_gsub_table(), test_fullname2_helper(), and test_text_metrics().
Definition at line 1061 of file font.c.
Definition at line 1085 of file font.c.
Referenced by test_GetCharWidthI().
DWORD WINAPI GetGlyphOutlineA | ( | HDC | hdc, |
UINT | uChar, | ||
UINT | uFormat, | ||
LPGLYPHMETRICS | lpgm, | ||
DWORD | cbBuffer, | ||
LPVOID | lpvBuffer, | ||
CONST MAT2 * | lpmat2 | ||
) |
Definition at line 1112 of file font.c.
Referenced by test_bitmap_font_metrics(), test_fake_bold_font(), test_GetCharABCWidths(), test_GetGlyphOutline(), test_GetGlyphOutline_metric_clipping(), test_negative_width(), and test_outline_font().
DWORD WINAPI GetGlyphOutlineW | ( | HDC | hdc, |
UINT | uChar, | ||
UINT | uFormat, | ||
LPGLYPHMETRICS | lpgm, | ||
DWORD | cbBuffer, | ||
LPVOID | lpvBuffer, | ||
CONST MAT2 * | lpmat2 | ||
) |
Definition at line 1161 of file font.c.
Referenced by check_vertical_font(), check_vertical_metrics(), ID3DXFontImpl_PreloadGlyphs(), test_GetGlyphOutline(), and test_GetGlyphOutline_empty_contour().
DWORD WINAPI GetGlyphOutlineWow | ( | DWORD | a0, |
DWORD | a1, | ||
DWORD | a2, | ||
DWORD | a3, | ||
DWORD | a4, | ||
DWORD | a5, | ||
DWORD | a6 | ||
) |
DWORD WINAPI GetKerningPairsA | ( | HDC | hDC, |
DWORD | cPairs, | ||
LPKERNINGPAIR | kern_pairA | ||
) |
Definition at line 1575 of file font.c.
DWORD WINAPI GetKerningPairsW | ( | HDC | hdc, |
ULONG | cPairs, | ||
LPKERNINGPAIR | pkpDst | ||
) |
Definition at line 1555 of file font.c.
Referenced by GetKerningPairsA(), and test_GetKerningPairs().
UINT APIENTRY GetOutlineTextMetricsA | ( | HDC | hdc, |
UINT | cbData, | ||
LPOUTLINETEXTMETRICA | lpOTM | ||
) |
Definition at line 1202 of file font.c.
Referenced by check_vertical_metrics(), get_font_fsselection(), test_font_metrics(), test_fstype_fixup(), test_fullname2_helper(), test_GetOutlineTextMetrics(), and test_outline_font().
UINT APIENTRY GetOutlineTextMetricsW | ( | HDC | hdc, |
UINT | cbData, | ||
LPOUTLINETEXTMETRICW | lpOTM | ||
) |
Definition at line 1401 of file font.c.
Referenced by gdi_get_font_metrics(), GdipCreateFont(), GdipCreateFontFromLogfontW(), get_font_metrics(), GetOutlineTextMetricsA(), and test_GetKerningPairs().
Definition at line 1391 of file font.c.
Referenced by GetOutlineTextMetricsW().
|
static |
Definition at line 288 of file font.c.
Referenced by EnumFontFamiliesA(), EnumFontFamiliesExA(), EnumFontFamiliesExW(), and EnumFontFamiliesW().
Definition at line 1375 of file font.c.
Referenced by GetOutlineTextMetricsW().
Definition at line 245 of file font.c.
Referenced by IntEnumFontFamilies().
FORCEINLINE int FASTCALL IntFontFamilyCompareEx | ( | const FONTFAMILYINFO * | ffi1, |
const FONTFAMILYINFO * | ffi2, | ||
DWORD | dwCompareFlags | ||
) |
Definition at line 212 of file font.c.
Referenced by IntFontFamilyCompare(), and IntFontFamilyListUnique().
int FASTCALL IntFontFamilyListUnique | ( | FONTFAMILYINFO * | InfoList, |
INT | nCount, | ||
const LOGFONTW * | plf, | ||
DWORD | dwFlags | ||
) |
Definition at line 255 of file font.c.
Referenced by IntEnumFontFamilies().
INT WINAPI NewEnumFontFamiliesExW | ( | HDC | hDC, |
LPLOGFONTW | lpLogfont, | ||
FONTENUMPROCW | lpEnumFontFamExProcW, | ||
LPARAM | lParam, | ||
DWORD | dwFlags | ||
) |
Definition at line 2326 of file font.c.
DWORD WINAPI NewGetCharacterPlacementW | ( | HDC | hdc, |
LPCWSTR | lpString, | ||
INT | uCount, | ||
INT | nMaxExtent, | ||
GCP_RESULTSW * | lpResults, | ||
DWORD | dwFlags | ||
) |
Definition at line 641 of file font.c.
VOID FASTCALL NewTextMetricExW2A | ( | NEWTEXTMETRICEXA * | tma, |
NEWTEXTMETRICEXW * | tmw | ||
) |
Definition at line 201 of file font.c.
Referenced by IntEnumFontFamilies().
VOID FASTCALL NewTextMetricW2A | ( | NEWTEXTMETRICA * | tma, |
NEWTEXTMETRICW * | tmw | ||
) |
Definition at line 191 of file font.c.
Referenced by NewTextMetricExW2A().
Definition at line 2475 of file font.c.
Referenced by START_TEST().
Definition at line 2059 of file font.c.
Definition at line 2069 of file font.c.
Referenced by RemoveFontResourceA(), and test_long_names().