|
ReactOS 0.4.17-dev-117-g313be0c
|
#include <stdarg.h>#include <stdio.h>#include <assert.h>#include "windef.h"#include "winbase.h"#include "wingdi.h"#include "winuser.h"#include "winnls.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_fullname_data_w |
| 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 |
| struct | font_realization_info |
| struct | file_info |
| struct | TT_Hori_Header |
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 void *static DWORD *static DWORD *static | DWORD |
| static void *static DWORD *static DWORD *static void | SIZE_T |
| static void *static DWORD *static DWORD *static void SIZE_T *static | UINT64 |
| 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 1078 of file font.c.
Referenced by test_GetCharABCWidths().
|
static |
Definition at line 2861 of file font.c.
Referenced by test_EnumFontFamilies().
|
static |
Definition at line 2883 of file font.c.
Referenced by test_EnumFontFamilies().
Definition at line 166 of file font.c.
Referenced by create_font(), test_CreateFontIndirectEx(), test_logfont(), and test_negative_width().
|
static |
Definition at line 6111 of file font.c.
Referenced by test_vertical_font().
Definition at line 6162 of file font.c.
Referenced by test_vertical_font().
|
static |
Definition at line 240 of file font.c.
Referenced by test_font_metrics().
|
static |
Definition at line 4632 of file font.c.
Referenced by test_GetGlyphOutline().
Definition at line 192 of file font.c.
Referenced by test_bitmap_font(), test_bitmap_font_metrics(), test_GetFontUnicodeRanges(), test_logfont(), test_orientation(), test_outline_font(), test_select_object(), and test_SetTextJustification().
|
static |
Definition at line 1059 of file font.c.
Referenced by test_GetCharABCWidths(), and test_GetGlyphOutline().
|
static |
Definition at line 5365 of file font.c.
Referenced by test_EnumFonts().
|
static |
Definition at line 3170 of file font.c.
Referenced by test_EnumFontFamiliesEx_default_charset(), and test_vertical_order().
|
static |
Definition at line 5352 of file font.c.
Referenced by test_EnumFonts().
|
static |
Definition at line 3187 of file font.c.
Referenced by test_fullname2_helper(), test_lang_names(), and test_ttf_names().
|
static |
Definition at line 3204 of file font.c.
Referenced by test_lang_names().
|
static |
Definition at line 5477 of file font.c.
Referenced by test_EnumFonts_subst().
|
static |
Definition at line 5456 of file font.c.
Referenced by test_EnumFonts_subst().
|
static |
Definition at line 3149 of file font.c.
Referenced by test_EnumFontFamiliesEx_default_charset().
|
static |
Definition at line 4090 of file font.c.
Referenced by test_GetTextMetrics().
|
static |
Definition at line 5383 of file font.c.
Referenced by test_EnumFonts().
|
static |
Definition at line 3438 of file font.c.
Referenced by test_text_metrics().
|
static |
Definition at line 690 of file font.c.
Referenced by test_bitmap_font_metrics().
Definition at line 1948 of file font.c.
Referenced by test_height_selection_vdmx().
|
static |
Definition at line 228 of file font.c.
Referenced by gdi_get_font_metrics(), and test_bitmap_font().
Definition at line 1539 of file font.c.
Referenced by test_AddFontMemResource(), and test_GetGlyphIndices().
|
static |
Definition at line 7553 of file font.c.
Referenced by test_char_width().
|
static |
Definition at line 2905 of file font.c.
Referenced by test_EnumFontFamilies().
|
static |
Definition at line 2932 of file font.c.
Referenced by test_EnumFontFamilies().
|
static |
Definition at line 3498 of file font.c.
Referenced by get_first_last_from_cmap().
|
static |
Definition at line 3519 of file font.c.
Referenced by test_text_metrics().
Definition at line 3447 of file font.c.
Referenced by get_first_last_from_cmap().
|
static |
Definition at line 3473 of file font.c.
Referenced by get_first_last_from_cmap().
Definition at line 6360 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 2478 of file font.c.
Referenced by test_font_charset().
Definition at line 3718 of file font.c.
Definition at line 120 of file font.c.
Referenced by test_height_selection_vdmx(), and write_ttf_file().
|
static |
|
static |
Definition at line 3771 of file font.c.
Referenced by test_fullname(), and test_fullname2_helper().
|
static |
Definition at line 6303 of file font.c.
Referenced by test_east_asian_font_selection().
Definition at line 702 of file font.c.
Referenced by test_bitmap_font_metrics().
Definition at line 108 of file font.c.
Referenced by test_EnumFonts_subst(), test_font_charset(), test_GdiGetCodePage(), test_GetCharacterPlacement_kerning(), test_GetGlyphIndices(), test_GetKerningPairs(), test_GetOutlineTextMetrics(), test_GetOutlineTextMetrics_subst(), test_GetTextFace(), test_nonexistent_font(), and test_SetTextJustification().
Definition at line 5570 of file font.c.
Referenced by test_fullname().
|
static |
Definition at line 5560 of file font.c.
Referenced by is_font_installed_fullname().
Definition at line 91 of file font.c.
Referenced by check_vertical_font(), START_TEST(), test_AddFontMemResource(), test_CreateFontIndirectEx(), test_CreateScalableFontResource(), test_EnumFontFamilies(), test_EnumFonts(), test_EnumFonts_subst(), test_GetCharABCWidths(), test_GetCharWidthInfo(), 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 84 of file font.c.
Referenced by is_truetype_font_installed().
Definition at line 1544 of file font.c.
Referenced by test_AddFontMemResource(), and test_GetGlyphIndices().
Definition at line 5630 of file font.c.
Referenced by test_fullname2_helper().
| START_TEST | ( | font | ) |
Definition at line 7848 of file font.c.
Definition at line 5214 of file font.c.
Referenced by START_TEST().
Definition at line 358 of file font.c.
Referenced by START_TEST().
Definition at line 6819 of file font.c.
Referenced by START_TEST().
Definition at line 708 of file font.c.
Referenced by START_TEST().
Definition at line 7596 of file font.c.
Referenced by START_TEST().
Definition at line 5049 of file font.c.
Referenced by START_TEST().
Definition at line 5080 of file font.c.
Referenced by START_TEST().
Definition at line 5969 of file font.c.
Referenced by START_TEST().
Definition at line 6312 of file font.c.
Referenced by START_TEST().
Definition at line 2959 of file font.c.
Referenced by START_TEST().
Definition at line 3221 of file font.c.
Referenced by START_TEST().
Definition at line 5388 of file font.c.
Referenced by START_TEST().
Definition at line 5498 of file font.c.
Referenced by START_TEST().
Definition at line 6700 of file font.c.
Referenced by START_TEST().
Definition at line 2663 of file font.c.
Referenced by START_TEST().
|
static |
Definition at line 264 of file font.c.
Definition at line 7793 of file font.c.
Referenced by START_TEST().
|
static |
Definition at line 7778 of file font.c.
Referenced by test_font_weight().
Definition at line 5930 of file font.c.
Referenced by test_CreateScalableFontResource().
Definition at line 5582 of file font.c.
Referenced by START_TEST().
Definition at line 5640 of file font.c.
Referenced by test_fullname2().
Definition at line 1021 of file font.c.
Referenced by START_TEST().
Definition at line 2709 of file font.c.
Referenced by START_TEST().
Definition at line 1109 of file font.c.
Referenced by START_TEST().
Definition at line 4994 of file font.c.
Referenced by START_TEST().
Definition at line 7607 of file font.c.
Referenced by START_TEST().
Definition at line 6602 of file font.c.
Referenced by START_TEST().
Definition at line 6947 of file font.c.
Referenced by START_TEST().
Definition at line 7389 of file font.c.
Referenced by START_TEST().
Definition at line 1578 of file font.c.
Referenced by START_TEST().
Definition at line 4684 of file font.c.
Referenced by START_TEST().
Definition at line 5879 of file font.c.
Referenced by test_CreateScalableFontResource().
Definition at line 5793 of file font.c.
Referenced by test_CreateScalableFontResource().
Definition at line 5833 of file font.c.
Referenced by test_CreateScalableFontResource().
Definition at line 1704 of file font.c.
Referenced by START_TEST().
Definition at line 2182 of file font.c.
Referenced by START_TEST().
Definition at line 7733 of file font.c.
Referenced by START_TEST().
Definition at line 4484 of file font.c.
Referenced by START_TEST().
Definition at line 4102 of file font.c.
Referenced by START_TEST().
Definition at line 4943 of file font.c.
Referenced by START_TEST().
Definition at line 1905 of file font.c.
Definition at line 2129 of file font.c.
Referenced by START_TEST().
Definition at line 1962 of file font.c.
Referenced by test_height_selection().
Definition at line 7120 of file font.c.
Referenced by START_TEST().
Definition at line 7007 of file font.c.
Referenced by START_TEST().
Definition at line 6503 of file font.c.
Referenced by START_TEST().
Definition at line 3268 of file font.c.
Referenced by test_text_metrics().
Definition at line 4133 of file font.c.
Referenced by START_TEST().
Definition at line 4604 of file font.c.
Referenced by START_TEST().
Definition at line 4575 of file font.c.
Referenced by START_TEST().
Definition at line 448 of file font.c.
Referenced by START_TEST().
Definition at line 5105 of file font.c.
Referenced by test_AddFontMemResource().
Definition at line 4338 of file font.c.
Referenced by START_TEST().
Definition at line 7707 of file font.c.
Referenced by START_TEST().
Definition at line 2366 of file font.c.
Referenced by START_TEST().
Definition at line 6382 of file font.c.
Referenced by START_TEST().
Definition at line 1399 of file font.c.
Referenced by START_TEST().
|
static |
Definition at line 3853 of file font.c.
Referenced by enum_truetype_font_proc().
Definition at line 2571 of file font.c.
Referenced by START_TEST().
Definition at line 7053 of file font.c.
Referenced by START_TEST().
Definition at line 6250 of file font.c.
Referenced by START_TEST().
Definition at line 6566 of file font.c.
Referenced by START_TEST().
|
static |
Definition at line 2289 of file font.c.
Referenced by test_SetTextJustification().
Definition at line 137 of file font.c.
Referenced by test_height_selection_vdmx(), and write_ttf_file().
Definition at line 155 of file font.c.
Referenced by test_AddFontMemResource(), test_CreateScalableFontResource(), test_font_weight(), test_GetGlyphIndices(), test_lang_names(), test_long_names(), test_ttf_names(), and test_vertical_font().
|
static |
Definition at line 50 of file font.c.
Referenced by init(), test_gdiis(), and test_margins_default().
| LPTEXTMETRICW lptm |
Definition at line 42 of file font.c.
Referenced by _GdiGetCharDimensions(), EnumFontFamProcW(), GdiGetCharDimensions(), GetTextMetricsA(), GetTextMetricsW(), and GreGetTextMetricsW().
Definition at line 51 of file font.c.
Referenced by check_vertical_font(), check_vertical_metrics(), compute_texture_matrix(), d3d_draw_quad1(), d3d_material1_GetMaterial(), d3d_material1_SetMaterial(), d3d_material2_GetMaterial(), d3d_material2_SetMaterial(), d3d_material3_GetMaterial(), d3d_material3_SetMaterial(), d3d_viewport_TransformVertices(), d3drm_update_background_material(), D3DXMatrixTest(), D3DXPlaneTest(), D3DXQuaternionTest(), D3DXVector2Test(), D3DXVector3Test(), D3DXVector4Test(), draw_quad2(), dump_D3DMATRIX(), dump_material(), ftGdiGetGlyphOutline(), gen_add_match(), gen_del_match(), gen_matches(), get_identity_matrix(), get_modelview_matrix(), get_normal_matrix(), get_projection_matrix(), get_texture_matrix(), gl_color_shade_vertices(), gl_index_shade_vertices(), gl_set_material(), gl_update_lighting(), ID3DXFontImpl_PreloadGlyphs(), IntExtTextOutW(), MatrixTest(), nvts_bumpenvmat(), process_vertices_strided(), set(), set_bumpmat(), set_bumpmat_arbfp(), set_matrix(), set_states(), Mapdesc::setBboxsize(), Mapdesc::setBmat(), Mapdesc::setCmat(), NurbsTessellator::setnurbsproperty(), Mapdesc::setSmat(), Pen::SetTransform(), shader_glsl_ffp_vertex_texmatrix_uniform(), shader_glsl_load_constants(), test_bitmap_font_metrics(), test_D3DXVec_Array(), test_effect_parameter_block(), test_effect_states(), test_GetCharABCWidths(), test_GetGlyphOutline(), test_GetGlyphOutline_character(), test_GetGlyphOutline_empty_contour(), test_GetGlyphOutline_metric_clipping(), test_ID3DXFont(), test_ID3DXSprite(), test_negative_width(), test_outline_font(), GLUnurbs::transform4d(), transform_texture(), transform_world(), wined3d_device_multiply_transform(), Mapdesc::xformMat(), Mapdesc::xformNonrational(), and Mapdesc::xformRational().
|
static |
Definition at line 52 of file font.c.
Referenced by init(), is_CJK(), test_bitmap_font_metrics(), test_ScriptGetFontProperties(), and test_stock_fonts().