ReactOS 0.4.16-dev-747-gbc52d5f
|
#include "wine/list.h"
Go to the source code of this file.
Classes | |
struct | LoadedFeature |
struct | LoadedLanguage |
struct | LoadedScript |
struct | CacheGlyphPage |
struct | ScriptCache |
struct | _scriptData |
struct | IndicSyllable |
Macros | |
#define | MS_MAKE_TAG(_x1, _x2, _x3, _x4) |
#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 | NUM_PAGES 17 |
#define | GSUB_E_NOFEATURE -20 |
#define | GSUB_E_NOGLYPH -10 |
#define | FEATURE_ALL_TABLES 0 |
#define | FEATURE_GSUB_TABLE 1 |
#define | FEATURE_GPOS_TABLE 2 |
#define | odd(x) ((x) & 1) |
#define | BIDI_STRONG 1 |
#define | BIDI_WEAK 2 |
#define | BIDI_NEUTRAL 0 |
Typedefs | |
typedef struct _scriptData | scriptData |
typedef int(* | lexical_function) (WCHAR c) |
typedef void(* | reorder_function) (WCHAR *chars, IndicSyllable *syllable, lexical_function lex) |
#define BIDI_NEUTRAL 0 |
Definition at line 249 of file usp10_internal.h.
#define BIDI_STRONG 1 |
Definition at line 247 of file usp10_internal.h.
#define BIDI_WEAK 2 |
Definition at line 248 of file usp10_internal.h.
#define FEATURE_ALL_TABLES 0 |
Definition at line 141 of file usp10_internal.h.
#define FEATURE_GPOS_TABLE 2 |
Definition at line 143 of file usp10_internal.h.
#define FEATURE_GSUB_TABLE 1 |
Definition at line 142 of file usp10_internal.h.
#define GLYPH_BLOCK_MASK (GLYPH_BLOCK_SIZE - 1) |
Definition at line 133 of file usp10_internal.h.
#define GLYPH_BLOCK_SHIFT 8 |
Definition at line 131 of file usp10_internal.h.
#define GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT) |
Definition at line 132 of file usp10_internal.h.
#define GLYPH_MAX 65536 |
Definition at line 134 of file usp10_internal.h.
#define GSUB_E_NOFEATURE -20 |
Definition at line 138 of file usp10_internal.h.
#define GSUB_E_NOGLYPH -10 |
Definition at line 139 of file usp10_internal.h.
#define MS_MAKE_TAG | ( | _x1, | |
_x2, | |||
_x3, | |||
_x4 | |||
) |
#define NUM_PAGES 17 |
Definition at line 136 of file usp10_internal.h.
Definition at line 243 of file usp10_internal.h.
typedef void(* reorder_function) (WCHAR *chars, IndicSyllable *syllable, lexical_function lex) |
Definition at line 244 of file usp10_internal.h.
typedef struct _scriptData scriptData |
anonymous enum |
Definition at line 231 of file usp10_internal.h.
Enumerator | |
---|---|
USP10_LANGUAGE_TABLE_GSUB | |
USP10_LANGUAGE_TABLE_GPOS | |
USP10_LANGUAGE_TABLE_COUNT |
Definition at line 153 of file usp10_internal.h.
Definition at line 32 of file usp10_internal.h.
Enumerator | |
---|---|
USP10_SCRIPT_TABLE_GSUB | |
USP10_SCRIPT_TABLE_GPOS | |
USP10_SCRIPT_TABLE_COUNT |
Definition at line 169 of file usp10_internal.h.
BOOL BIDI_DetermineLevels | ( | const WCHAR * | string, |
unsigned int | count, | ||
const SCRIPT_STATE * | s, | ||
const SCRIPT_CONTROL * | c, | ||
WORD * | levels, | ||
WORD * | overrides | ||
) |
Definition at line 1088 of file bidi.c.
Referenced by _ItemizeInternal().
BOOL BIDI_GetStrengths | ( | const WCHAR * | string, |
unsigned int | count, | ||
const SCRIPT_CONTROL * | c, | ||
WORD * | strength | ||
) |
Definition at line 1249 of file bidi.c.
Referenced by _ItemizeInternal().
Definition at line 1215 of file bidi.c.
Referenced by BIDI_ReorderL2vLevel(), and ScriptLayout().
Definition at line 1188 of file bidi.c.
Referenced by BIDI_ReorderV2lLevel(), and ScriptLayout().
void BREAK_line | ( | const WCHAR * | chars, |
int | count, | ||
const SCRIPT_ANALYSIS * | sa, | ||
SCRIPT_LOGATTR * | la | ||
) |
Definition at line 77 of file breaking.c.
Referenced by ScriptBreak().
Definition at line 238 of file usp10_internal.h.
void Indic_ParseSyllables | ( | HDC | hdc, |
SCRIPT_ANALYSIS * | psa, | ||
ScriptCache * | psc, | ||
const WCHAR * | input, | ||
unsigned int | cChar, | ||
IndicSyllable ** | syllables, | ||
int * | syllable_count, | ||
lexical_function | lex, | ||
BOOL | modern | ||
) |
Definition at line 324 of file indic.c.
Referenced by Indic_ReorderCharacters(), and ShapeCharGlyphProp_BaseIndic().
void Indic_ReorderCharacters | ( | HDC | hdc, |
SCRIPT_ANALYSIS * | psa, | ||
ScriptCache * | psc, | ||
WCHAR * | input, | ||
unsigned int | cChars, | ||
IndicSyllable ** | syllables, | ||
int * | syllable_count, | ||
lexical_function | lexical_f, | ||
reorder_function | reorder_f, | ||
BOOL | modern | ||
) |
Definition at line 373 of file indic.c.
Referenced by ContextualShape_Bengali(), ContextualShape_Devanagari(), ContextualShape_Gujarati(), ContextualShape_Gurmukhi(), ContextualShape_Kannada(), ContextualShape_Khmer(), ContextualShape_Malayalam(), ContextualShape_Oriya(), ContextualShape_Sinhala(), ContextualShape_Tamil(), and ContextualShape_Telugu().
Definition at line 233 of file usp10_internal.h.
Referenced by consonant_header(), Consonant_is_below_base_form(), Consonant_is_post_base_form(), Consonant_is_pre_base_form(), find_consonant_halant(), find_halant_consonant(), FindBaseConsonant(), parse_consonant_syllable(), and parse_vowel_syllable().
unsigned int OpenType_apply_GPOS_lookup | ( | const ScriptCache * | psc, |
const OUTLINETEXTMETRICW * | otm, | ||
const LOGFONTW * | logfont, | ||
const SCRIPT_ANALYSIS * | analysis, | ||
int * | advance, | ||
unsigned int | lookup_index, | ||
const WORD * | glyphs, | ||
unsigned int | glyph_index, | ||
unsigned int | glyph_count, | ||
GOFFSET * | goffset | ||
) |
Definition at line 2557 of file opentype.c.
Referenced by GPOS_apply_feature().
int OpenType_apply_GSUB_lookup | ( | const void * | table, |
unsigned int | lookup_index, | ||
WORD * | glyphs, | ||
unsigned int | glyph_index, | ||
int | write_dir, | ||
int * | glyph_count | ||
) |
Definition at line 1540 of file opentype.c.
Referenced by apply_GSUB_feature(), and GSUB_apply_feature_all_lookups().
DWORD OpenType_CMAP_GetGlyphIndex | ( | HDC | hdc, |
ScriptCache * | psc, | ||
DWORD | utf32c, | ||
LPWORD | pgi, | ||
DWORD | flags | ||
) |
void OpenType_GDEF_UpdateGlyphProps | ( | ScriptCache * | psc, |
const WORD * | pwGlyphs, | ||
const WORD | cGlyphs, | ||
WORD * | pwLogClust, | ||
const WORD | cChars, | ||
SCRIPT_GLYPHPROP * | pGlyphProp | ||
) |
Definition at line 751 of file opentype.c.
Referenced by ShapeCharGlyphProp_Arabic(), ShapeCharGlyphProp_BaseIndic(), ShapeCharGlyphProp_Default(), ShapeCharGlyphProp_Hebrew(), ShapeCharGlyphProp_None(), ShapeCharGlyphProp_Thai(), and ShapeCharGlyphProp_Tibet().
HRESULT OpenType_GetFontFeatureTags | ( | ScriptCache * | psc, |
OPENTYPE_TAG | script_tag, | ||
OPENTYPE_TAG | language_tag, | ||
BOOL | filtered, | ||
OPENTYPE_TAG | searchingFor, | ||
char | tableType, | ||
int | cMaxTags, | ||
OPENTYPE_TAG * | pFeatureTags, | ||
int * | pcTags, | ||
LoadedFeature ** | feature | ||
) |
Definition at line 2872 of file opentype.c.
Referenced by load_OT_feature(), and SHAPE_GetFontFeatureTags().
HRESULT OpenType_GetFontLanguageTags | ( | ScriptCache * | psc, |
OPENTYPE_TAG | script_tag, | ||
OPENTYPE_TAG | searchingFor, | ||
int | cMaxTags, | ||
OPENTYPE_TAG * | pLanguageTags, | ||
int * | pcTags | ||
) |
Definition at line 2761 of file opentype.c.
Referenced by SHAPE_GetFontLanguageTags().
HRESULT OpenType_GetFontScriptTags | ( | ScriptCache * | psc, |
OPENTYPE_TAG | searchingFor, | ||
int | cMaxTags, | ||
OPENTYPE_TAG * | pScriptTags, | ||
int * | pcTags | ||
) |
Definition at line 2647 of file opentype.c.
Referenced by get_GSUB_Indic2(), and SHAPE_GetFontScriptTags().
void SHAPE_ApplyDefaultOpentypeFeatures | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
WORD * | pwOutGlyphs, | ||
INT * | pcGlyphs, | ||
INT | cMaxGlyphs, | ||
INT | cChars, | ||
WORD * | pwLogClust | ||
) |
Definition at line 3421 of file shape.c.
Referenced by ScriptShapeOpenType().
void SHAPE_ApplyOpenTypePositions | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
const WORD * | pwGlyphs, | ||
INT | cGlyphs, | ||
int * | piAdvance, | ||
GOFFSET * | pGoffset | ||
) |
Definition at line 3429 of file shape.c.
Referenced by ScriptPlaceOpenType().
void SHAPE_CharGlyphProp | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
const WCHAR * | pwcChars, | ||
const INT | cChars, | ||
const WORD * | pwGlyphs, | ||
const INT | cGlyphs, | ||
WORD * | pwLogClust, | ||
SCRIPT_CHARPROP * | pCharProp, | ||
SCRIPT_GLYPHPROP * | pGlyphProp | ||
) |
Definition at line 3378 of file shape.c.
Referenced by ScriptShapeOpenType().
HRESULT SHAPE_CheckFontForRequiredFeatures | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa | ||
) |
Definition at line 3454 of file shape.c.
Referenced by requires_fallback(), and ScriptShapeOpenType().
void SHAPE_ContextualShaping | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
WCHAR * | pwcChars, | ||
INT | cChars, | ||
WORD * | pwOutGlyphs, | ||
INT * | pcGlyphs, | ||
INT | cMaxGlyphs, | ||
WORD * | pwLogClust | ||
) |
Definition at line 3388 of file shape.c.
Referenced by ScriptShapeOpenType().
INT SHAPE_does_GSUB_feature_apply_to_chars | ( | HDC | hdc, |
SCRIPT_ANALYSIS * | psa, | ||
ScriptCache * | psc, | ||
const WCHAR * | chars, | ||
INT | write_dir, | ||
INT | count, | ||
const char * | feature | ||
) |
HRESULT SHAPE_GetFontFeatureTags | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
OPENTYPE_TAG | tagScript, | ||
OPENTYPE_TAG | tagLangSys, | ||
int | cMaxTags, | ||
OPENTYPE_TAG * | pFeatureTags, | ||
int * | pcTags | ||
) |
Definition at line 3523 of file shape.c.
Referenced by ScriptGetFontFeatureTags().
HRESULT SHAPE_GetFontLanguageTags | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
OPENTYPE_TAG | tagScript, | ||
int | cMaxTags, | ||
OPENTYPE_TAG * | pLangSysTags, | ||
int * | pcTags | ||
) |
Definition at line 3495 of file shape.c.
Referenced by ScriptGetFontLanguageTags().
HRESULT SHAPE_GetFontScriptTags | ( | HDC | hdc, |
ScriptCache * | psc, | ||
SCRIPT_ANALYSIS * | psa, | ||
int | cMaxTags, | ||
OPENTYPE_TAG * | pScriptTags, | ||
int * | pcTags | ||
) |
Definition at line 3477 of file shape.c.
Referenced by ScriptGetFontScriptTags().
Definition at line 730 of file usp10.c.
Referenced by computeBracketPairs(), usp10_language_add_feature_list(), usp10_script_add_language(), and usp10_script_cache_add_script().
Definition at line 1044 of file usp10.c.
Referenced by does_glyph_start_cluster(), OpenType_GDEF_UpdateGlyphProps(), ShapeCharGlyphProp_Arabic(), ShapeCharGlyphProp_BaseIndic(), ShapeCharGlyphProp_Default(), ShapeCharGlyphProp_Hebrew(), ShapeCharGlyphProp_None(), ShapeCharGlyphProp_Thai(), ShapeCharGlyphProp_Tibet(), and UpdateClusters().