ReactOS
0.4.15-dev-2350-g7194f2f
|
#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.