|
ReactOS 0.4.17-dev-934-g091855f
|
#include "dwrite_3.h"#include "d2d1.h"#include "winternl.h"#include "wine/debug.h"#include "wine/list.h"#include "wine/rbtree.h"

Go to the source code of this file.
Classes | |
| struct | MATRIX_2X2 |
| struct | textlayout_desc |
| struct | glyphrunanalysis_desc |
| struct | fontface_desc |
| struct | dwrite_fonttable |
| struct | fontfacecached |
| struct | dwrite_cmap |
| struct | dwrite_fontface |
| struct | dwrite_textformat_data |
| struct | dwrite_textformat |
| struct | dwrite_font_props |
| struct | file_stream_desc |
| struct | tag_array |
| struct | ot_gsubgpos_table |
| struct | dwrite_var_axis |
| struct | dwrite_colorglyph |
| struct | bidi_char |
| struct | dwrite_glyphbitmap |
| struct | dwrite_outline |
| struct | scriptshaping_cache |
| struct | shaping_glyph_info |
| struct | shaping_glyph_properties |
| struct | shaping_feature |
| struct | shaping_stage |
| struct | shaping_features |
| struct | shaper |
| struct | scriptshaping_context |
| struct | shaping_font_ops |
Macros | |
| #define | MS_GSUB_TAG DWRITE_MAKE_OPENTYPE_TAG('G','S','U','B') |
| #define | MS_GPOS_TAG DWRITE_MAKE_OPENTYPE_TAG('G','P','O','S') |
| #define | GLYPH_BLOCK_SHIFT 8 |
| #define | GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT) |
| #define | GLYPH_BLOCK_MASK (GLYPH_BLOCK_SIZE - 1) |
| #define | GLYPH_MAX 65536 |
| #define | MAX_SHAPING_STAGE 16 |
Typedefs | |
| typedef struct MATRIX_2X2 | MATRIX_2X2 |
| typedef UINT16(* | p_cmap_get_glyph_func) (const struct dwrite_cmap *cmap, unsigned int ch) |
| typedef unsigned int(* | p_cmap_get_ranges_func) (const struct dwrite_cmap *cmap, unsigned int max_count, DWRITE_UNICODE_RANGE *ranges) |
| typedef UINT64(* | p_dwrite_fontface_get_font_object) (struct dwrite_fontface *fontface) |
| typedef void(* | p_apply_context_lookup) (struct scriptshaping_context *context, unsigned int lookup_index) |
| typedef void(* | stage_func) (struct scriptshaping_context *context, const struct shaping_features *features) |
Variables | |
| static const DWRITE_MATRIX | identity |
| static const MATRIX_2X2 | identity_2x2 |
| const struct shaper | arabic_shaper |
| HMODULE | dwrite_module |
| #define GLYPH_BLOCK_MASK (GLYPH_BLOCK_SIZE - 1) |
Definition at line 194 of file dwrite_private.h.
| #define GLYPH_BLOCK_SHIFT 8 |
Definition at line 192 of file dwrite_private.h.
| #define GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT) |
Definition at line 193 of file dwrite_private.h.
| #define GLYPH_MAX 65536 |
Definition at line 195 of file dwrite_private.h.
| #define MAX_SHAPING_STAGE 16 |
Definition at line 699 of file dwrite_private.h.
Definition at line 31 of file dwrite_private.h.
Definition at line 30 of file dwrite_private.h.
| typedef struct MATRIX_2X2 MATRIX_2X2 |
| typedef void(* p_apply_context_lookup) (struct scriptshaping_context *context, unsigned int lookup_index) |
Definition at line 674 of file dwrite_private.h.
Definition at line 210 of file dwrite_private.h.
| typedef unsigned int(* p_cmap_get_ranges_func) (const struct dwrite_cmap *cmap, unsigned int max_count, DWRITE_UNICODE_RANGE *ranges) |
Definition at line 211 of file dwrite_private.h.
| typedef UINT64(* p_dwrite_fontface_get_font_object) (struct dwrite_fontface *fontface) |
Definition at line 255 of file dwrite_private.h.
| typedef void(* stage_func) (struct scriptshaping_context *context, const struct shaping_features *features) |
Definition at line 703 of file dwrite_private.h.
| Enumerator | |
|---|---|
| OUTLINE_BEGIN_FIGURE | |
| OUTLINE_END_FIGURE | |
| OUTLINE_LINE | |
| OUTLINE_BEZIER | |
Definition at line 584 of file dwrite_private.h.
| Enumerator | |
|---|---|
| FONT_IS_SYMBOL | |
| FONT_IS_MONOSPACED | |
| FONT_IS_COLORED | |
| FONTFACE_KERNING_PAIRS | |
| FONTFACE_NO_KERNING_PAIRS | |
| FONTFACE_VERTICAL_VARIANTS | |
| FONTFACE_NO_VERTICAL_VARIANTS | |
Definition at line 197 of file dwrite_private.h.
| Enumerator | |
|---|---|
| GASP_GRIDFIT | |
| GASP_DOGRAY | |
| GASP_SYMMETRIC_GRIDFIT | |
| GASP_SYMMETRIC_SMOOTHING | |
Definition at line 552 of file dwrite_private.h.
Definition at line 610 of file dwrite_private.h.
| Enumerator | |
|---|---|
| FEATURE_GLOBAL | |
| FEATURE_GLOBAL_SEARCH | |
| FEATURE_MANUAL_ZWNJ | |
| FEATURE_MANUAL_ZWJ | |
| FEATURE_MANUAL_JOINERS | |
| FEATURE_HAS_FALLBACK | |
| FEATURE_NEEDS_FALLBACK | |
Definition at line 676 of file dwrite_private.h.
| HRESULT add_localizedstring | ( | IDWriteLocalizedStrings * | iface, |
| const WCHAR * | locale, | ||
| const WCHAR * | string | ||
| ) |
Definition at line 466 of file main.c.
Referenced by eudc_collection_add_family(), fontcollection_add_replacement(), init_font_data_from_font(), opentype_decode_namerecord(), and opentype_get_font_strings_from_meta().
Definition at line 1070 of file bidi.c.
Referenced by dwritetextanalyzer_AnalyzeBidi().
| HRESULT clone_localizedstrings | ( | IDWriteLocalizedStrings * | iface, |
| IDWriteLocalizedStrings ** | strings | ||
| ) |
Definition at line 497 of file main.c.
Referenced by dwritefont_GetFaceNames(), dwritefontface3_GetFaceNames(), dwritefontface3_GetFamilyNames(), dwritefontfamily_GetFamilyNames(), and get_font_info_strings().
| HRESULT compute_glyph_origins | ( | DWRITE_GLYPH_RUN const * | run, |
| DWRITE_MEASURING_MODE | measuring_mode, | ||
| D2D1_POINT_2F | baseline_origin, | ||
| DWRITE_MATRIX const * | transform, | ||
| D2D1_POINT_2F * | origins | ||
| ) |
Definition at line 1726 of file main.c.
Referenced by create_glyphrunanalysis(), dwritefactory4_ComputeGlyphOrigins(), dwritefactory4_ComputeGlyphOrigins_(), dwritefontface_GetGlyphRunOutline(), and layout_get_erun_bbox().
| HRESULT create_colorglyphenum | ( | D2D1_POINT_2F | origin, |
| const DWRITE_GLYPH_RUN * | run, | ||
| const DWRITE_GLYPH_RUN_DESCRIPTION * | desc, | ||
| DWRITE_GLYPH_IMAGE_FORMATS | formats, | ||
| DWRITE_MEASURING_MODE | mode, | ||
| const DWRITE_MATRIX * | transform, | ||
| UINT32 | palette, | ||
| IDWriteColorGlyphRunEnumerator1 ** | enumerator | ||
| ) |
Referenced by dwritefactory2_TranslateColorGlyphRun(), and dwritefactory4_TranslateColorGlyphRun().
| HRESULT create_font_collection | ( | IDWriteFactory7 * | factory, |
| IDWriteFontFileEnumerator * | enumerator, | ||
| BOOL | is_system, | ||
| IDWriteFontCollection3 ** | collection | ||
| ) |
Definition at line 4649 of file font.c.
Referenced by dwritefactory_CreateCustomFontCollection(), and get_system_fontcollection().
| HRESULT create_font_collection_from_set | ( | IDWriteFactory7 * | factory, |
| IDWriteFontSet * | set, | ||
| DWRITE_FONT_FAMILY_MODEL | family_model, | ||
| REFGUID | riid, | ||
| void ** | ret | ||
| ) |
Definition at line 4857 of file font.c.
Referenced by dwritefactory3_CreateFontCollectionFromFontSet(), dwritefactory6_CreateFontCollectionFromFontSet(), and get_system_fontcollection().
| HRESULT create_font_file | ( | IDWriteFontFileLoader * | loader, |
| const void * | reference_key, | ||
| UINT32 | key_size, | ||
| IDWriteFontFile ** | font_file | ||
| ) |
Definition at line 5400 of file font.c.
Referenced by dwritefactory_CreateCustomFontFileReference(), and dwritefactory_CreateFontFileReference().
| HRESULT create_font_resource | ( | IDWriteFactory7 * | factory, |
| IDWriteFontFile * | file, | ||
| UINT32 | face_index, | ||
| IDWriteFontResource ** | resource | ||
| ) |
Definition at line 7583 of file font.c.
Referenced by dwritefactory6_CreateFontResource().
| HRESULT create_fontface | ( | const struct fontface_desc * | desc, |
| struct list * | cached_list, | ||
| IDWriteFontFace5 ** | fontface | ||
| ) |
Definition at line 5473 of file font.c.
Referenced by dwritefactory_CreateFontFace(), and get_fontface_from_font().
| HRESULT create_fontfacereference | ( | IDWriteFactory7 * | factory, |
| IDWriteFontFile * | file, | ||
| UINT32 | face_index, | ||
| DWRITE_FONT_SIMULATIONS | simulations, | ||
| DWRITE_FONT_AXIS_VALUE const * | axis_values, | ||
| UINT32 | axis_values_count, | ||
| IDWriteFontFaceReference1 ** | reference | ||
| ) |
Definition at line 7082 of file font.c.
Referenced by dwritefactory3_CreateFontFaceReference(), dwritefactory3_CreateFontFaceReference_(), and dwritefactory6_CreateFontFaceReference().
| HRESULT create_fontfallback_builder | ( | IDWriteFactory7 * | factory, |
| IDWriteFontFallbackBuilder ** | builder | ||
| ) |
Definition at line 2929 of file analyzer.c.
Referenced by dwritefactory2_CreateFontFallbackBuilder().
| HRESULT create_fontset_builder | ( | IDWriteFactory7 * | factory, |
| IDWriteFontSetBuilder2 ** | ret | ||
| ) |
Definition at line 8391 of file font.c.
Referenced by create_system_fontset(), dwritefactory3_CreateFontSetBuilder(), dwritefactory5_CreateFontSetBuilder(), and dwritefactory6_CreateFontSetBuilder().
| HRESULT create_gdiinterop | ( | IDWriteFactory7 * | factory, |
| IDWriteGdiInterop1 ** | interop | ||
| ) |
Definition at line 1110 of file gdiinterop.c.
Referenced by dwritefactory_GetGdiInterop().
| HRESULT create_glyphrunanalysis | ( | const struct glyphrunanalysis_desc * | desc, |
| IDWriteGlyphRunAnalysis ** | ret | ||
| ) |
Definition at line 6410 of file font.c.
Referenced by dwritefactory_CreateGlyphRunAnalysis(), and factory_create_glyphrun_analysis().
| HRESULT create_inmemory_fileloader | ( | IDWriteInMemoryFontFileLoader ** | loader | ) |
Definition at line 7358 of file font.c.
Referenced by dwritefactory5_CreateInMemoryFontFileLoader().
| HRESULT create_localizedstrings | ( | IDWriteLocalizedStrings ** | strings | ) |
Definition at line 449 of file main.c.
Referenced by eudc_collection_add_family(), fontcollection_add_replacement(), init_font_data_from_font(), opentype_get_font_strings_from_id(), and opentype_get_font_strings_from_meta().
| HRESULT create_matching_font | ( | IDWriteFontCollection * | collection, |
| const WCHAR * | family, | ||
| DWRITE_FONT_WEIGHT | weight, | ||
| DWRITE_FONT_STYLE | style, | ||
| DWRITE_FONT_STRETCH | stretch, | ||
| REFIID | riid, | ||
| void ** | obj | ||
| ) |
Definition at line 2479 of file analyzer.c.
Referenced by fallback_map_characters(), fontfallback_MapCharacters(), and layout_run_get_last_resort_font().
| HRESULT create_numbersubstitution | ( | DWRITE_NUMBER_SUBSTITUTION_METHOD | method, |
| const WCHAR * | locale, | ||
| BOOL | ignore_user_override, | ||
| IDWriteNumberSubstitution ** | ret | ||
| ) |
Definition at line 2305 of file analyzer.c.
Referenced by dwritefactory_CreateNumberSubstitution().
| struct scriptshaping_cache * create_scriptshaping_cache | ( | void * | context, |
| const struct shaping_font_ops * | font_ops | ||
| ) |
Definition at line 43 of file shape.c.
Referenced by fontface_get_shaping_cache().
| HRESULT create_system_fontfallback | ( | IDWriteFactory7 * | factory, |
| IDWriteFontFallback1 ** | fallback | ||
| ) |
Definition at line 3029 of file analyzer.c.
Referenced by dwritefactory2_GetSystemFontFallback().
| HRESULT create_system_fontset | ( | IDWriteFactory7 * | factory, |
| REFIID | riid, | ||
| void ** | obj | ||
| ) |
Definition at line 1624 of file main.c.
Referenced by dwritefactory3_GetSystemFontSet(), dwritefactory6_GetSystemFontSet(), dwritefactory7_GetSystemFontSet(), and get_system_fontcollection().
| HRESULT create_text_format | ( | const WCHAR * | family_name, |
| IDWriteFontCollection * | collection, | ||
| DWRITE_FONT_WEIGHT | weight, | ||
| DWRITE_FONT_STYLE | style, | ||
| DWRITE_FONT_STRETCH | stretch, | ||
| float | size, | ||
| const WCHAR * | locale, | ||
| REFIID | riid, | ||
| void ** | out | ||
| ) |
Definition at line 714 of file format.c.
Referenced by dwritefactory6_CreateTextFormat(), and dwritefactory_CreateTextFormat().
| HRESULT create_textlayout | ( | const struct textlayout_desc * | desc, |
| IDWriteTextLayout ** | layout | ||
| ) |
Definition at line 5346 of file layout.c.
Referenced by dwritefactory_CreateGdiCompatibleTextLayout(), and dwritefactory_CreateTextLayout().
| HRESULT create_trimmingsign | ( | IDWriteFactory7 * | factory, |
| IDWriteTextFormat * | format, | ||
| IDWriteInlineObject ** | sign | ||
| ) |
Definition at line 891 of file format.c.
Referenced by dwritefactory_CreateEllipsisTrimmingSign().
| HRESULT create_typography | ( | IDWriteTypography ** | ret | ) |
Definition at line 5461 of file layout.c.
Referenced by dwritefactory_CreateTypography().
|
inlinestatic |
Definition at line 76 of file dwrite_private.h.
Referenced by dwritefontface2_GetRecommendedRenderingMode(), dwritefontface3_GetRecommendedRenderingMode(), dwritefontface_GetGdiCompatibleGlyphMetrics(), GdipCloneMatrix(), GdipDrawDriverString(), GdipGetLineTransform(), GdipGetMatrixElements(), GdipGetPathGradientTransform(), GdipGetPathWorldBounds(), GdipGetPathWorldBoundsI(), GdipGetPenTransform(), GdipGetRegionScansCount(), GdipGetTextureTransform(), GdipGetWorldTransform(), GdipInvertMatrix(), GdipIsMatrixEqual(), GdipIsMatrixIdentity(), GdipIsMatrixInvertible(), GdipMeasureDriverString(), GdipMultiplyLineTransform(), GdipMultiplyMatrix(), GdipMultiplyPathGradientTransform(), GdipMultiplyPenTransform(), GdipMultiplyTextureTransform(), GdipMultiplyWorldTransform(), GdipRotateMatrix(), GdipScaleMatrix(), GdipSetLineTransform(), GdipSetMatrixElements(), GdipSetPathGradientTransform(), GdipSetPenTransform(), GdipSetTextureTransform(), GdipSetWorldTransform(), GdipShearMatrix(), GdipTransformMatrixPoints(), GdipTransformMatrixPointsI(), GdipTransformPath(), GdipTransformRegion(), GdipTranslateMatrix(), GdipVectorTransformMatrixPoints(), GdipVectorTransformMatrixPointsI(), GdipWarpPath(), and GdipWidenPath().
|
inlinestatic |
Definition at line 71 of file dwrite_private.h.
Referenced by dwritetextlayout1_SetCharacterSpacing(), dwritetextlayout1_SetPairKerning(), dwritetextlayout4_SetFontAxisValues(), dwritetextlayout_SetDrawingEffect(), dwritetextlayout_SetFontCollection(), dwritetextlayout_SetFontFamilyName(), dwritetextlayout_SetFontSize(), dwritetextlayout_SetFontStretch(), dwritetextlayout_SetFontStyle(), dwritetextlayout_SetFontWeight(), dwritetextlayout_SetInlineObject(), dwritetextlayout_SetLocaleName(), dwritetextlayout_SetStrikethrough(), dwritetextlayout_SetTypography(), and dwritetextlayout_SetUnderline().
Definition at line 209 of file analyzer.c.
Referenced by dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(), dwritetextanalyzer_GetGlyphPlacements(), dwritetextanalyzer_GetGlyphs(), and dwritetextlayout_sink_SetScriptAnalysis().
|
inlinestatic |
Definition at line 83 of file dwrite_private.h.
Referenced by add_localizedstring(), clone_localizedstrings(), create_system_path_list(), dwritefontface_GetGlyphRunOutline(), dwritetypography_AddFontFeature(), fallback_locale_add_mapping(), fontcollection_add_family(), fontfallbackbuilder_AddMapping(), fontfamily_add_font(), fontset_builder_add_entry(), inmemoryfontfileloader_CreateInMemoryFontFileReference(), layout_set_line_metrics(), opentype_get_typographic_features(), opentype_layout_add_lookups(), and shape_add_feature_full().
| void dwrite_cmap_init | ( | struct dwrite_cmap * | cmap, |
| IDWriteFontFile * | file, | ||
| unsigned int | face_index, | ||
| DWRITE_FONT_FACE_TYPE | face_type | ||
| ) |
Definition at line 1818 of file opentype.c.
Referenced by dwritefont1_GetUnicodeRanges(), dwritefont_has_character(), dwritefontface1_GetUnicodeRanges(), and dwritefontface_get_glyph().
| void dwrite_cmap_release | ( | struct dwrite_cmap * | cmap | ) |
Definition at line 1932 of file opentype.c.
Referenced by dwritefontface_Release(), and release_font_data().
| void dwrite_fontface_get_glyph_bbox | ( | IDWriteFontFace * | fontface, |
| struct dwrite_glyphbitmap * | bitmap | ||
| ) |
Definition at line 158 of file font.c.
Referenced by glyphrunanalysis_get_texturebounds(), glyphrunanalysis_render(), and layout_get_erun_bbox().
|
inlinestatic |
Definition at line 129 of file dwrite_private.h.
Referenced by dwritefactory_CreateGlyphRunAnalysis(), and rendertarget_DrawGlyphRun().
| struct fontfacecached * factory_cache_fontface | ( | IDWriteFactory7 * | factory, |
| struct list * | fontfaces, | ||
| IDWriteFontFace5 * | fontface | ||
| ) |
Definition at line 1002 of file main.c.
Referenced by create_fontface().
| void factory_detach_fontcollection | ( | IDWriteFactory7 * | factory, |
| IDWriteFontCollection3 * | collection | ||
| ) |
Definition at line 2092 of file main.c.
Referenced by dwritefontcollection_Release().
| void factory_detach_gdiinterop | ( | IDWriteFactory7 * | factory, |
| IDWriteGdiInterop1 * | interop | ||
| ) |
Definition at line 2103 of file main.c.
Referenced by gdiinterop_Release().
| HRESULT factory_get_cached_fontface | ( | IDWriteFactory7 * | factory, |
| IDWriteFontFile *const * | files, | ||
| UINT32 | num_files, | ||
| DWRITE_FONT_SIMULATIONS | simulations, | ||
| struct list ** | cache, | ||
| REFIID | riid, | ||
| void ** | obj | ||
| ) |
Definition at line 926 of file main.c.
Referenced by dwritefactory_CreateFontFace(), and get_fontface_from_font().
| void factory_lock | ( | IDWriteFactory7 * | factory | ) |
| void factory_unlock | ( | IDWriteFactory7 * | factory | ) |
| void fontface_detach_from_cache | ( | IDWriteFontFace5 * | fontface | ) |
Definition at line 764 of file font.c.
Referenced by release_fontface_cache().
| float fontface_get_scaled_design_advance | ( | struct dwrite_fontface * | fontface, |
| DWRITE_MEASURING_MODE | measuring_mode, | ||
| float | emsize, | ||
| float | ppdip, | ||
| const DWRITE_MATRIX * | transform, | ||
| UINT16 | glyph, | ||
| BOOL | is_sideways | ||
| ) |
Definition at line 6384 of file font.c.
Referenced by compute_glyph_origins(), create_colorglyphenum(), dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(), and dwritetextanalyzer_GetGlyphPlacements().
| struct scriptshaping_cache * fontface_get_shaping_cache | ( | struct dwrite_fontface * | fontface | ) |
Definition at line 559 of file font.c.
Referenced by dwritetextanalyzer2_CheckTypographicFeature(), dwritetextanalyzer2_GetTypographicFeatures(), dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(), dwritetextanalyzer_GetGlyphPlacements(), dwritetextanalyzer_GetGlyphs(), opentype_get_vertical_glyph_variants(), and opentype_has_vertical_variants().
| HRESULT format_get_font_axisvalues | ( | struct dwrite_textformat_data * | format, |
| DWRITE_FONT_AXIS_VALUE * | axis_values, | ||
| unsigned int | num_values | ||
| ) |
Definition at line 159 of file format.c.
Referenced by dwritetextformat3_GetFontAxisValues(), and dwritetextformat3_layout_GetFontAxisValues().
| HRESULT format_get_fontfallback | ( | const struct dwrite_textformat_data * | format, |
| IDWriteFontFallback ** | fallback | ||
| ) |
Definition at line 176 of file format.c.
Referenced by dwritetextformat1_GetFontFallback(), and dwritetextlayout2_GetFontFallback().
| HRESULT format_set_flowdirection | ( | struct dwrite_textformat_data * | format, |
| DWRITE_FLOW_DIRECTION | direction, | ||
| BOOL * | changed | ||
| ) |
Definition at line 95 of file format.c.
Referenced by dwritetextformat_layout_SetFlowDirection(), and dwritetextformat_SetFlowDirection().
| HRESULT format_set_font_axisvalues | ( | struct dwrite_textformat_data * | format, |
| DWRITE_FONT_AXIS_VALUE const * | axis_values, | ||
| unsigned int | num_values | ||
| ) |
Definition at line 141 of file format.c.
Referenced by dwritetextformat3_layout_SetFontAxisValues(), and dwritetextformat3_SetFontAxisValues().
| HRESULT format_set_fontfallback | ( | struct dwrite_textformat_data * | format, |
| IDWriteFontFallback * | fallback | ||
| ) |
Definition at line 184 of file format.c.
Referenced by dwritetextformat1_SetFontFallback(), and dwritetextlayout2_SetFontFallback().
| HRESULT format_set_linespacing | ( | struct dwrite_textformat_data * | format, |
| DWRITE_LINE_SPACING const * | spacing, | ||
| BOOL * | changed | ||
| ) |
Definition at line 128 of file format.c.
Referenced by dwritetextformat2_SetLineSpacing(), dwritetextformat_SetLineSpacing(), and dwritetextlayout3_SetLineSpacing().
| HRESULT format_set_optical_alignment | ( | struct dwrite_textformat_data * | format, |
| DWRITE_OPTICAL_ALIGNMENT | alignment | ||
| ) |
Definition at line 194 of file format.c.
Referenced by dwritetextformat1_layout_SetOpticalAlignment(), and dwritetextformat1_SetOpticalAlignment().
| HRESULT format_set_paralignment | ( | struct dwrite_textformat_data * | format, |
| DWRITE_PARAGRAPH_ALIGNMENT | alignment, | ||
| BOOL * | changed | ||
| ) |
Definition at line 68 of file format.c.
Referenced by dwritetextformat_layout_SetParagraphAlignment(), and dwritetextformat_SetParagraphAlignment().
| HRESULT format_set_readingdirection | ( | struct dwrite_textformat_data * | format, |
| DWRITE_READING_DIRECTION | direction, | ||
| BOOL * | changed | ||
| ) |
Definition at line 77 of file format.c.
Referenced by dwritetextformat_layout_SetReadingDirection(), and dwritetextformat_SetReadingDirection().
| HRESULT format_set_textalignment | ( | struct dwrite_textformat_data * | format, |
| DWRITE_TEXT_ALIGNMENT | alignment, | ||
| BOOL * | changed | ||
| ) |
Definition at line 58 of file format.c.
Referenced by dwritetextformat_layout_SetTextAlignment(), and dwritetextformat_SetTextAlignment().
| HRESULT format_set_trimming | ( | struct dwrite_textformat_data * | format, |
| DWRITE_TRIMMING const * | trimming, | ||
| IDWriteInlineObject * | trimming_sign, | ||
| BOOL * | changed | ||
| ) |
Definition at line 104 of file format.c.
Referenced by dwritetextformat_layout_SetTrimming(), and dwritetextformat_SetTrimming().
| HRESULT format_set_vertical_orientation | ( | struct dwrite_textformat_data * | format, |
| DWRITE_VERTICAL_GLYPH_ORIENTATION | orientation, | ||
| BOOL * | changed | ||
| ) |
Definition at line 202 of file format.c.
Referenced by dwritetextformat1_SetVerticalGlyphOrientation(), and layout_set_vertical_orientation().
| HRESULT format_set_wordwrapping | ( | struct dwrite_textformat_data * | format, |
| DWRITE_WORD_WRAPPING | wrapping, | ||
| BOOL * | changed | ||
| ) |
Definition at line 86 of file format.c.
Referenced by dwritetextformat_layout_SetWordWrapping(), and dwritetextformat_SetWordWrapping().
| HRESULT get_eudc_fontcollection | ( | IDWriteFactory7 * | factory, |
| IDWriteFontCollection3 ** | collection | ||
| ) |
Definition at line 5223 of file font.c.
Referenced by dwritefactory1_GetEudcFontCollection().
| HRESULT get_family_names_from_stream | ( | IDWriteFontFileStream * | , |
| UINT32 | , | ||
| DWRITE_FONT_FACE_TYPE | , | ||
| IDWriteLocalizedStrings ** | |||
| ) |
| HRESULT get_filestream_from_file | ( | IDWriteFontFile * | file, |
| IDWriteFontFileStream ** | stream | ||
| ) |
Definition at line 3563 of file font.c.
Referenced by create_font_collection(), create_font_collection_from_set(), create_font_resource(), dwrite_cmap_init(), dwritefactory_CreateFontFace(), eudc_collection_add_family(), fontset_entry_get_property(), get_font_info_strings(), and get_fontface_from_font().
| const void * get_fontface_table | ( | IDWriteFontFace5 * | fontface, |
| UINT32 | tag, | ||
| struct dwrite_fonttable * | table | ||
| ) |
Definition at line 666 of file font.c.
Referenced by create_colorglyphenum(), get_fontface_cpal(), get_fontface_gasp(), get_fontface_vdmx(), opentype_get_cblc_formats(), and opentype_get_sbix_formats().
| HRESULT get_fontsig_from_font | ( | IDWriteFont * | iface, |
| FONTSIGNATURE * | fontsig | ||
| ) |
Definition at line 2566 of file font.c.
Referenced by gdiinterop1_GetFontSignature().
| HRESULT get_fontsig_from_fontface | ( | IDWriteFontFace * | iface, |
| FONTSIGNATURE * | fontsig | ||
| ) |
| IDWriteFontFileLoader * get_local_fontfile_loader | ( | void | ) |
Definition at line 6000 of file font.c.
Referenced by init_dwritefactory().
| HRESULT get_local_refkey | ( | const WCHAR * | path, |
| const FILETIME * | writetime, | ||
| void ** | key, | ||
| UINT32 * | size | ||
| ) |
Definition at line 6005 of file font.c.
Referenced by dwritefactory_CreateFontFileReference().
| unsigned int get_localizedstrings_count | ( | IDWriteLocalizedStrings * | strings | ) |
Definition at line 563 of file main.c.
Referenced by localizedstrings_GetCount(), and opentype_get_font_strings_from_id().
| void get_logfont_from_font | ( | IDWriteFont * | iface, |
| LOGFONTW * | lf | ||
| ) |
Definition at line 2554 of file font.c.
Referenced by gdiinterop_ConvertFontToLOGFONT().
| void get_logfont_from_fontface | ( | IDWriteFontFace * | iface, |
| LOGFONTW * | lf | ||
| ) |
Definition at line 2560 of file font.c.
Referenced by gdiinterop_ConvertFontFaceToLOGFONT().
| HRESULT get_system_fontcollection | ( | IDWriteFactory7 * | factory, |
| DWRITE_FONT_FAMILY_MODEL | family_model, | ||
| IDWriteFontCollection ** | collection | ||
| ) |
Definition at line 5109 of file font.c.
Referenced by factory_get_system_collection().
Definition at line 113 of file dwrite_private.h.
Referenced by bidi_compute_bracket_pairs(), computeBracketPairs(), ContextualShape_Arabic(), ContextualShape_Syriac(), mirror_char(), unicode_get_mirrored_char(), and unicode_lex().
Definition at line 118 of file dwrite_private.h.
Referenced by analyze_linebreaks(), arabic_get_joining_type(), BREAK_line(), classify(), get_char_bidi_class(), get_char_script(), and lb_is_newline_char().
| IDWriteTextAnalyzer2 * get_text_analyzer | ( | void | ) |
Definition at line 2241 of file analyzer.c.
Referenced by dwritefactory_CreateTextAnalyzer(), layout_compute(), layout_itemize(), and layout_shape_run().
Definition at line 54 of file dwrite_private.h.
Referenced by init_textlayout(), and opentype_decode_namerecord().
Definition at line 5991 of file font.c.
Referenced by DllMain().
| BOOL is_face_type_supported | ( | DWRITE_FONT_FACE_TYPE | type | ) |
Definition at line 1337 of file opentype.c.
Referenced by dwritefactory_CreateFontFace(), and opentype_analyze_font().
|
inlinestatic |
Definition at line 123 of file dwrite_private.h.
Referenced by create_fontfacereference(), and dwritefactory_CreateFontFace().
| BOOL is_system_collection | ( | IDWriteFontCollection * | collection | ) |
Definition at line 3201 of file font.c.
Referenced by gdiinterop_ConvertFontToLOGFONT().
Definition at line 851 of file analyzer.c.
Referenced by init_cluster_metrics(), and layout_add_line().
| BOOL localizedstrings_contains | ( | IDWriteLocalizedStrings * | strings, |
| const WCHAR * | str | ||
| ) |
Definition at line 569 of file main.c.
Referenced by fontset_entry_is_matching().
| DWRITE_CONTAINER_TYPE opentype_analyze_container_type | ( | void const * | data, |
| UINT32 | data_size | ||
| ) |
Definition at line 3217 of file opentype.c.
Referenced by dwritefactory5_AnalyzeContainerType().
| HRESULT opentype_analyze_font | ( | IDWriteFontFileStream * | stream, |
| BOOL * | supported, | ||
| DWRITE_FONT_FILE_TYPE * | file_type, | ||
| DWRITE_FONT_FACE_TYPE * | face_type, | ||
| UINT32 * | face_count | ||
| ) |
Definition at line 1492 of file opentype.c.
Referenced by create_font_collection(), dwritefactory_CreateFontFace(), dwritefontfile_Analyze(), and eudc_collection_add_family().
Definition at line 1792 of file opentype.c.
Referenced by dwritefont_has_character(), and dwritefontface_get_glyph().
| HRESULT opentype_cmap_get_unicode_ranges | ( | const struct dwrite_cmap * | cmap, |
| unsigned int | max_count, | ||
| DWRITE_UNICODE_RANGE * | ranges, | ||
| unsigned int * | count | ||
| ) |
Definition at line 1943 of file opentype.c.
Referenced by dwritefont1_GetUnicodeRanges(), and dwritefontface1_GetUnicodeRanges().
| void opentype_colr_next_glyph | ( | const struct dwrite_fonttable * | table, |
| struct dwrite_colorglyph * | color_glyph | ||
| ) |
Definition at line 3041 of file opentype.c.
Referenced by colorglyphenum_build_color_run().
| HRESULT opentype_get_colr_glyph | ( | const struct dwrite_fonttable * | table, |
| UINT16 | glyph, | ||
| struct dwrite_colorglyph * | color_glyph | ||
| ) |
Definition at line 3000 of file opentype.c.
Referenced by create_colorglyphenum().
| HRESULT opentype_get_cpal_entries | ( | const struct dwrite_fonttable * | table, |
| unsigned int | palette, | ||
| unsigned int | first_entry_index, | ||
| unsigned int | entry_count, | ||
| DWRITE_COLOR_F * | entries | ||
| ) |
Definition at line 2937 of file opentype.c.
Referenced by dwritefontface2_GetPaletteEntries().
| unsigned int opentype_get_cpal_palettecount | ( | const struct dwrite_fonttable * | table | ) |
Definition at line 2927 of file opentype.c.
Referenced by dwritefontface2_GetColorPaletteCount().
| unsigned int opentype_get_cpal_paletteentrycount | ( | const struct dwrite_fonttable * | table | ) |
Definition at line 2932 of file opentype.c.
Referenced by dwritefontface2_GetPaletteEntryCount().
| HRESULT opentype_get_font_facename | ( | struct file_stream_desc * | stream_desc, |
| WCHAR * | lfname, | ||
| IDWriteLocalizedStrings ** | names | ||
| ) |
Definition at line 2690 of file opentype.c.
Referenced by init_font_data().
| HRESULT opentype_get_font_familyname | ( | const struct file_stream_desc * | desc, |
| DWRITE_FONT_FAMILY_MODEL | family_model, | ||
| IDWriteLocalizedStrings ** | names | ||
| ) |
Definition at line 2629 of file opentype.c.
Referenced by init_font_data().
| HRESULT opentype_get_font_info_strings | ( | const struct file_stream_desc * | stream_desc, |
| DWRITE_INFORMATIONAL_STRING_ID | id, | ||
| IDWriteLocalizedStrings ** | strings | ||
| ) |
Definition at line 2608 of file opentype.c.
Referenced by fontset_entry_get_property(), and get_font_info_strings().
| void opentype_get_font_metrics | ( | struct file_stream_desc * | stream_desc, |
| DWRITE_FONT_METRICS1 * | metrics, | ||
| DWRITE_CARET_METRICS * | caret | ||
| ) |
Definition at line 1973 of file opentype.c.
Referenced by create_fontface(), and init_font_data().
| void opentype_get_font_properties | ( | const struct file_stream_desc * | stream_desc, |
| struct dwrite_font_props * | props | ||
| ) |
Definition at line 2090 of file opentype.c.
Referenced by init_font_data(), and opentype_get_font_var_axis().
| void opentype_get_font_typo_metrics | ( | struct file_stream_desc * | stream_desc, |
| unsigned int * | ascent, | ||
| unsigned int * | descent | ||
| ) |
Definition at line 1954 of file opentype.c.
Referenced by create_fontface().
| HRESULT opentype_get_font_var_axis | ( | const struct file_stream_desc * | stream_desc, |
| struct dwrite_var_axis ** | axis, | ||
| unsigned int * | axis_count | ||
| ) |
Definition at line 6693 of file opentype.c.
Referenced by create_font_resource().
Definition at line 2895 of file opentype.c.
Referenced by dwritefontface2_GetRecommendedRenderingMode(), dwritefontface3_GetRecommendedRenderingMode(), and dwritefontface_GetRecommendedRenderingMode().
| UINT32 opentype_get_glyph_image_formats | ( | IDWriteFontFace5 * | fontface | ) |
Definition at line 3191 of file opentype.c.
Referenced by create_fontface().
| HRESULT opentype_get_kerning_pairs | ( | struct dwrite_fontface * | fontface, |
| unsigned int | count, | ||
| const UINT16 * | glyphs, | ||
| INT32 * | values | ||
| ) |
Definition at line 6624 of file opentype.c.
Referenced by dwritefontface1_GetKerningPairAdjustments().
| void opentype_get_typographic_features | ( | struct ot_gsubgpos_table * | table, |
| unsigned int | script_index, | ||
| unsigned int | language_index, | ||
| struct tag_array * | tags | ||
| ) |
Definition at line 2789 of file opentype.c.
Referenced by shape_get_typographic_features().
| BOOL opentype_get_vdmx_size | ( | const struct dwrite_fonttable * | table, |
| INT | ppem, | ||
| UINT16 * | ascent, | ||
| UINT16 * | descent | ||
| ) |
Definition at line 2846 of file opentype.c.
Referenced by dwritefontface1_GetGdiCompatibleMetrics().
| HRESULT opentype_get_vertical_glyph_variants | ( | struct dwrite_fontface * | fontface, |
| unsigned int | glyph_count, | ||
| const UINT16 * | nominal_glyphs, | ||
| UINT16 * | glyphs | ||
| ) |
Definition at line 6498 of file opentype.c.
Referenced by dwritefontface1_GetVerticalGlyphVariants().
| BOOL opentype_has_kerning_pairs | ( | struct dwrite_fontface * | fontface | ) |
Definition at line 6555 of file opentype.c.
Referenced by dwritefontface1_HasKerningPairs(), and opentype_get_kerning_pairs().
| BOOL opentype_has_vertical_variants | ( | struct dwrite_fontface * | fontface | ) |
Definition at line 6436 of file opentype.c.
Referenced by dwritefontface1_HasVerticalGlyphVariants(), and opentype_get_vertical_glyph_variants().
| void opentype_layout_apply_gpos_features | ( | struct scriptshaping_context * | context, |
| unsigned int | script_index, | ||
| unsigned int | language_index, | ||
| struct shaping_features * | features | ||
| ) |
Definition at line 4932 of file opentype.c.
Referenced by shape_get_positions().
| void opentype_layout_apply_gsub_features | ( | struct scriptshaping_context * | context, |
| unsigned int | script_index, | ||
| unsigned int | language_index, | ||
| struct shaping_features * | features | ||
| ) |
Definition at line 6116 of file opentype.c.
Referenced by shape_get_glyphs().
| BOOL opentype_layout_check_feature | ( | struct scriptshaping_context * | context, |
| unsigned int | script_index, | ||
| unsigned int | language_index, | ||
| struct shaping_feature * | feature, | ||
| unsigned int | glyph_count, | ||
| const UINT16 * | glyphs, | ||
| UINT8 * | feature_applies | ||
| ) |
Definition at line 6391 of file opentype.c.
Referenced by shape_check_typographic_feature().
| unsigned int opentype_layout_find_language | ( | const struct scriptshaping_cache * | cache, |
| unsigned int | kind, | ||
| DWORD | tag, | ||
| unsigned int | script_index, | ||
| unsigned int * | language_index | ||
| ) |
Definition at line 3309 of file opentype.c.
Referenced by shape_select_language().
| unsigned int opentype_layout_find_script | ( | const struct scriptshaping_cache * | cache, |
| unsigned int | kind, | ||
| DWORD | tag, | ||
| unsigned int * | script_index | ||
| ) |
Definition at line 3279 of file opentype.c.
Referenced by shape_select_script().
| void opentype_layout_scriptshaping_cache_init | ( | struct scriptshaping_cache * | cache | ) |
Definition at line 3238 of file opentype.c.
Referenced by create_scriptshaping_cache().
| void opentype_layout_unsafe_to_break | ( | struct scriptshaping_context * | context, |
| unsigned int | start, | ||
| unsigned int | end | ||
| ) |
Definition at line 5233 of file opentype.c.
Referenced by arabic_setup_masks(), and opentype_layout_apply_ligature().
| HRESULT opentype_try_get_font_table | ( | const struct file_stream_desc * | stream_desc, |
| UINT32 | tag, | ||
| const void ** | data, | ||
| void ** | context, | ||
| UINT32 * | size, | ||
| BOOL * | exists | ||
| ) |
Definition at line 1528 of file opentype.c.
Referenced by dwritefontface_TryGetFontTable(), and opentype_get_font_table().
| void release_format_data | ( | struct dwrite_textformat_data * | data | ) |
Definition at line 40 of file format.c.
Referenced by dwritetextformat_Release(), and dwritetextlayout_Release().
| void release_scriptshaping_cache | ( | struct scriptshaping_cache * | cache | ) |
Definition at line 59 of file shape.c.
Referenced by dwritefontface_Release().
Definition at line 3024 of file analyzer.c.
Referenced by DllMain().
| void release_system_fontfallback | ( | IDWriteFontFallback1 * | fallback | ) |
Definition at line 2575 of file analyzer.c.
Referenced by release_dwritefactory().
| void set_en_localizedstring | ( | IDWriteLocalizedStrings * | iface, |
| const WCHAR * | string | ||
| ) |
Definition at line 533 of file main.c.
Referenced by init_font_data().
| void shape_add_feature_full | ( | struct shaping_features * | features, |
| unsigned int | tag, | ||
| unsigned int | flags, | ||
| unsigned int | value | ||
| ) |
Definition at line 117 of file shape.c.
Referenced by arabic_collect_features(), shape_add_feature(), shape_enable_feature(), shape_get_glyphs(), shape_get_positions(), and shape_merge_features().
| HRESULT shape_check_typographic_feature | ( | struct scriptshaping_context * | context, |
| const unsigned int * | scripts, | ||
| unsigned int | tag, | ||
| unsigned int | glyph_count, | ||
| const UINT16 * | glyphs, | ||
| UINT8 * | feature_applies | ||
| ) |
Definition at line 415 of file shape.c.
Referenced by dwritetextanalyzer2_CheckTypographicFeature().
| void shape_enable_feature | ( | struct shaping_features * | features, |
| unsigned int | tag, | ||
| unsigned int | flags | ||
| ) |
Definition at line 138 of file shape.c.
Referenced by arabic_collect_features(), and shape_get_glyphs().
| unsigned int shape_get_feature_1_mask | ( | const struct shaping_features * | features, |
| unsigned int | tag | ||
| ) |
Definition at line 4822 of file opentype.c.
Referenced by arabic_setup_masks().
Definition at line 308 of file shape.c.
Referenced by dwritetextanalyzer_GetGlyphs().
| HRESULT shape_get_positions | ( | struct scriptshaping_context * | context, |
| const unsigned int * | scripts | ||
| ) |
Definition at line 233 of file shape.c.
Referenced by dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(), and dwritetextanalyzer_GetGlyphPlacements().
| HRESULT shape_get_typographic_features | ( | struct scriptshaping_context * | context, |
| const unsigned int * | scripts, | ||
| unsigned int | max_tagcount, | ||
| unsigned int * | actual_tagcount, | ||
| DWRITE_FONT_FEATURE_TAG * | tags | ||
| ) |
Definition at line 375 of file shape.c.
Referenced by dwritetextanalyzer2_GetTypographicFeatures().
| void shape_start_next_stage | ( | struct shaping_features * | features, |
| stage_func | func | ||
| ) |
Definition at line 144 of file shape.c.
Referenced by arabic_collect_features().
| void sort_localizedstrings | ( | IDWriteLocalizedStrings * | iface | ) |
Definition at line 556 of file main.c.
Referenced by opentype_get_font_strings_from_id().
| struct dwrite_fontface * unsafe_impl_from_IDWriteFontFace | ( | IDWriteFontFace * | iface | ) |
Definition at line 2536 of file font.c.
Referenced by compute_glyph_origins(), create_colorglyphenum(), dwrite_fontface_get_glyph_bbox(), dwritefontface5_Equals(), dwritetextanalyzer1_GetBaseline(), dwritetextanalyzer2_CheckTypographicFeature(), dwritetextanalyzer2_GetTypographicFeatures(), dwritetextanalyzer_GetGdiCompatibleGlyphPlacements(), dwritetextanalyzer_GetGlyphPlacements(), dwritetextanalyzer_GetGlyphs(), get_fontsig_from_fontface(), get_logfont_from_fontface(), and glyphrunanalysis_render().
| struct dwrite_textformat * unsafe_impl_from_IDWriteTextFormat | ( | IDWriteTextFormat * | iface | ) |
Definition at line 185 of file arabic.c.
Referenced by shape_set_shaper().
|
static |
Definition at line 41 of file dwrite_private.h.
Referenced by dwritefactory_CreateGlyphRunAnalysis().
|
static |
Definition at line 48 of file dwrite_private.h.
Referenced by dwrite_fontface_get_glyph_bbox(), and dwrite_fontface_get_glyph_bitmap().