ReactOS 0.4.16-dev-336-gb667d82
|
#include <stdarg.h>
#include <assert.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "wine/heap.h"
#include "wine/test.h"
#include "pshpack2.h"
#include "poppack.h"
Go to the source code of this file.
Classes | |
struct | font_data |
struct | enum_font_data |
struct | enum_fullname_data |
struct | enum_font_dataW |
struct | TT_OS2_V4 |
struct | cmap_header |
struct | cmap_encoding_record |
struct | cmap_format_0 |
struct | cmap_format_4 |
struct | cmap_format_4_seg |
struct | sfnt_name |
Typedefs | |
typedef struct sfnt_name | sfnt_name |
Enumerations | |
enum | cmap_type { cmap_none , cmap_ms_unicode , cmap_ms_symbol } |
Variables | |
static LPTEXTMETRICW | lptm |
static LPTEXTMETRICW LONG * | height |
static UINT | first |
static UINT UINT | count |
static UINT UINT LPWORD | glyphs |
static UINT UINT LPWORD LPABC | abc |
static UINT UINT | last |
static UINT UINT LPINT | buffer |
static LPGLYPHSET | lpgs |
static LPCSTR | lpstr |
static LPCSTR INT LPWORD | pgi |
static LPCSTR INT LPWORD DWORD | flags |
static const WORD * | indices |
static const WORD INT INT | max_ext |
static const WORD INT INT LPINT | nfit |
static const WORD INT INT LPINT LPINT | dxs |
static const WORD INT INT LPINT LPINT LPSIZE | size |
static | DWORD |
static | PVOID |
static DWORD *static void DWORD *static | ULONGLONG |
static HMODULE | hgdi32 = 0 |
static const MAT2 | mat = { {0,1}, {0,0}, {0,0}, {0,1} } |
static WORD | system_lang_id |
static const LANGID | mac_langid_table [] |
#define GET_BE_DWORD | ( | x | ) | MAKELONG(GET_BE_WORD(HIWORD(x)), GET_BE_WORD(LOWORD(x))); |
#define MS_MAKE_TAG | ( | ch0, | |
ch1, | |||
ch2, | |||
ch3 | |||
) |
#define TT_OS2_V0_SIZE (FIELD_OFFSET(TT_OS2_V4, ulCodePageRange1)) |
Enumerator | |
---|---|
cmap_none | |
cmap_ms_unicode | |
cmap_ms_symbol |
|
static |
Definition at line 1131 of file font.c.
Referenced by test_GetCharABCWidths().
|
static |
Definition at line 2804 of file font.c.
Referenced by test_EnumFontFamilies().
|
static |
Definition at line 2830 of file font.c.
Referenced by test_EnumFontFamilies().
Definition at line 195 of file font.c.
Referenced by create_font(), test_CreateFontIndirectEx(), test_logfont(), and test_negative_width().
|
static |
Definition at line 5902 of file font.c.
Referenced by test_vertical_font().
Definition at line 5953 of file font.c.
Referenced by test_vertical_font().
|
static |
Definition at line 285 of file font.c.
Referenced by test_font_metrics().
|
static |
Definition at line 4574 of file font.c.
Referenced by test_GetGlyphOutline().
Definition at line 237 of file font.c.
Referenced by test_bitmap_font(), test_bitmap_font_metrics(), test_GetFontUnicodeRanges(), test_logfont(), test_orientation(), test_outline_font(), and test_SetTextJustification().
|
static |
Definition at line 1112 of file font.c.
Referenced by test_GetCharABCWidths(), and test_GetGlyphOutline().
|
static |
Definition at line 5203 of file font.c.
Referenced by test_EnumFonts().
|
static |
Definition at line 3141 of file font.c.
Referenced by test_EnumFontFamiliesEx_default_charset(), and test_vertical_order().
|
static |
Definition at line 5190 of file font.c.
Referenced by test_EnumFonts().
|
static |
Definition at line 3158 of file font.c.
Referenced by test_fullname2_helper().
|
static |
Definition at line 5315 of file font.c.
Referenced by test_EnumFonts_subst().
|
static |
Definition at line 5294 of file font.c.
Referenced by test_EnumFonts_subst().
|
static |
Definition at line 3120 of file font.c.
Referenced by test_EnumFontFamiliesEx_default_charset().
|
static |
Definition at line 4031 of file font.c.
Referenced by test_GetTextMetrics().
|
static |
Definition at line 5221 of file font.c.
Referenced by test_EnumFonts().
|
static |
Definition at line 3396 of file font.c.
Referenced by test_text_metrics().
|
static |
Definition at line 739 of file font.c.
Referenced by test_bitmap_font_metrics().
Definition at line 1942 of file font.c.
Referenced by test_height_selection_vdmx().
|
static |
Definition at line 273 of file font.c.
Referenced by gdi_get_font_metrics(), and test_bitmap_font().
Definition at line 5039 of file font.c.
Referenced by test_AddFontMemResource().
|
static |
Definition at line 2856 of file font.c.
Referenced by test_EnumFontFamilies().
|
static |
Definition at line 2883 of file font.c.
Referenced by test_EnumFontFamilies().
|
static |
Definition at line 3456 of file font.c.
Referenced by get_first_last_from_cmap().
|
static |
Definition at line 3477 of file font.c.
Referenced by test_text_metrics().
Definition at line 3405 of file font.c.
Referenced by get_first_last_from_cmap().
|
static |
Definition at line 3431 of file font.c.
Referenced by get_first_last_from_cmap().
Definition at line 6164 of file font.c.
Referenced by test_stock_fonts().
Definition at line 2154 of file font.c.
Referenced by test_GetOutlineTextMetrics().
|
static |
Definition at line 2496 of file font.c.
Referenced by test_font_charset().
Definition at line 3676 of file font.c.
Definition at line 149 of file font.c.
Referenced by test_height_selection_vdmx(), and write_ttf_file().
|
static |
|
static |
Definition at line 3729 of file font.c.
Referenced by test_fullname(), and test_fullname2_helper().
|
static |
Definition at line 6107 of file font.c.
Referenced by test_east_asian_font_selection().
Referenced by _Success_(), add_ruler_units(), AddCharToSelection(), AdvAppearanceDlg_Init(), BuildFont(), BUTTON_CalcLabelRect(), BUTTON_WindowProc(), ButtonWndProc_common(), C1_SetData(), Pane::calc_single_width(), Pane::calc_widths(), ProgressDlg::CalcTextRect(), CB_Paint(), CB_ThemedPaint(), CBGetTextAreaHeight(), CBPaintText(), CFn_WMMeasureItem(), CFn_WMPaint(), check_height_font_enumproc(), check_item_height(), check_vertical_font(), check_vertical_metrics(), CheckListWndProc(), ChildWndProc(), combo_get_text_height(), COMBO_WindowProc(), COMBOEX_Create(), COMBOEX_WindowProc(), ComboWndProc_common(), COMCTL32_GetFontMetrics(), ConfirmMsgBox_Init(), ConfirmMsgBox_Paint(), create_fixed_pitch_font_proc(), create_font(), create_font_proc(), CreateBoldFont(), CreateConsoleFont2(), CreateConsoleFontEx(), CreateFontA(), CCharMapWindow::CreateFontComboBox(), CreateFontset(), CreateLayoutIcon(), CreateMonospaceFont(), CreateStockFonts(), CreateTitleFont(), CreateTrayIcon(), ctrl_container_reparent(), ctrl_resize(), CUIFObject::CUIFObject(), CUIFToolbarMenuButton::CUIFToolbarMenuButton(), D3DXCreateTextTest(), D3DXCreateTextW(), DATETIME_GetIdealSize(), DATETIME_Refresh(), DATETIME_WindowProc(), DC_hSelectFont(), default_page_paint_hook(), DIALOG_CreateIndirect(), dialog_get_sans_serif_height(), DIALOG_SelectFont(), Display_DrawText(), DlgProc(), DoEntry(), DoPrintDocument(), DoPrintPage(), DoTestEntry(), draw_text_2(), CGridView::DrawGrid(), DrawNCPreview(), DrawProc(), DrawShadowText(), DrawThemeTextEx(), DumpFont(), EDIT_EM_SetMargins(), EDIT_PaintText(), EDIT_UpdateUniscribeData(), EDIT_UpdateUniscribeData_linedef(), EDIT_WindowProc(), EDIT_WM_Paint(), EDIT_WM_SetFont(), EditTypeDlg_OnDrawItem(), EnumEnhMetaFile(), EnumMetaFile(), FILEDLG95_LOOKIN_Init(), FillFontStyleComboList(), FillGrid(), find_installed_font(), fnIMLangFontLink2_GetFontCodePages(), fnIMLangFontLink2_MapFont(), font_height(), FontSizeChange(), ftGdiGetGlyphOutline(), ftGdiGetTextCharsetInfo(), GB_Paint(), GB_ThemedPaint(), GDI32_GdipDrawDriverString(), gdi_get_font_metrics(), GdiFlushUserBatch(), GdipCreateFont(), GdipCreateFontFromDC(), GdipCreateFontFromLogfontW(), GdipDrawString(), GdipMeasureCharacterRanges(), GdipMeasureDriverString(), GdipMeasureString(), GdiRealizationInfo(), GdiSelectFont(), get_button_font(), get_current_font_height(), get_font_dpi(), get_font_fsselection(), get_font_height(), get_font_hfont(), get_glyph_indices(), get_text_metr_size(), get_tmheight(), get_tmheightW(), GetButtonHeight(), GetDialogFont(), ATL::CWindow::GetFont(), GetPhysicalFontHeight(), CTipbarThread::GetTextSize(), GetThemeTextExtent(), GetThemeTextMetrics(), Graph_DrawCpuUsageGraph(), Graph_DrawMemUsageGraph(), GuiPaintTextModeBuffer(), HEADER_Create(), HEADER_CreateDragImage(), HEADER_Refresh(), HEADER_SetFont(), HEADER_WindowProc(), HEXEDIT_WM_PAINT(), HEXEDIT_WM_SETFONT(), HexEditWndProc(), HfontCreate(), HOTKEY_DrawHotKey(), HOTKEY_SetFont(), HOTKEY_WindowProc(), ICONTITLE_Paint(), ICONTITLE_SetTitlePos(), InatCreateIconBySize(), init(), init_texthost(), InitEditWnd(), InitFonts(), IntDrawMenuBarTemp(), IntDrawState(), IntGrayString(), IntPaintDesktop(), IntTMWFixUp(), IPADDRESS_Create(), is_font_available(), LISTBOX_DrawFocusRect(), LISTBOX_Paint(), LISTBOX_RepaintItem(), LISTBOX_SetFont(), LISTBOX_WindowProc(), ListBoxWndProc_common(), LISTVIEW_Command(), LISTVIEW_CreateDragImage(), LISTVIEW_EditLabelT(), LISTVIEW_GetItemMetrics(), LISTVIEW_GetStringWidthT(), LISTVIEW_Refresh(), LISTVIEW_SaveTextMetrics(), LISTVIEW_SetColumnWidth(), LISTVIEW_SetFont(), LISTVIEW_ShowFocusRect(), LISTVIEW_WindowProc(), LoadDialog(), LoadIniFile(), LrgCellWndProc(), MainFrameBase::MainFrameBase(), MainWndProc(), font::MakeFont(), map_font(), MDIChildWndProc(), ME_MakeFirstParagraph(), CTrayClockWnd::MeasureLines(), MENU_CalcItemSize(), MENU_DrawMenuBar(), MENU_DrawMenuItem(), MENU_DrawPopupGlyph(), METADC_SelectFont(), MonitorSelWndProc(), MonSelChangeFont(), MonSelGetMonitorFont(), MonSelPaintMonitor(), MONTHCAL_PaintTodayTitle(), MONTHCAL_UpdateSize(), MONTHCAL_WindowProc(), MonthCalChangeFont(), MonthCalPaint(), MonthCalWndProc(), MyDrawFrameCaption(), MyDrawFrameScroll(), MyEnumFontFamExProc(), NOTEPAD_LoadSettingsFromRegistry(), NT5_DrawLogoffCaptionText(), NtGdiGetCharABCWidthsW(), NtGdiGetCharWidthW(), NtGdiGetFontData(), NtGdiGetFontUnicodeRanges(), NtGdiGetGlyphIndicesW(), NtGdiGetOutlineTextMetricsInternalW(), NtGdiGetTextFaceW(), NtGdiSelectFont(), OB_Paint(), OleCreatePropertyFrameIndirect(), OLEFontImpl_QueryTextMetrics(), OleMetafilePictFromIconAndLabel(), on_wm_initdialog(), OnCreate(), CAutoComplete::OnCreate(), CBaseBarSite::OnCustomDraw(), OnMeasureItem(), OnPaint(), CTrayClockWnd::OnPaint(), CTrayClockWnd::OnSetFont(), CTrayClockWnd::OnThemeChanged(), OSK_ChooseFont(), OSK_Paint(), PaintControl(), PaintText(), PB_Paint(), PB_ThemedPaint(), PlotCharacter(), PreviewWndProc(), ProgressDlg::ProcessWindowMessage(), PROGRESS_SetFont(), ProgressWindowProc(), PROPSHEET_Paint(), realize_font(), REBAR_DrawBand(), REBAR_NCCreate(), REBAR_ValidateBand(), REBAR_WindowProc(), RefreshFontPreview(), RetChangeControlFont(), RosImageProc(), ScriptStringAnalyse(), select_style(), CGridView::SetFont(), SetFontStylesToCombo2(), SetLrgFont(), CUIFMenu::SetMenuFont(), SetMessageFont(), SetupControls(), SHSetDefaultDialogFont(), SoftModalMessageBox(), SOFTWARE_GdipDrawDriverString(), SS_ItemOut(), START_TEST(), STATIC_PaintOwnerDrawfn(), STATIC_PaintTextfn(), STATUSBAR_Refresh(), StatusWindowProc(), SYSLINK_Draw(), SYSLINK_SetFont(), SysLinkWindowProc(), T1_GetTextMetric(), T1_SetData(), TAB_Create(), TAB_DrawItemInterior(), TAB_Refresh(), TAB_SetItemBounds(), TAB_WindowProc(), taskdialog_get_expando_size(), taskdialog_get_label_size(), test_AddRefHfont(), test_bcm_get_ideal_size(), test_bitmap_font(), test_bitmap_font_glyph_index(), test_bitmap_font_metrics(), test_button_messages(), test_combo_setfont(), test_combo_setitemheight(), Test_CreateFontA(), test_CreateFontIndirect(), Test_CreateFontIndirectA(), test_CreateFontIndirectEx(), Test_CreateFontIndirectExA(), Test_CreateFontIndirectExW(), Test_CreateFontIndirectW(), test_createtext(), test_DrawTextCalcRect(), test_dtm_get_ideal_size(), test_dtm_set_and_get_mcfont(), test_east_asian_font_selection(), test_EM_GETMODIFY(), test_emf_ExtTextOut_on_path(), test_ExtTextOut(), test_fake_bold_font(), Test_Font(), test_font_caps(), test_font_substitution(), Test_FontSelectionEntry(), test_fontsize(), test_fstype_fixup(), test_fullname(), test_fullname2_helper(), Test_GdiConvertFont(), Test_GdiGetCharDimensions(), test_GdiGetCodePage(), test_GetCharABCWidths(), test_GetCharWidth32(), test_GetCharWidthI(), test_GetCurrentObject(), test_GetFontUnicodeRanges(), test_GetGlyphIndices(), test_GetGlyphOutline(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), Test_GetIdealSizeNoThemes(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), test_GetTextFace(), Test_GetTextFaceAliasW(), test_GetTextMetrics2(), test_height(), test_hfont_lifetime(), test_ifont_size(), test_item_count(), test_item_height(), test_logfont(), test_long_names(), test_MapFont(), test_margins_default(), test_margins_font_change(), test_margins_usefontinfo(), test_max_height(), test_MessageBoxFontTest(), test_mf_SaveDC(), test_negative_width(), test_nonexistent_font(), test_oemcharset(), test_orientation(), test_outline_font(), test_RealizationInfo(), test_ReleaseHfont(), test_SaveDC(), test_script_cache_reuse(), test_ScriptCacheGetHeight(), test_ScriptGetFontProperties(), test_ScriptGetGlyphABCWidth(), test_ScriptPlace(), test_ScriptShape(), test_ScriptShapeOpenType(), test_setfont(), test_SetTextJustification(), test_size(), test_stock_fonts(), test_tab(), test_text_extents(), test_text_metrics(), test_text_position_style(), test_TxGetNaturalSize(), test_WM_SETFONT(), TextProc(), ThemeDrawCaptionText(), TOOLBAR_CalcStrings(), TOOLBAR_DrawString(), TOOLBAR_LayoutToolbar(), ToolbarWindowProc(), ToolTipProc(), TOOLTIPS_CalcTipSize(), TOOLTIPS_Refresh(), TOOLTIPS_WindowProc(), TreeListEditLabel(), TreeListProc(), TREEVIEW_Command(), TREEVIEW_ComputeTextWidth(), TREEVIEW_CreateDragImage(), TREEVIEW_DrawItem(), TREEVIEW_EditLabel(), TREEVIEW_NaturalHeight(), TREEVIEW_UpdateSubTree(), TREEVIEW_WindowProc(), UB_Paint(), UITOOLS95_DFC_ButtonCheckRadio(), UITOOLS95_DrawFrameCaption(), UITOOLS95_DrawFrameMenu(), UITOOLS95_DrawFrameScroll(), UserDrawCaptionText(), VfdToolTip(), wglUseFontOutlines_common(), WINHELP_InitFonts(), WndProc(), and HyperlinkCtrl::WndProc().
Definition at line 751 of file font.c.
Referenced by test_bitmap_font_metrics().
Definition at line 137 of file font.c.
Referenced by test_EnumFonts_subst(), test_font_charset(), test_GdiGetCodePage(), test_GetGlyphIndices(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), test_GetTextFace(), test_nonexistent_font(), and test_SetTextJustification().
Definition at line 5408 of file font.c.
Referenced by test_fullname().
|
static |
Definition at line 5398 of file font.c.
Referenced by is_font_installed_fullname().
Definition at line 120 of file font.c.
Referenced by check_vertical_font(), START_TEST(), test_CreateFontIndirectEx(), test_CreateScalableFontResource(), test_EnumFontFamilies(), test_EnumFonts(), test_EnumFonts_subst(), test_GetCharABCWidths(), test_GetGlyphOutline(), test_GetTextMetrics2(), test_height(), test_height_selection_vdmx(), test_nonexistent_font(), test_orientation(), test_outline_font(), test_RealizationInfo(), and test_vertical_font().
|
static |
Definition at line 113 of file font.c.
Referenced by is_truetype_font_installed().
Definition at line 5044 of file font.c.
Referenced by test_AddFontMemResource().
Definition at line 3682 of file font.c.
Definition at line 5468 of file font.c.
Referenced by test_fullname2_helper().
START_TEST | ( | font | ) |
Definition at line 6857 of file font.c.
Definition at line 5073 of file font.c.
Referenced by START_TEST().
Definition at line 401 of file font.c.
Referenced by START_TEST().
Definition at line 6629 of file font.c.
Referenced by START_TEST().
Definition at line 757 of file font.c.