|
ReactOS 0.4.17-dev-934-g091855f
|
#include <stdint.h>#include "dwrite_private.h"#include "pshpack2.h"#include "poppack.h"#include "pshpack1.h"
Go to the source code of this file.
Macros | |
| #define | COBJMACROS |
| #define | MS_HEAD_TAG DWRITE_MAKE_OPENTYPE_TAG('h','e','a','d') |
| #define | MS_HHEA_TAG DWRITE_MAKE_OPENTYPE_TAG('h','h','e','a') |
| #define | MS_OTTO_TAG DWRITE_MAKE_OPENTYPE_TAG('O','T','T','O') |
| #define | MS_OS2_TAG DWRITE_MAKE_OPENTYPE_TAG('O','S','/','2') |
| #define | MS_POST_TAG DWRITE_MAKE_OPENTYPE_TAG('p','o','s','t') |
| #define | MS_TTCF_TAG DWRITE_MAKE_OPENTYPE_TAG('t','t','c','f') |
| #define | MS_GDEF_TAG DWRITE_MAKE_OPENTYPE_TAG('G','D','E','F') |
| #define | MS_NAME_TAG DWRITE_MAKE_OPENTYPE_TAG('n','a','m','e') |
| #define | MS_GLYF_TAG DWRITE_MAKE_OPENTYPE_TAG('g','l','y','f') |
| #define | MS_CFF__TAG DWRITE_MAKE_OPENTYPE_TAG('C','F','F',' ') |
| #define | MS_CFF2_TAG DWRITE_MAKE_OPENTYPE_TAG('C','F','F','2') |
| #define | MS_CPAL_TAG DWRITE_MAKE_OPENTYPE_TAG('C','P','A','L') |
| #define | MS_COLR_TAG DWRITE_MAKE_OPENTYPE_TAG('C','O','L','R') |
| #define | MS_SVG__TAG DWRITE_MAKE_OPENTYPE_TAG('S','V','G',' ') |
| #define | MS_SBIX_TAG DWRITE_MAKE_OPENTYPE_TAG('s','b','i','x') |
| #define | MS_MAXP_TAG DWRITE_MAKE_OPENTYPE_TAG('m','a','x','p') |
| #define | MS_CBLC_TAG DWRITE_MAKE_OPENTYPE_TAG('C','B','L','C') |
| #define | MS_CMAP_TAG DWRITE_MAKE_OPENTYPE_TAG('c','m','a','p') |
| #define | MS_META_TAG DWRITE_MAKE_OPENTYPE_TAG('m','e','t','a') |
| #define | MS_KERN_TAG DWRITE_MAKE_OPENTYPE_TAG('k','e','r','n') |
| #define | MS_FVAR_TAG DWRITE_MAKE_OPENTYPE_TAG('f','v','a','r') |
| #define | MS_PNG__TAG DWRITE_MAKE_OPENTYPE_TAG('p','n','g',' ') |
| #define | MS_JPG__TAG DWRITE_MAKE_OPENTYPE_TAG('j','p','g',' ') |
| #define | MS_TIFF_TAG DWRITE_MAKE_OPENTYPE_TAG('t','i','f','f') |
| #define | MS_WOFF_TAG DWRITE_MAKE_OPENTYPE_TAG('w','O','F','F') |
| #define | MS_WOF2_TAG DWRITE_MAKE_OPENTYPE_TAG('w','O','F','2') |
| #define | MS_DLNG_TAG DWRITE_MAKE_OPENTYPE_TAG('d','l','n','g') |
| #define | MS_SLNG_TAG DWRITE_MAKE_OPENTYPE_TAG('s','l','n','g') |
| #define | GET_BE_WORD(x) RtlUshortByteSwap(x) |
| #define | GET_BE_DWORD(x) RtlUlongByteSwap(x) |
| #define | GET_BE_FIXED(x) ((int32_t)GET_BE_DWORD(x) / 65536.0f) |
| #define | GLYPH_CONTEXT_MAX_LENGTH 64 |
| #define | SHAPE_MAX_NESTING_LEVEL 6 |
| #define | GLYPH_NOT_COVERED (~0u) |
Typedefs | |
| typedef HRESULT(* | dwrite_fontfile_analyzer) (IDWriteFontFileStream *stream, UINT32 *font_count, DWRITE_FONT_FILE_TYPE *file_type, DWRITE_FONT_FACE_TYPE *face_type) |
| typedef BOOL(* | p_match_func) (UINT16 glyph, UINT16 glyph_data, const struct match_data *match_data) |
| typedef BOOL(* | p_lookup_is_glyph_covered_func) (struct scriptshaping_context *context, UINT16 glyph, const struct lookup *lookup) |
Variables | |
| static const char | name_mac_langid_to_locale [][10] |
| static const UINT16 | dwriteid_to_opentypeid [DWRITE_INFORMATIONAL_STRING_WEIGHT_STRETCH_STYLE_FAMILY_NAME+1] |
| #define COBJMACROS |
Definition at line 21 of file opentype.c.
| #define GET_BE_DWORD | ( | x | ) | RtlUlongByteSwap(x) |
Definition at line 68 of file opentype.c.
| #define GET_BE_FIXED | ( | x | ) | ((int32_t)GET_BE_DWORD(x) / 65536.0f) |
Definition at line 69 of file opentype.c.
| #define GET_BE_WORD | ( | x | ) | RtlUshortByteSwap(x) |
Definition at line 67 of file opentype.c.
| #define GLYPH_CONTEXT_MAX_LENGTH 64 |
Definition at line 72 of file opentype.c.
| #define GLYPH_NOT_COVERED (~0u) |
Definition at line 668 of file opentype.c.
Definition at line 44 of file opentype.c.
Definition at line 38 of file opentype.c.
Definition at line 37 of file opentype.c.
Definition at line 45 of file opentype.c.
Definition at line 40 of file opentype.c.
Definition at line 39 of file opentype.c.
Definition at line 59 of file opentype.c.
Definition at line 48 of file opentype.c.
Definition at line 34 of file opentype.c.
Definition at line 36 of file opentype.c.
Definition at line 28 of file opentype.c.
Definition at line 29 of file opentype.c.
Definition at line 52 of file opentype.c.
Definition at line 47 of file opentype.c.
Definition at line 43 of file opentype.c.
Definition at line 46 of file opentype.c.
Definition at line 35 of file opentype.c.
Definition at line 31 of file opentype.c.
Definition at line 30 of file opentype.c.
Definition at line 51 of file opentype.c.
Definition at line 32 of file opentype.c.
Definition at line 42 of file opentype.c.
Definition at line 60 of file opentype.c.
Definition at line 41 of file opentype.c.
Definition at line 53 of file opentype.c.
Definition at line 33 of file opentype.c.
Definition at line 56 of file opentype.c.
Definition at line 55 of file opentype.c.
| #define SHAPE_MAX_NESTING_LEVEL 6 |
Definition at line 73 of file opentype.c.
| typedef HRESULT(* dwrite_fontfile_analyzer) (IDWriteFontFileStream *stream, UINT32 *font_count, DWRITE_FONT_FILE_TYPE *file_type, DWRITE_FONT_FACE_TYPE *face_type) |
Definition at line 1345 of file opentype.c.
| typedef BOOL(* p_lookup_is_glyph_covered_func) (struct scriptshaping_context *context, UINT16 glyph, const struct lookup *lookup) |
Definition at line 6389 of file opentype.c.
| typedef BOOL(* p_match_func) (UINT16 glyph, UINT16 glyph_data, const struct match_data *match_data) |
Definition at line 3700 of file opentype.c.
| Enumerator | |
|---|---|
| GLYPH_ATTACH_NONE | |
| GLYPH_ATTACH_MARK | |
| GLYPH_ATTACH_CURSIVE | |
Definition at line 506 of file opentype.c.
| Enumerator | |
|---|---|
| GLYPH_PROP_BASE | |
| GLYPH_PROP_LIGATURE | |
| GLYPH_PROP_MARK | |
| GLYPH_PROP_ZWNJ | |
| GLYPH_PROP_ZWJ | |
| GLYPH_PROP_IGNORABLE | |
| GLYPH_PROP_HIDDEN | |
| GLYPH_PROP_MARK_ATTACH_CLASS_MASK | |
| GLYPH_PROP_ATTACH_TYPE_MASK | |
Definition at line 513 of file opentype.c.
Definition at line 528 of file opentype.c.
Definition at line 553 of file opentype.c.
| Enumerator | |
|---|---|
| LOOKUP_FLAG_RTL | |
| LOOKUP_FLAG_IGNORE_BASE | |
| LOOKUP_FLAG_IGNORE_LIGATURES | |
| LOOKUP_FLAG_IGNORE_MARKS | |
| LOOKUP_FLAG_IGNORE_MASK | |
| LOOKUP_FLAG_USE_MARK_FILTERING_SET | |
| LOOKUP_FLAG_MARK_ATTACHMENT_TYPE | |
Definition at line 493 of file opentype.c.
Definition at line 541 of file opentype.c.
| Enumerator | |
|---|---|
| ITER_NO | |
| ITER_YES | |
| ITER_MAYBE | |
Definition at line 3685 of file opentype.c.
| Enumerator | |
|---|---|
| OPENTYPE_CMAP_TABLE_ENCODING_SYMBOL | |
| OPENTYPE_CMAP_TABLE_ENCODING_UNICODE_BMP | |
| OPENTYPE_CMAP_TABLE_ENCODING_UNICODE_FULL | |
Definition at line 126 of file opentype.c.
| Enumerator | |
|---|---|
| OPENTYPE_CMAP_TABLE_SEGMENT_MAPPING | |
| OPENTYPE_CMAP_TABLE_SEGMENTED_COVERAGE | |
Definition at line 115 of file opentype.c.
| Enumerator | |
|---|---|
| OPENTYPE_CMAP_TABLE_PLATFORM_WIN | |
Definition at line 121 of file opentype.c.
| Enumerator | |
|---|---|
| OPENTYPE_PLATFORM_UNICODE | |
| OPENTYPE_PLATFORM_MAC | |
| OPENTYPE_PLATFORM_ISO | |
| OPENTYPE_PLATFORM_WIN | |
| OPENTYPE_PLATFORM_CUSTOM | |
Definition at line 565 of file opentype.c.
Definition at line 1175 of file opentype.c.
Definition at line 328 of file opentype.c.
| Enumerator | |
|---|---|
| GDEF_CLASS_UNCLASSIFIED | |
| GDEF_CLASS_BASE | |
| GDEF_CLASS_LIGATURE | |
| GDEF_CLASS_MARK | |
| GDEF_CLASS_COMPONENT | |
| GDEF_CLASS_MAX | |
Definition at line 434 of file opentype.c.
| Enumerator | |
|---|---|
| TT_HEAD_MACSTYLE_BOLD | |
| TT_HEAD_MACSTYLE_ITALIC | |
| TT_HEAD_MACSTYLE_UNDERLINE | |
| TT_HEAD_MACSTYLE_OUTLINE | |
| TT_HEAD_MACSTYLE_SHADOW | |
| TT_HEAD_MACSTYLE_CONDENSED | |
| TT_HEAD_MACSTYLE_EXTENDED | |
Definition at line 157 of file opentype.c.
Definition at line 861 of file opentype.c.
Definition at line 898 of file opentype.c.
Definition at line 846 of file opentype.c.
Definition at line 1725 of file opentype.c.
Referenced by opentype_cmap_format12_get_glyph(), and opentype_cmap_format13_get_glyph().
Definition at line 1640 of file opentype.c.
Referenced by opentype_cmap_format4_get_glyph().
Definition at line 1803 of file opentype.c.
Referenced by dwrite_cmap_init().
Definition at line 2986 of file opentype.c.
Referenced by opentype_get_colr_glyph().
Definition at line 3453 of file opentype.c.
Referenced by opentype_layout_is_glyph_covered().
Definition at line 3466 of file opentype.c.
Referenced by opentype_layout_is_glyph_covered().
| 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().
Definition at line 3523 of file opentype.c.
Referenced by opentype_layout_apply_gpos_pair_adjustment(), and opentype_layout_apply_gpos_single_adjustment().
Definition at line 4801 of file opentype.c.
Referenced by shaping_features_get_mask().
|
static |
Definition at line 2820 of file opentype.c.
Referenced by opentype_get_vdmx_size().
Definition at line 3344 of file opentype.c.
Referenced by opentype_layout_get_glyph_class().
|
static |
Definition at line 2235 of file opentype.c.
Referenced by opentype_decode_namerecord().
|
static |
Definition at line 2314 of file opentype.c.
Referenced by opentype_decode_namerecord().
|
static |
Definition at line 3726 of file opentype.c.
Referenced by opentype_layout_apply_gpos_cursive_attachment(), opentype_layout_apply_gpos_mark_to_base_attachment(), opentype_layout_apply_gpos_mark_to_lig_attachment(), opentype_layout_apply_gpos_mark_to_mark_attachment(), opentype_layout_apply_gpos_pair_adjustment(), opentype_layout_context_match_backtrack(), opentype_layout_context_match_input(), and opentype_layout_context_match_lookahead().
|
static |
Definition at line 3831 of file opentype.c.
Referenced by glyph_iterator_next(), and glyph_iterator_prev().
|
static |
Definition at line 3814 of file opentype.c.
Referenced by glyph_iterator_next(), and glyph_iterator_prev().
|
static |
Definition at line 3844 of file opentype.c.
Referenced by opentype_layout_apply_gpos_pair_adjustment(), opentype_layout_context_match_input(), and opentype_layout_context_match_lookahead().
|
static |
Definition at line 3872 of file opentype.c.
Referenced by opentype_layout_apply_gpos_cursive_attachment(), opentype_layout_apply_gpos_mark_to_base_attachment(), opentype_layout_apply_gpos_mark_to_lig_attachment(), opentype_layout_apply_gpos_mark_to_mark_attachment(), and opentype_layout_context_match_backtrack().
Definition at line 3952 of file opentype.c.
Referenced by opentype_layout_apply_gpos_pair_adjustment().
| 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().
Definition at line 6612 of file opentype.c.
Referenced by opentype_get_kerning_pairs().
|
static |
Definition at line 3794 of file opentype.c.
Referenced by glyph_iterator_may_skip(), opentype_get_vertical_glyph_variants(), opentype_layout_apply_gpos_features(), opentype_layout_apply_gsub_features(), and opentype_layout_check_feature().
Definition at line 4542 of file opentype.c.
Referenced by opentype_layout_collect_lookups().
Definition at line 2503 of file opentype.c.
Referenced by opentype_get_font_strings_from_meta().
| 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().
|
static |
Definition at line 1781 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
Definition at line 1786 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
|
static |
Definition at line 1622 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
Definition at line 1752 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
Definition at line 1739 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
Definition at line 1769 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
Definition at line 1656 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
Definition at line 1690 of file opentype.c.
Referenced by dwrite_cmap_init().
|
static |
|
static |
Definition at line 1713 of file opentype.c.
Referenced by dwrite_cmap_init().
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 * | colr, |
| struct dwrite_colorglyph * | glyph | ||
| ) |
Definition at line 3041 of file opentype.c.
Referenced by colorglyphenum_build_color_run().
|
static |
Definition at line 2361 of file opentype.c.
Referenced by opentype_get_font_strings_from_id().
|
static |
Definition at line 6684 of file opentype.c.
Referenced by opentype_get_font_var_axis().
|
static |
Definition at line 3154 of file opentype.c.
Referenced by opentype_get_glyph_image_formats().
| HRESULT opentype_get_colr_glyph | ( | const struct dwrite_fonttable * | colr, |
| UINT16 | glyph, | ||
| struct dwrite_colorglyph * | ret | ||
| ) |
Definition at line 3000 of file opentype.c.
Referenced by create_colorglyphenum().
| HRESULT opentype_get_cpal_entries | ( | const struct dwrite_fonttable * | cpal, |
| 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 * | cpal | ) |
Definition at line 2927 of file opentype.c.
Referenced by dwritefontface2_GetColorPaletteCount().
| unsigned int opentype_get_cpal_paletteentrycount | ( | const struct dwrite_fonttable * | cpal | ) |
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 * | stream_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().
|
static |
Definition at line 2420 of file opentype.c.
Referenced by opentype_get_font_facename(), opentype_get_font_familyname(), and opentype_get_font_info_strings().
|
static |
Definition at line 2518 of file opentype.c.
Referenced by opentype_get_font_info_strings().
|
static |
Definition at line 1606 of file opentype.c.
Referenced by dwrite_cmap_init(), opentype_get_font_facename(), opentype_get_font_familyname(), opentype_get_font_info_strings(), opentype_get_font_metrics(), opentype_get_font_properties(), opentype_get_font_strings_from_meta(), opentype_get_font_typo_metrics(), opentype_get_font_var_axis(), and opentype_has_kerning_pairs().
| 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().
|
static |
Definition at line 4156 of file opentype.c.
Referenced by opentype_propagate_attachment_offsets(), and opentype_reverse_cursive_offset().
| 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().
|
static |
Definition at line 2755 of file opentype.c.
Referenced by opentype_get_typographic_features().
|
static |
Definition at line 6017 of file opentype.c.
Referenced by opentype_layout_apply_gsub_features().
|
static |
Definition at line 3082 of file opentype.c.
Referenced by opentype_get_glyph_image_formats().
| void opentype_get_typographic_features | ( | struct ot_gsubgpos_table * | table, |
| unsigned int | script_index, | ||
| unsigned int | language_index, | ||
| struct tag_array * | t | ||
| ) |
Definition at line 2789 of file opentype.c.
Referenced by shape_get_typographic_features().
| BOOL opentype_get_vdmx_size | ( | const struct dwrite_fonttable * | vdmx, |
| INT | emsize, | ||
| 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().
|
static |
Definition at line 3064 of file opentype.c.
Referenced by opentype_get_glyph_image_formats().
| 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().
Definition at line 5989 of file opentype.c.
Referenced by opentype_get_nominal_glyphs().
Definition at line 6007 of file opentype.c.
Referenced by opentype_get_nominal_glyphs().
|
static |
Definition at line 2350 of file opentype.c.
Referenced by opentype_get_font_strings_from_id().
|
static |
Definition at line 6101 of file opentype.c.
Referenced by opentype_layout_apply_gsub_features().
Definition at line 5955 of file opentype.c.
Referenced by opentype_get_nominal_glyphs().
|
static |
Definition at line 4595 of file opentype.c.
Referenced by opentype_layout_collect_lookups().
|
static |
Definition at line 5708 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup(), and opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 5498 of file opentype.c.
Referenced by opentype_layout_apply_chain_context(), and opentype_layout_apply_chain_rule_set().
|
static |
Definition at line 5511 of file opentype.c.
Referenced by opentype_layout_apply_chain_context().
|
static |
Definition at line 5607 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup(), and opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 5558 of file opentype.c.
Referenced by opentype_layout_apply_context(), and opentype_layout_apply_rule_set().
|
static |
Definition at line 4880 of file opentype.c.
Referenced by opentype_layout_apply_gpos_features().
|
static |
Definition at line 4186 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup().
| 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().
|
static |
Definition at line 4486 of file opentype.c.
Referenced by opentype_layout_apply_gpos_context_lookup(), and opentype_layout_apply_gpos_features().
|
static |
Definition at line 4333 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup().
|
static |
Definition at line 4386 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup().
|
static |
Definition at line 4438 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup().
|
static |
Definition at line 3959 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup().
|
static |
Definition at line 3900 of file opentype.c.
Referenced by opentype_layout_apply_gpos_lookup().
|
static |
Definition at line 3574 of file opentype.c.
Referenced by opentype_layout_apply_gpos_pair_adjustment(), and opentype_layout_apply_gpos_single_adjustment().
|
static |
Definition at line 5153 of file opentype.c.
Referenced by opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 6109 of file opentype.c.
Referenced by opentype_layout_apply_gsub_features().
| 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().
|
static |
Definition at line 5333 of file opentype.c.
Referenced by opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 5891 of file opentype.c.
Referenced by opentype_get_vertical_glyph_variants(), opentype_layout_apply_gsub_context_lookup(), and opentype_layout_apply_gsub_features().
|
static |
Definition at line 5059 of file opentype.c.
Referenced by opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 5826 of file opentype.c.
Referenced by opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 4990 of file opentype.c.
Referenced by opentype_layout_apply_gsub_lookup().
|
static |
Definition at line 5274 of file opentype.c.
Referenced by opentype_layout_apply_gsub_lig_substitution().
|
static |
Definition at line 4285 of file opentype.c.
Referenced by opentype_layout_apply_gpos_mark_to_base_attachment(), opentype_layout_apply_gpos_mark_to_lig_attachment(), and opentype_layout_apply_gpos_mark_to_mark_attachment().
|
static |
Definition at line 5569 of file opentype.c.
Referenced by opentype_layout_apply_context().
|
static |
Definition at line 6230 of file opentype.c.
Referenced by opentype_layout_gpos_lookup_is_glyph_covered(), and opentype_layout_gsub_lookup_is_glyph_covered().
| 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().
|
static |
Definition at line 4631 of file opentype.c.
Referenced by opentype_get_vertical_glyph_variants(), opentype_has_vertical_variants(), opentype_layout_apply_gpos_features(), opentype_layout_apply_gsub_features(), and opentype_layout_check_feature().
|
static |
Definition at line 5428 of file opentype.c.
Referenced by opentype_layout_apply_chain_context_match(), and opentype_layout_apply_context_match().
|
static |
Definition at line 5376 of file opentype.c.
Referenced by opentype_layout_apply_chain_context_match(), and opentype_layout_apply_gsub_reverse_chain_context_substitution().
|
static |
Definition at line 5200 of file opentype.c.
Referenced by opentype_layout_apply_chain_context_match(), opentype_layout_apply_context_match(), and opentype_layout_apply_ligature().
|
static |
Definition at line 5402 of file opentype.c.
Referenced by opentype_layout_apply_chain_context_match(), and opentype_layout_apply_gsub_reverse_chain_context_substitution().
|
static |
Definition at line 6205 of file opentype.c.
Referenced by opentype_layout_gpos_lookup_is_glyph_covered(), and opentype_layout_gsub_lookup_is_glyph_covered().
|
static |
Definition at line 5256 of file opentype.c.
Referenced by opentype_layout_apply_ligature().
| unsigned int opentype_layout_find_language | ( | const struct scriptshaping_cache * | cache, |
| unsigned int | kind, | ||
| DWORD | language, | ||
| 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 | script, | ||
| unsigned int * | script_index | ||
| ) |
Definition at line 3279 of file opentype.c.
Referenced by shape_select_script().
|
static |
Definition at line 3357 of file opentype.c.
Referenced by opentype_layout_apply_chain_context(), opentype_layout_apply_context(), opentype_layout_apply_gpos_pair_adjustment(), opentype_match_class_func(), and opentype_set_glyph_props().
|
static |
Definition at line 4828 of file opentype.c.
Referenced by opentype_layout_set_glyph_masks().
|
static |
Definition at line 3647 of file opentype.c.
Referenced by opentype_has_vertical_variants(), opentype_is_gsub_lookup_reversed(), opentype_layout_apply_gpos_lookup(), opentype_layout_apply_gsub_lookup(), opentype_layout_gpos_lookup_is_glyph_covered(), and opentype_layout_gsub_lookup_is_glyph_covered().
|
static |
Definition at line 4094 of file opentype.c.
Referenced by opentype_layout_apply_gpos_cursive_attachment(), and opentype_layout_apply_mark_array().
|
static |
Definition at line 3539 of file opentype.c.
Referenced by opentype_layout_apply_gpos_value(), and opentype_layout_gpos_get_anchor().
|
static |
Definition at line 6323 of file opentype.c.
Referenced by opentype_layout_check_feature().
|
static |
Definition at line 5033 of file opentype.c.
Referenced by opentype_layout_apply_gsub_mult_substitution().
|
static |
Definition at line 6259 of file opentype.c.
Referenced by opentype_layout_check_feature().
|
static |
Definition at line 4549 of file opentype.c.
Referenced by opentype_layout_add_lookups(), opentype_layout_apply_gpos_context_lookup(), and opentype_layout_apply_gsub_context_lookup().
|
static |
Definition at line 3479 of file opentype.c.
Referenced by opentype_layout_apply_chain_context(), opentype_layout_apply_context(), opentype_layout_apply_gpos_cursive_attachment(), opentype_layout_apply_gpos_mark_to_base_attachment(), opentype_layout_apply_gpos_mark_to_lig_attachment(), opentype_layout_apply_gpos_mark_to_mark_attachment(), opentype_layout_apply_gpos_pair_adjustment(), opentype_layout_apply_gpos_single_adjustment(), opentype_layout_apply_gsub_alt_substitution(), opentype_layout_apply_gsub_lig_substitution(), opentype_layout_apply_gsub_mult_substitution(), opentype_layout_apply_gsub_reverse_chain_context_substitution(), opentype_layout_apply_gsub_single_substitution(), opentype_layout_chain_contextual_lookup_is_glyph_covered(), opentype_layout_contextual_lookup_is_glyph_covered(), opentype_layout_gpos_lookup_is_glyph_covered(), opentype_layout_gsub_lookup_is_glyph_covered(), opentype_layout_mark_set_covers(), and opentype_match_coverage_func().
|
static |
Definition at line 3642 of file opentype.c.
Referenced by glyph_iterator_init(), and opentype_layout_get_gsubgpos_subtable().
|
static |
Definition at line 3637 of file opentype.c.
Referenced by opentype_layout_check_feature(), opentype_layout_get_gsubgpos_subtable(), and opentype_layout_set_glyph_masks().
|
static |
Definition at line 3768 of file opentype.c.
Referenced by lookup_is_glyph_match().
|
static |
Definition at line 4980 of file opentype.c.
Referenced by opentype_layout_apply_gsub_alt_substitution(), opentype_layout_apply_gsub_mult_substitution(), opentype_layout_apply_gsub_reverse_chain_context_substitution(), opentype_layout_apply_gsub_single_substitution(), and opentype_layout_apply_ligature().
| void opentype_layout_scriptshaping_cache_init | ( | struct scriptshaping_cache * | cache | ) |
Definition at line 3238 of file opentype.c.
Referenced by create_scriptshaping_cache().
|
static |
Definition at line 4838 of file opentype.c.
Referenced by opentype_get_vertical_glyph_variants(), opentype_layout_apply_gpos_features(), and opentype_layout_apply_gsub_features().
| 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().
|
static |
Definition at line 3754 of file opentype.c.
Referenced by opentype_layout_apply_chain_context(), and opentype_layout_apply_context().
|
static |
Definition at line 3761 of file opentype.c.
Referenced by opentype_layout_apply_chain_context(), opentype_layout_apply_context(), and opentype_layout_apply_gsub_reverse_chain_context_substitution().
|
static |
Definition at line 3749 of file opentype.c.
Referenced by opentype_layout_apply_chain_context(), opentype_layout_apply_context(), and opentype_layout_apply_ligature().
|
static |
Definition at line 1393 of file opentype.c.
Referenced by opentype_analyze_font().
|
static |
Definition at line 4887 of file opentype.c.
Referenced by opentype_layout_apply_gpos_features(), and opentype_propagate_attachment_offsets().
|
static |
Definition at line 4161 of file opentype.c.
Referenced by opentype_layout_apply_gpos_cursive_attachment(), and opentype_reverse_cursive_offset().
Definition at line 3534 of file opentype.c.
Referenced by opentype_layout_apply_gpos_value(), and opentype_layout_gpos_get_anchor().
|
static |
Definition at line 4149 of file opentype.c.
Referenced by opentype_layout_apply_gpos_cursive_attachment(), opentype_layout_apply_mark_array(), and opentype_reverse_cursive_offset().
|
static |
Definition at line 3402 of file opentype.c.
Referenced by opentype_layout_apply_gpos_features(), opentype_layout_check_feature(), and opentype_set_subst_glyph_props().
|
static |
Definition at line 3439 of file opentype.c.
Referenced by opentype_get_nominal_glyphs(), opentype_layout_apply_gsub_mult_substitution(), and opentype_layout_replace_glyph().
| HRESULT opentype_try_get_font_table | ( | const struct file_stream_desc * | stream_desc, |
| UINT32 | tag, | ||
| const void ** | table_data, | ||
| void ** | table_context, | ||
| UINT32 * | table_size, | ||
| BOOL * | found | ||
| ) |
Definition at line 1528 of file opentype.c.
Referenced by dwritefontface_TryGetFontTable(), and opentype_get_font_table().
|
static |
Definition at line 1348 of file opentype.c.
Referenced by opentype_analyze_font().
|
static |
Definition at line 1371 of file opentype.c.
Referenced by opentype_analyze_font().
|
static |
Definition at line 1415 of file opentype.c.
Referenced by opentype_analyze_font().
| unsigned int shape_get_feature_1_mask | ( | const struct shaping_features * | features, |
| unsigned int | tag | ||
| ) |
|
static |
Definition at line 4809 of file opentype.c.
Referenced by opentype_get_nominal_glyphs(), opentype_layout_set_glyph_masks(), and shape_get_feature_1_mask().
|
static |
Definition at line 4374 of file opentype.c.
Referenced by opentype_layout_apply_gpos_mark_to_lig_attachment(), opentype_layout_apply_gsub_alt_substitution(), opentype_layout_apply_gsub_lig_substitution(), opentype_layout_apply_gsub_mult_substitution(), and opentype_layout_apply_gsub_single_substitution().
|
static |
Definition at line 1320 of file opentype.c.
Referenced by dwrite_cmap_init(), opentype_get_cblc_formats(), opentype_get_font_properties(), opentype_get_font_strings_from_meta(), opentype_get_sbix_formats(), opentype_layout_mark_set_covers(), opentype_layout_scriptshaping_cache_init(), and table_read_be_fixed().
|
static |
Definition at line 1326 of file opentype.c.
Referenced by opentype_get_font_properties().
|
static |
Definition at line 1314 of file opentype.c.
Referenced by dwrite_cmap_init(), opentype_decode_namerecord(), opentype_get_cpal_palettecount(), opentype_get_cpal_paletteentrycount(), opentype_get_font_facename(), opentype_get_font_familyname(), opentype_get_font_metrics(), opentype_get_font_properties(), opentype_get_font_strings_from_id(), opentype_get_font_typo_metrics(), opentype_get_gasp_flags(), opentype_get_kerning_pairs(), opentype_get_langsys(), opentype_get_sbix_formats(), opentype_get_typographic_features(), opentype_get_vdmx_size(), opentype_has_vertical_variants(), opentype_layout_add_lookups(), opentype_layout_apply_chain_context(), opentype_layout_apply_chain_rule_set(), opentype_layout_apply_context(), opentype_layout_apply_gpos_cursive_attachment(), opentype_layout_apply_gpos_mark_to_base_attachment(), opentype_layout_apply_gpos_mark_to_lig_attachment(), opentype_layout_apply_gpos_mark_to_mark_attachment(), opentype_layout_apply_gpos_pair_adjustment(), opentype_layout_apply_gpos_single_adjustment(), opentype_layout_apply_gsub_alt_substitution(), opentype_layout_apply_gsub_lig_substitution(), opentype_layout_apply_gsub_mult_substitution(), opentype_layout_apply_gsub_reverse_chain_context_substitution(), opentype_layout_apply_gsub_single_substitution(), opentype_layout_apply_ligature(), opentype_layout_apply_mark_array(), opentype_layout_apply_rule_set(), opentype_layout_chain_contextual_lookup_is_glyph_covered(), opentype_layout_collect_lookups(), opentype_layout_contextual_lookup_is_glyph_covered(), opentype_layout_find_language(), opentype_layout_find_script(), opentype_layout_get_glyph_class(), opentype_layout_get_gsubgpos_subtable(), opentype_layout_gpos_get_anchor(), opentype_layout_gpos_get_dev_value(), opentype_layout_gpos_lookup_is_glyph_covered(), opentype_layout_gsub_lookup_is_glyph_covered(), opentype_layout_init_lookup(), opentype_layout_is_glyph_covered(), opentype_layout_mark_set_covers(), opentype_layout_scriptshaping_cache_init(), and table_read_array_be_word().
Definition at line 1331 of file opentype.c.
Referenced by opentype_get_font_properties(), opentype_layout_find_language(), and opentype_layout_find_script().
|
static |
Definition at line 1306 of file opentype.c.
Referenced by dwrite_cmap_init(), opentype_colr_next_glyph(), opentype_decode_namerecord(), opentype_get_cblc_formats(), opentype_get_colr_glyph(), opentype_get_cpal_entries(), opentype_get_font_properties(), opentype_get_font_strings_from_id(), opentype_get_font_strings_from_meta(), opentype_get_font_var_axis(), opentype_get_gasp_flags(), opentype_get_kerning_pairs(), opentype_get_langsys(), opentype_get_sbix_formats(), opentype_get_typographic_features(), opentype_get_vdmx_size(), opentype_has_kerning_pairs(), opentype_layout_apply_chain_context(), opentype_layout_apply_chain_rule_set(), opentype_layout_apply_context(), opentype_layout_apply_gpos_mark_to_base_attachment(), opentype_layout_apply_gpos_mark_to_lig_attachment(), opentype_layout_apply_gpos_mark_to_mark_attachment(), opentype_layout_apply_gpos_pair_adjustment(), opentype_layout_apply_gpos_single_adjustment(), opentype_layout_apply_gsub_alt_substitution(), opentype_layout_apply_gsub_lig_substitution(), opentype_layout_apply_gsub_reverse_chain_context_substitution(), opentype_layout_apply_ligature(), opentype_layout_apply_mark_array(), opentype_layout_apply_rule_set(), opentype_layout_chain_contextual_lookup_is_glyph_covered(), opentype_layout_collect_lookups(), opentype_layout_contextual_lookup_is_glyph_covered(), opentype_layout_get_glyph_class(), opentype_layout_get_gsubgpos_subtable(), opentype_layout_gpos_get_anchor(), opentype_layout_init_lookup(), opentype_layout_is_glyph_covered(), table_read_array_be_word(), table_read_be_dword(), table_read_be_word(), and table_read_dword().
Definition at line 5937 of file opentype.c.
Referenced by opentype_get_nominal_glyphs().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | dwrite | ) |
|
static |
Definition at line 1202 of file opentype.c.
Referenced by opentype_get_font_info_strings().
Definition at line 1021 of file opentype.c.
Referenced by get_name_record_locale().