ReactOS 0.4.16-dev-319-g6cf4263
|
#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.
Macros | |
#define | GET_BE_WORD(x) RtlUshortByteSwap(x) |
#define | GET_BE_DWORD(x) RtlUlongByteSwap(x) |
#define | round(x) (((x) < 0) ? (int)((x) - 0.5) : (int)((x) + 0.5)) |
#define | CMAP_TAG MS_MAKE_TAG('c', 'm', 'a', 'p') |
Enumerations | |
enum | gpos_lookup_type { GPOS_LOOKUP_ADJUST_SINGLE = 0x1 , GPOS_LOOKUP_ADJUST_PAIR = 0x2 , GPOS_LOOKUP_ATTACH_CURSIVE = 0x3 , GPOS_LOOKUP_ATTACH_MARK_TO_BASE = 0x4 , GPOS_LOOKUP_ATTACH_MARK_TO_LIGATURE = 0x5 , GPOS_LOOKUP_ATTACH_MARK_TO_MARK = 0x6 , GPOS_LOOKUP_POSITION_CONTEXT = 0x7 , GPOS_LOOKUP_POSITION_CONTEXT_CHAINED = 0x8 , GPOS_LOOKUP_POSITION_EXTENSION = 0x9 } |
enum | gsub_lookup_type { GSUB_LOOKUP_SINGLE = 0x1 , GSUB_LOOKUP_MULTIPLE = 0x2 , GSUB_LOOKUP_ALTERNATE = 0x3 , GSUB_LOOKUP_LIGATURE = 0x4 , GSUB_LOOKUP_CONTEXT = 0x5 , GSUB_LOOKUP_CONTEXT_CHAINED = 0x6 , GSUB_LOOKUP_EXTENSION = 0x7 , GSUB_LOOKUP_CONTEXT_CHAINED_REVERSE = 0x8 } |
enum | { BaseGlyph =1 , LigatureGlyph , MarkGlyph , ComponentGlyph } |
Definition at line 50 of file opentype.c.
#define GET_BE_DWORD | ( | x | ) | RtlUlongByteSwap(x) |
Definition at line 44 of file opentype.c.
#define GET_BE_WORD | ( | x | ) | RtlUshortByteSwap(x) |
Definition at line 43 of file opentype.c.
Definition at line 47 of file opentype.c.
anonymous enum |
Enumerator | |
---|---|
BaseGlyph | |
LigatureGlyph | |
MarkGlyph | |
ComponentGlyph |
Definition at line 105 of file opentype.c.
Definition at line 52 of file opentype.c.
Enumerator | |
---|---|
GSUB_LOOKUP_SINGLE | |
GSUB_LOOKUP_MULTIPLE | |
GSUB_LOOKUP_ALTERNATE | |
GSUB_LOOKUP_LIGATURE | |
GSUB_LOOKUP_CONTEXT | |
GSUB_LOOKUP_CONTEXT_CHAINED | |
GSUB_LOOKUP_EXTENSION | |
GSUB_LOOKUP_CONTEXT_CHAINED_REVERSE |
Definition at line 65 of file opentype.c.
|
static |
Definition at line 2847 of file opentype.c.
Referenced by OpenType_GetFontFeatureTags().
|
static |
Definition at line 2746 of file opentype.c.
Referenced by OpenType_GetFontFeatureTags(), and OpenType_GetFontLanguageTags().
|
static |
Definition at line 2628 of file opentype.c.
Referenced by OpenType_GetFontFeatureTags(), OpenType_GetFontLanguageTags(), and OpenType_GetFontScriptTags().
|
static |
Definition at line 1746 of file opentype.c.
Referenced by GPOS_apply_PairAdjustment().
Definition at line 661 of file opentype.c.
Referenced by OpenType_CMAP_GetGlyphIndex().
|
static |
Definition at line 2261 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 2142 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 1858 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 2382 of file opentype.c.
Referenced by GPOS_apply_ChainContextPos(), GPOS_apply_ContextPos(), and OpenType_apply_GPOS_lookup().
|
static |
Definition at line 1900 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 1985 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 2075 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 1770 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 1695 of file opentype.c.
Referenced by GPOS_apply_lookup().
|
static |
Definition at line 1636 of file opentype.c.
Referenced by GPOS_apply_lookup().
Definition at line 1584 of file opentype.c.
Referenced by GPOS_apply_CursiveAttachment(), GPOS_apply_MarkToBase(), GPOS_apply_MarkToLigature(), and GPOS_apply_MarkToMark().
|
static |
Definition at line 1557 of file opentype.c.
Referenced by GPOS_get_anchor_values(), and GPOS_get_value_record_offsets().
|
static |
Definition at line 1676 of file opentype.c.
Referenced by GPOS_apply_ChainContextPos(), GPOS_apply_ContextPos(), GPOS_apply_CursiveAttachment(), GPOS_apply_MarkToBase(), GPOS_apply_MarkToLigature(), GPOS_apply_MarkToMark(), GPOS_apply_PairAdjustment(), and GPOS_apply_SingleAdjustment().
|
static |
Definition at line 1648 of file opentype.c.
Referenced by apply_pair_value(), GPOS_apply_PairAdjustment(), and GPOS_apply_SingleAdjustment().
|
static |
Definition at line 1662 of file opentype.c.
Referenced by apply_pair_value(), and GPOS_apply_SingleAdjustment().
|
static |
Definition at line 978 of file opentype.c.
Referenced by GSUB_apply_lookup().
|
static |
Definition at line 1245 of file opentype.c.
Referenced by GSUB_apply_lookup().
|
static |
Definition at line 1074 of file opentype.c.
Referenced by GSUB_apply_lookup().
|
static |
Definition at line 1011 of file opentype.c.
Referenced by GSUB_apply_lookup().
|
static |
Definition at line 1485 of file opentype.c.
Referenced by GSUB_apply_ChainContextSubst(), GSUB_apply_ContextSubst(), and OpenType_apply_GSUB_lookup().
|
static |
Definition at line 928 of file opentype.c.
Referenced by GSUB_apply_lookup().
|
static |
Definition at line 882 of file opentype.c.
Referenced by GSUB_apply_lookup().
|
static |
Definition at line 863 of file opentype.c.
Referenced by GSUB_apply_AlternateSubst(), GSUB_apply_ChainContextSubst(), GSUB_apply_ContextSubst(), GSUB_apply_LigatureSubst(), GSUB_apply_MultipleSubst(), and GSUB_apply_SingleSubst().
Definition at line 819 of file opentype.c.
Referenced by GPOS_apply_ChainContextPos(), GPOS_apply_ContextPos(), GPOS_apply_CursiveAttachment(), GPOS_apply_MarkToBase(), GPOS_apply_MarkToLigature(), GPOS_apply_MarkToMark(), GPOS_apply_PairAdjustment(), GPOS_apply_SingleAdjustment(), GSUB_apply_AlternateSubst(), GSUB_apply_ChainContextSubst(), GSUB_apply_ContextSubst(), GSUB_apply_LigatureSubst(), GSUB_apply_MultipleSubst(), and GSUB_apply_SingleSubst().
|
static |
Definition at line 627 of file opentype.c.
Referenced by OpenType_CMAP_GetGlyphIndex().
unsigned int OpenType_apply_GPOS_lookup | ( | const ScriptCache * | script_cache, |
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, | ||
WORD * | glyph_index, | ||
DWORD | flags | ||
) |
Definition at line 673 of file opentype.c.
Referenced by ScriptShapeOpenType().
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().
Definition at line 714 of file opentype.c.
Referenced by GPOS_apply_ContextPos(), GPOS_apply_MarkToBase(), GPOS_apply_PairAdjustment(), GSUB_apply_ChainContextSubst(), GSUB_apply_ContextSubst(), and OpenType_GDEF_UpdateGlyphProps().
|
static |
Definition at line 2813 of file opentype.c.
Referenced by _initialize_feature_cache().
|
static |
Definition at line 2678 of file opentype.c.
Referenced by usp10_script_add_language_list().
|
static |
Definition at line 2708 of file opentype.c.
Referenced by _initialize_language_cache().
|
static |
Definition at line 2568 of file opentype.c.
Referenced by usp10_script_cache_add_script_list().
|
static |
Definition at line 2598 of file opentype.c.
Referenced by _initialize_script_cache().
|
static |
Definition at line 2585 of file opentype.c.
Referenced by OpenType_GetFontFeatureTags(), OpenType_GetFontLanguageTags(), OpenType_GetFontScriptTags(), and usp10_script_cache_add_script_list().
|
static |
Definition at line 2695 of file opentype.c.
Referenced by OpenType_GetFontFeatureTags(), and usp10_script_add_language_list().
WINE_DEFAULT_DEBUG_CHANNEL | ( | uniscribe | ) |