ReactOS 0.4.16-dev-751-g45ed1a9
|
#include <stdarg.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "winnls.h"
#include "usp10.h"
#include "winternl.h"
#include "usp10_internal.h"
#include "wine/debug.h"
#include "wine/heap.h"
Go to the source code of this file.
Classes | |
struct | tagVowelComponents |
struct | tagConsonantComponents |
struct | ScriptShapeDataTag |
Macros | |
#define | FIRST_ARABIC_CHAR 0x0600 |
#define | LAST_ARABIC_CHAR 0x06ff |
#define | ALAPH 0x710 |
#define | DALATH 0x715 |
#define | RISH 0x72A |
#define | phags_pa_CANDRABINDU 0xA873 |
#define | phags_pa_START 0xA840 |
#define | phags_pa_END 0xA87F |
Typedefs | |
typedef VOID(* | ContextualShapingProc) (HDC, ScriptCache *, SCRIPT_ANALYSIS *, WCHAR *, INT, WORD *, INT *, INT, WORD *) |
typedef VOID(* | ShapeCharGlyphPropProc) (HDC, ScriptCache *, SCRIPT_ANALYSIS *, const WCHAR *, const INT, const WORD *, const INT, WORD *, SCRIPT_CHARPROP *, SCRIPT_GLYPHPROP *) |
typedef struct tagVowelComponents | VowelComponents |
typedef struct tagConsonantComponents | ConsonantComponents |
typedef void(* | second_reorder_function) (const WCHAR *chars, const IndicSyllable *syllable, WORD *glyphs, const IndicSyllable *glyph_index, lexical_function lex) |
typedef int(* | combining_lexical_function) (WCHAR c) |
typedef struct ScriptShapeDataTag | ScriptShapeData |
Enumerations | |
enum | joining_types { jtU , jtT , jtR , jtL , jtD , jtC } |
enum | joined_forms { Xn =0 , Xr , Xl , Xm , Afj , Afn , Afx } |
typedef VOID(* ContextualShapingProc) (HDC, ScriptCache *, SCRIPT_ANALYSIS *, WCHAR *, INT, WORD *, INT *, INT, WORD *) |
typedef struct ScriptShapeDataTag ScriptShapeData |
typedef void(* second_reorder_function) (const WCHAR *chars, const IndicSyllable *syllable, WORD *glyphs, const IndicSyllable *glyph_index, lexical_function lex) |
typedef VOID(* ShapeCharGlyphPropProc) (HDC, ScriptCache *, SCRIPT_ANALYSIS *, const WCHAR *, const INT, const WORD *, const INT, WORD *, SCRIPT_CHARPROP *, SCRIPT_GLYPHPROP *) |
typedef struct tagVowelComponents VowelComponents |
|
static |
Definition at line 823 of file shape.c.
Referenced by SHAPE_ApplyOpenTypeFeatures().
|
static |
Definition at line 654 of file shape.c.
Referenced by Apply_Indic_PostBase(), Apply_Indic_PreBase(), Apply_Indic_Rphf(), ContextualShape_Arabic(), ContextualShape_Bengali(), ContextualShape_Mongolian(), ContextualShape_Phags_pa(), ContextualShape_Syriac(), and SHAPE_does_GSUB_feature_apply_to_chars().
|
static |
Definition at line 1993 of file shape.c.
Referenced by ShapeIndicSyllables().
|
static |
Definition at line 2081 of file shape.c.
Referenced by ShapeIndicSyllables().
|
static |
Definition at line 2027 of file shape.c.
Referenced by ShapeIndicSyllables().
|
static |
Definition at line 2052 of file shape.c.
Referenced by ShapeIndicSyllables().
Definition at line 2382 of file shape.c.
Referenced by ContextualShape_Bengali(), and ShapeCharGlyphProp_Bengali().
Definition at line 1007 of file shape.c.
Referenced by ContextualShape_Arabic().
Definition at line 1178 of file shape.c.
Referenced by ContextualShape_Hebrew().
Definition at line 1607 of file shape.c.
Referenced by ContextualShape_Lao().
Definition at line 1257 of file shape.c.
Referenced by ContextualShape_Syriac().
Definition at line 1426 of file shape.c.
Referenced by ContextualShape_Thaana().
Definition at line 1562 of file shape.c.
Referenced by ContextualShape_Thai().
|
static |
Definition at line 1693 of file shape.c.
Referenced by ContextualShape_Bengali(), ContextualShape_Devanagari(), ContextualShape_Gurmukhi(), ContextualShape_Oriya(), and ContextualShape_Tamil().
|
static |
Definition at line 1055 of file shape.c.
|
static |
Definition at line 2404 of file shape.c.
|
static |
|
static |
Definition at line 2348 of file shape.c.
|
static |
Definition at line 2512 of file shape.c.
|
static |
Definition at line 2468 of file shape.c.
|
static |
Definition at line 1235 of file shape.c.
|
static |
Definition at line 2715 of file shape.c.
|
static |
Definition at line 2799 of file shape.c.
|
static |
Definition at line 1633 of file shape.c.
|
static |
Definition at line 2760 of file shape.c.
|
static |
Definition at line 2833 of file shape.c.
|
static |
Definition at line 2563 of file shape.c.
|
static |
Definition at line 1472 of file shape.c.
|
static |
Definition at line 2281 of file shape.c.
|
static |
Definition at line 1309 of file shape.c.
|
static |
Definition at line 2613 of file shape.c.
|
static |
Definition at line 2663 of file shape.c.
|
static |
Definition at line 1446 of file shape.c.
|
static |
Definition at line 1589 of file shape.c.
|
static |
Definition at line 1671 of file shape.c.
Referenced by ContextualShape_Bengali(), ContextualShape_Kannada(), ContextualShape_Malayalam(), ContextualShape_Oriya(), ContextualShape_Sinhala(), ContextualShape_Tamil(), and ContextualShape_Telugu().
Definition at line 2325 of file shape.c.
Referenced by ContextualShape_Devanagari(), and ShapeCharGlyphProp_Devanagari().
|
inlinestatic |
Definition at line 2016 of file shape.c.
Referenced by Apply_Indic_PreBase().
|
inlinestatic |
|
inlinestatic |
Definition at line 882 of file shape.c.
Referenced by ContextualShape_Bengali(), ContextualShape_Devanagari(), ContextualShape_Gujarati(), ContextualShape_Gurmukhi(), ContextualShape_Kannada(), ContextualShape_Malayalam(), ContextualShape_Oriya(), ContextualShape_Tamil(), ContextualShape_Telugu(), and ShapeCharGlyphProp_BaseIndic().
|
static |
Definition at line 571 of file shape.c.
Referenced by load_OT_feature().
|
static |
Definition at line 864 of file shape.c.
Referenced by SHAPE_ApplyOpenTypePositions().
|
static |
Definition at line 546 of file shape.c.
Referenced by apply_GSUB_feature_to_glyph(), Apply_Indic_BasicForm(), and GSUB_apply_feature_all_lookups().
Definition at line 2502 of file shape.c.
Referenced by ContextualShape_Gujarati(), and ShapeCharGlyphProp_Gujarati().
Definition at line 2452 of file shape.c.
Referenced by ContextualShape_Gurmukhi(), and ShapeCharGlyphProp_Gurmukhi().
|
static |
Definition at line 893 of file shape.c.
Referenced by mark_invalid_combinations().
Definition at line 2697 of file shape.c.
Referenced by ContextualShape_Kannada(), and ShapeCharGlyphProp_Kannada().
Definition at line 2794 of file shape.c.
Referenced by ContextualShape_Khmer(), and ShapeCharGlyphProp_Khmer().
Definition at line 994 of file shape.c.
Referenced by ContextualShape_Arabic(), and ContextualShape_Syriac().
Definition at line 692 of file shape.c.
Referenced by load_ot_tables().
Definition at line 679 of file shape.c.
Referenced by load_ot_tables().
Definition at line 666 of file shape.c.
Referenced by load_ot_tables().
|
static |
Definition at line 616 of file shape.c.
Referenced by apply_GSUB_feature(), apply_GSUB_feature_to_glyph(), SHAPE_ApplyOpenTypePositions(), SHAPE_CheckFontForRequiredFeatures(), and ShapeIndicSyllables().
|
static |
Definition at line 705 of file shape.c.
Referenced by ContextualShape_Arabic(), ContextualShape_Phags_pa(), ContextualShape_Syriac(), SHAPE_ApplyOpenTypeFeatures(), SHAPE_ApplyOpenTypePositions(), SHAPE_CharGlyphProp(), SHAPE_CheckFontForRequiredFeatures(), SHAPE_ContextualShaping(), SHAPE_GetFontFeatureTags(), SHAPE_GetFontLanguageTags(), and SHAPE_GetFontScriptTags().
Definition at line 2749 of file shape.c.
Referenced by ContextualShape_Malayalam(), and ShapeCharGlyphProp_Malayalam().
|
static |
Definition at line 906 of file shape.c.
Referenced by ContextualShape_Arabic(), ContextualShape_Hebrew(), ContextualShape_Lao(), ContextualShape_Syriac(), ContextualShape_Thaana(), and ContextualShape_Thai().
Definition at line 2828 of file shape.c.
Referenced by ContextualShape_Mongolian().
Definition at line 952 of file shape.c.
Referenced by ContextualShape_Phags_pa(), and ContextualShape_Syriac().
|
static |
Definition at line 964 of file shape.c.
Referenced by ContextualShape_Arabic(), ContextualShape_Syriac(), and neighbour_joining_type().
Definition at line 2542 of file shape.c.
Referenced by ContextualShape_Oriya(), and ShapeCharGlyphProp_Oriya().
|
static |
Definition at line 1930 of file shape.c.
Referenced by ContextualShape_Bengali(), ContextualShape_Gurmukhi(), ContextualShape_Oriya(), ContextualShape_Tamil(), and ContextualShape_Telugu().
|
static |
Definition at line 1920 of file shape.c.
Referenced by ContextualShape_Devanagari(), ContextualShape_Gujarati(), ContextualShape_Khmer(), and ContextualShape_Malayalam().
|
static |
Definition at line 1940 of file shape.c.
Referenced by ContextualShape_Kannada().
|
static |
Definition at line 1910 of file shape.c.
Referenced by ContextualShape_Sinhala().
|
static |
Definition at line 1792 of file shape.c.
Referenced by Reorder_Like_Sinhala().
|
static |
Definition at line 1819 of file shape.c.
Referenced by Reorder_Like_Bengali(), Reorder_Like_Devanagari(), and Reorder_Like_Kannada().
|
static |
Definition at line 1727 of file shape.c.
Referenced by Reorder_Like_Bengali(), and Reorder_Like_Sinhala().
|
static |
|
static |
Definition at line 1771 of file shape.c.
Referenced by Reorder_Like_Kannada().
|
static |
Definition at line 1651 of file shape.c.
Referenced by DecomposeVowels().
Definition at line 989 of file shape.c.
Referenced by ContextualShape_Arabic(), and ContextualShape_Syriac().
|
static |
Definition at line 1846 of file shape.c.
Referenced by SecondReorder_Like_Telugu().
|
static |
Definition at line 1961 of file shape.c.
Referenced by ContextualShape_Malayalam(), and ContextualShape_Tamil().
|
static |
Definition at line 1950 of file shape.c.
Referenced by ContextualShape_Kannada(), and ContextualShape_Telugu().
|
static |
Definition at line 1872 of file shape.c.
Referenced by SecondReorder_Like_Tamil().
|
static |
Definition at line 1896 of file shape.c.
Referenced by SecondReorder_Like_Tamil().
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().
|
static |
Definition at line 3396 of file shape.c.
Referenced by SHAPE_ApplyDefaultOpentypeFeatures().
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.