w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

graphite2 Namespace Reference

Namespaces

namespace  TtfUtil
 
namespace  vm
 

Classes

struct  _utf_codec
 
struct  _utf_codec< 16 >
 
struct  _utf_codec< 32 >
 
struct  _utf_codec< 8 >
 
class  _utf_iterator
 
struct  BBox
 
class  CachedCmap
 
class  CharInfo
 
class  Cmap
 
class  DirectCmap
 
class  Error
 
class  Face
 
class  FeatureMap
 
class  FeatureRef
 
class  FeatureSetting
 
class  FeatureVal
 
class  FileFace
 
class  FiniteStateMachine
 
class  Font
 
class  GlyphBox
 
class  GlyphCache
 
class  GlyphFace
 
struct  IsoLangEntry
 
class  json
 
class  Justinfo
 
class  KernCollider
 
class  Locale2Lang
 
class  NameAndFeatureRef
 
class  NameTable
 
struct  objectid
 
class  Pass
 
class  Position
 
class  Pseudo
 
class  Rect
 
struct  Rule
 
struct  RuleEntry
 
class  Segment
 
class  SegmentScopeState
 
class  ShiftCollider
 
class  Silf
 
class  SillMap
 
struct  SlantBox
 
class  Slot
 
class  SlotCollision
 
struct  SlotJustify
 
class  SlotMap
 
class  sparse
 
struct  State
 
struct  telemetry
 
struct  utf
 
class  Vector
 
class  Zones
 

Typedefs

typedef std::pair< const Segment *const, const Slot *constdslot
 
typedef FeatureVal Features
 
typedef gr_uint8 uint8
 
typedef gr_uint8 byte
 
typedef gr_uint16 uint16
 
typedef gr_uint32 uint32
 
typedef gr_int8 int8
 
typedef gr_int16 int16
 
typedef gr_int32 int32
 
typedef size_t uintptr
 
typedef Vector< FeaturesFeatureList
 
typedef Vector< Slot * > SlotRope
 
typedef Vector< int16 * > AttributeRope
 
typedef Vector< SlotJustify * > JustifyRope
 
typedef gr_attrCode attrCode
 
typedef uint32 uchar_t
 
typedef utf< uint32utf32
 
typedef utf< uint16utf16
 
typedef utf< uint8utf8
 

Enumerations

enum  passtype {
  PASS_TYPE_UNKNOWN = 0 , PASS_TYPE_LINEBREAK , PASS_TYPE_SUBSTITUTE , PASS_TYPE_POSITIONING ,
  PASS_TYPE_JUSTIFICATION , PASS_TYPE_UNKNOWN = 0 , PASS_TYPE_LINEBREAK , PASS_TYPE_SUBSTITUTE ,
  PASS_TYPE_POSITIONING , PASS_TYPE_JUSTIFICATION
}
 
enum  errcontext {
  EC_READGLYPHS = 1 , EC_READSILF = 2 , EC_ASILF = 3 , EC_APASS = 4 ,
  EC_PASSCCODE = 5 , EC_ARULE = 6 , EC_ASTARTS = 7 , EC_ATRANS = 8 ,
  EC_ARULEMAP = 9 , EC_READGLYPHS = 1 , EC_READSILF = 2 , EC_ASILF = 3 ,
  EC_APASS = 4 , EC_PASSCCODE = 5 , EC_ARULE = 6 , EC_ASTARTS = 7 ,
  EC_ATRANS = 8 , EC_ARULEMAP = 9
}
 
enum  errors {
  E_OUTOFMEM = 1 , E_NOGLYPHS = 2 , E_BADUPEM = 3 , E_BADCMAP = 4 ,
  E_NOSILF = 5 , E_TOOOLD = 6 , E_BADSIZE = 7 , E_BADMAXGLYPH = 8 ,
  E_BADNUMJUSTS = 9 , E_BADENDJUSTS = 10 , E_BADCRITFEATURES = 11 , E_BADSCRIPTTAGS = 12 ,
  E_BADAPSEUDO = 13 , E_BADABREAK = 14 , E_BADABIDI = 15 , E_BADAMIRROR = 16 ,
  E_BADNUMPASSES = 17 , E_BADPASSESSTART = 18 , E_BADPASSBOUND = 19 , E_BADPPASS = 20 ,
  E_BADSPASS = 21 , E_BADJPASSBOUND = 22 , E_BADJPASS = 23 , E_BADALIG = 24 ,
  E_BADBPASS = 25 , E_BADNUMPSEUDO = 26 , E_BADCLASSSIZE = 27 , E_TOOMANYLINEAR = 28 ,
  E_CLASSESTOOBIG = 29 , E_MISALIGNEDCLASSES = 30 , E_HIGHCLASSOFFSET = 31 , E_BADCLASSOFFSET = 32 ,
  E_BADCLASSLOOKUPINFO = 33 , E_BADPASSSTART = 34 , E_BADPASSEND = 35 , E_BADPASSLENGTH = 36 ,
  E_BADNUMTRANS = 37 , E_BADNUMSUCCESS = 38 , E_BADNUMSTATES = 39 , E_NORANGES = 40 ,
  E_BADRULEMAPLEN = 41 , E_BADCTXTLENBOUNDS = 42 , E_BADCTXTLENS = 43 , E_BADPASSCCODEPTR = 44 ,
  E_BADRULECCODEPTR = 45 , E_BADCCODELEN = 46 , E_BADACTIONCODEPTR = 47 , E_MUTABLECCODE = 48 ,
  E_BADSTATE = 49 , E_BADRULEMAPPING = 50 , E_BADRANGE = 51 , E_BADRULENUM = 52 ,
  E_BADACOLLISION = 53 , E_BADEMPTYPASS = 54 , E_BADSILFVERSION = 55 , E_BADCOLLISIONPASS = 56 ,
  E_BADNUMCOLUMNS = 57 , E_CODEFAILURE = 60 , E_CODEALLOC = 61 , E_INVALIDOPCODE = 62 ,
  E_UNIMPOPCODE = 63 , E_OUTOFRANGECODE = 64 , E_BADJUMPCODE = 65 , E_CODEBADARGS = 66 ,
  E_CODENORETURN = 67 , E_CODENESTEDCTXT = 68 , E_BADSCHEME = 69 , E_SHRINKERFAILED = 70 ,
  E_OUTOFMEM = 1 , E_NOGLYPHS = 2 , E_BADUPEM = 3 , E_BADCMAP = 4 ,
  E_NOSILF = 5 , E_TOOOLD = 6 , E_BADSIZE = 7 , E_BADMAXGLYPH = 8 ,
  E_BADNUMJUSTS = 9 , E_BADENDJUSTS = 10 , E_BADCRITFEATURES = 11 , E_BADSCRIPTTAGS = 12 ,
  E_BADAPSEUDO = 13 , E_BADABREAK = 14 , E_BADABIDI = 15 , E_BADAMIRROR = 16 ,
  E_BADNUMPASSES = 17 , E_BADPASSESSTART = 18 , E_BADPASSBOUND = 19 , E_BADPPASS = 20 ,
  E_BADSPASS = 21 , E_BADJPASSBOUND = 22 , E_BADJPASS = 23 , E_BADALIG = 24 ,
  E_BADBPASS = 25 , E_BADNUMPSEUDO = 26 , E_BADCLASSSIZE = 27 , E_TOOMANYLINEAR = 28 ,
  E_CLASSESTOOBIG = 29 , E_MISALIGNEDCLASSES = 30 , E_HIGHCLASSOFFSET = 31 , E_BADCLASSOFFSET = 32 ,
  E_BADCLASSLOOKUPINFO = 33 , E_BADPASSSTART = 34 , E_BADPASSEND = 35 , E_BADPASSLENGTH = 36 ,
  E_BADNUMTRANS = 37 , E_BADNUMSUCCESS = 38 , E_BADNUMSTATES = 39 , E_NORANGES = 40 ,
  E_BADRULEMAPLEN = 41 , E_BADCTXTLENBOUNDS = 42 , E_BADCTXTLENS = 43 , E_BADPASSCCODEPTR = 44 ,
  E_BADRULECCODEPTR = 45 , E_BADCCODELEN = 46 , E_BADACTIONCODEPTR = 47 , E_MUTABLECCODE = 48 ,
  E_BADSTATE = 49 , E_BADRULEMAPPING = 50 , E_BADRANGE = 51 , E_BADRULENUM = 52 ,
  E_BADACOLLISION = 53 , E_BADEMPTYPASS = 54 , E_BADSILFVERSION = 55 , E_BADCOLLISIONPASS = 56 ,
  E_BADNUMCOLUMNS = 57 , E_CODEFAILURE = 60 , E_CODEALLOC = 61 , E_INVALIDOPCODE = 62 ,
  E_UNIMPOPCODE = 63 , E_OUTOFRANGECODE = 64 , E_BADJUMPCODE = 65 , E_CODEBADARGS = 66 ,
  E_CODENORETURN = 67 , E_CODENESTEDCTXT = 68 , E_BADSCHEME = 69 , E_SHRINKERFAILED = 70
}
 
enum  metrics {
  kgmetLsb = 0 , kgmetRsb , kgmetBbTop , kgmetBbBottom ,
  kgmetBbLeft , kgmetBbRight , kgmetBbHeight , kgmetBbWidth ,
  kgmetAdvWidth , kgmetAdvHeight , kgmetAscent , kgmetDescent ,
  kgmetLsb = 0 , kgmetRsb , kgmetBbTop , kgmetBbBottom ,
  kgmetBbLeft , kgmetBbRight , kgmetBbHeight , kgmetBbWidth ,
  kgmetAdvWidth , kgmetAdvHeight , kgmetAscent , kgmetDescent
}
 
enum  zones_t { SD , XY , SD , XY }
 
enum  SpliceParam { eMaxSpliceSize = 96 , eMaxSpliceSize = 96 }
 
enum  justFlags { gr_justStartInline = 1 , gr_justEndInline = 2 , gr_justStartInline = 1 , gr_justEndInline = 2 }
 
enum  passtype {
  PASS_TYPE_UNKNOWN = 0 , PASS_TYPE_LINEBREAK , PASS_TYPE_SUBSTITUTE , PASS_TYPE_POSITIONING ,
  PASS_TYPE_JUSTIFICATION , PASS_TYPE_UNKNOWN = 0 , PASS_TYPE_LINEBREAK , PASS_TYPE_SUBSTITUTE ,
  PASS_TYPE_POSITIONING , PASS_TYPE_JUSTIFICATION
}
 
enum  errcontext {
  EC_READGLYPHS = 1 , EC_READSILF = 2 , EC_ASILF = 3 , EC_APASS = 4 ,
  EC_PASSCCODE = 5 , EC_ARULE = 6 , EC_ASTARTS = 7 , EC_ATRANS = 8 ,
  EC_ARULEMAP = 9 , EC_READGLYPHS = 1 , EC_READSILF = 2 , EC_ASILF = 3 ,
  EC_APASS = 4 , EC_PASSCCODE = 5 , EC_ARULE = 6 , EC_ASTARTS = 7 ,
  EC_ATRANS = 8 , EC_ARULEMAP = 9
}
 
enum  errors {
  E_OUTOFMEM = 1 , E_NOGLYPHS = 2 , E_BADUPEM = 3 , E_BADCMAP = 4 ,
  E_NOSILF = 5 , E_TOOOLD = 6 , E_BADSIZE = 7 , E_BADMAXGLYPH = 8 ,
  E_BADNUMJUSTS = 9 , E_BADENDJUSTS = 10 , E_BADCRITFEATURES = 11 , E_BADSCRIPTTAGS = 12 ,
  E_BADAPSEUDO = 13 , E_BADABREAK = 14 , E_BADABIDI = 15 , E_BADAMIRROR = 16 ,
  E_BADNUMPASSES = 17 , E_BADPASSESSTART = 18 , E_BADPASSBOUND = 19 , E_BADPPASS = 20 ,
  E_BADSPASS = 21 , E_BADJPASSBOUND = 22 , E_BADJPASS = 23 , E_BADALIG = 24 ,
  E_BADBPASS = 25 , E_BADNUMPSEUDO = 26 , E_BADCLASSSIZE = 27 , E_TOOMANYLINEAR = 28 ,
  E_CLASSESTOOBIG = 29 , E_MISALIGNEDCLASSES = 30 , E_HIGHCLASSOFFSET = 31 , E_BADCLASSOFFSET = 32 ,
  E_BADCLASSLOOKUPINFO = 33 , E_BADPASSSTART = 34 , E_BADPASSEND = 35 , E_BADPASSLENGTH = 36 ,
  E_BADNUMTRANS = 37 , E_BADNUMSUCCESS = 38 , E_BADNUMSTATES = 39 , E_NORANGES = 40 ,
  E_BADRULEMAPLEN = 41 , E_BADCTXTLENBOUNDS = 42 , E_BADCTXTLENS = 43 , E_BADPASSCCODEPTR = 44 ,
  E_BADRULECCODEPTR = 45 , E_BADCCODELEN = 46 , E_BADACTIONCODEPTR = 47 , E_MUTABLECCODE = 48 ,
  E_BADSTATE = 49 , E_BADRULEMAPPING = 50 , E_BADRANGE = 51 , E_BADRULENUM = 52 ,
  E_BADACOLLISION = 53 , E_BADEMPTYPASS = 54 , E_BADSILFVERSION = 55 , E_BADCOLLISIONPASS = 56 ,
  E_BADNUMCOLUMNS = 57 , E_CODEFAILURE = 60 , E_CODEALLOC = 61 , E_INVALIDOPCODE = 62 ,
  E_UNIMPOPCODE = 63 , E_OUTOFRANGECODE = 64 , E_BADJUMPCODE = 65 , E_CODEBADARGS = 66 ,
  E_CODENORETURN = 67 , E_CODENESTEDCTXT = 68 , E_BADSCHEME = 69 , E_SHRINKERFAILED = 70 ,
  E_OUTOFMEM = 1 , E_NOGLYPHS = 2 , E_BADUPEM = 3 , E_BADCMAP = 4 ,
  E_NOSILF = 5 , E_TOOOLD = 6 , E_BADSIZE = 7 , E_BADMAXGLYPH = 8 ,
  E_BADNUMJUSTS = 9 , E_BADENDJUSTS = 10 , E_BADCRITFEATURES = 11 , E_BADSCRIPTTAGS = 12 ,
  E_BADAPSEUDO = 13 , E_BADABREAK = 14 , E_BADABIDI = 15 , E_BADAMIRROR = 16 ,
  E_BADNUMPASSES = 17 , E_BADPASSESSTART = 18 , E_BADPASSBOUND = 19 , E_BADPPASS = 20 ,
  E_BADSPASS = 21 , E_BADJPASSBOUND = 22 , E_BADJPASS = 23 , E_BADALIG = 24 ,
  E_BADBPASS = 25 , E_BADNUMPSEUDO = 26 , E_BADCLASSSIZE = 27 , E_TOOMANYLINEAR = 28 ,
  E_CLASSESTOOBIG = 29 , E_MISALIGNEDCLASSES = 30 , E_HIGHCLASSOFFSET = 31 , E_BADCLASSOFFSET = 32 ,
  E_BADCLASSLOOKUPINFO = 33 , E_BADPASSSTART = 34 , E_BADPASSEND = 35 , E_BADPASSLENGTH = 36 ,
  E_BADNUMTRANS = 37 , E_BADNUMSUCCESS = 38 , E_BADNUMSTATES = 39 , E_NORANGES = 40 ,
  E_BADRULEMAPLEN = 41 , E_BADCTXTLENBOUNDS = 42 , E_BADCTXTLENS = 43 , E_BADPASSCCODEPTR = 44 ,
  E_BADRULECCODEPTR = 45 , E_BADCCODELEN = 46 , E_BADACTIONCODEPTR = 47 , E_MUTABLECCODE = 48 ,
  E_BADSTATE = 49 , E_BADRULEMAPPING = 50 , E_BADRANGE = 51 , E_BADRULENUM = 52 ,
  E_BADACOLLISION = 53 , E_BADEMPTYPASS = 54 , E_BADSILFVERSION = 55 , E_BADCOLLISIONPASS = 56 ,
  E_BADNUMCOLUMNS = 57 , E_CODEFAILURE = 60 , E_CODEALLOC = 61 , E_INVALIDOPCODE = 62 ,
  E_UNIMPOPCODE = 63 , E_OUTOFRANGECODE = 64 , E_BADJUMPCODE = 65 , E_CODEBADARGS = 66 ,
  E_CODENORETURN = 67 , E_CODENESTEDCTXT = 68 , E_BADSCHEME = 69 , E_SHRINKERFAILED = 70
}
 
enum  metrics {
  kgmetLsb = 0 , kgmetRsb , kgmetBbTop , kgmetBbBottom ,
  kgmetBbLeft , kgmetBbRight , kgmetBbHeight , kgmetBbWidth ,
  kgmetAdvWidth , kgmetAdvHeight , kgmetAscent , kgmetDescent ,
  kgmetLsb = 0 , kgmetRsb , kgmetBbTop , kgmetBbBottom ,
  kgmetBbLeft , kgmetBbRight , kgmetBbHeight , kgmetBbWidth ,
  kgmetAdvWidth , kgmetAdvHeight , kgmetAscent , kgmetDescent
}
 
enum  zones_t { SD , XY , SD , XY }
 
enum  SpliceParam { eMaxSpliceSize = 96 , eMaxSpliceSize = 96 }
 
enum  justFlags { gr_justStartInline = 1 , gr_justEndInline = 2 , gr_justStartInline = 1 , gr_justEndInline = 2 }
 

Functions

template<typename T >
unsigned int bit_set_count (T v)
 
template<int S>
size_t _mask_over_val (size_t v)
 
template<>
size_t _mask_over_val< 1 > (size_t v)
 
template<typename T >
T mask_over_val (T v)
 
template<typename T >
unsigned long next_highest_power2 (T v)
 
template<typename T >
unsigned int log_binary (T v)
 
template<typename T >
T has_zero (const T x)
 
template<typename T >
T zero_bytes (const T x, unsigned char n)
 
float sqr (float x)
 
jsonoperator<< (json &j, const Position &) throw ()
 
jsonoperator<< (json &j, const Rect &) throw ()
 
jsonoperator<< (json &j, const CharInfo &) throw ()
 
jsonoperator<< (json &j, const dslot &) throw ()
 
jsonoperator<< (json &j, const objectid &) throw ()
 
jsonoperator<< (json &j, const telemetry &) throw ()
 
jsonoperator<< (json &j, signed char d) throw ()
 
jsonoperator<< (json &j, unsigned char d) throw ()
 
jsonoperator<< (json &j, short int d) throw ()
 
jsonoperator<< (json &j, unsigned short int d) throw ()
 
jsonoperator<< (json &j, int d) throw ()
 
jsonoperator<< (json &j, unsigned int d) throw ()
 
jsonoperator<< (json &j, long int d) throw ()
 
jsonoperator<< (json &j, unsigned long int d) throw ()
 
jsonoperator<< (json &j, long long int d) throw ()
 
jsonoperator<< (json &j, unsigned long long int d) throw ()
 
template<typename T >
ptrdiff_t distance (T *first, T *last)
 
bool checked_mul (const size_t a, const size_t b, size_t &t)
 
template<typename T >
Tgralloc (size_t n)
 
template<typename T >
Tgrzeroalloc (size_t n)
 
template<typename T >
T min (const T a, const T b)
 
template<typename T >
T max (const T a, const T b)
 

Variables

const IsoLangEntry LANG_ENTRIES []
 

Detailed Description

Methods

Typedef Documentation

◆ attrCode

Definition at line 37 of file Slot.h.

◆ AttributeRope

Definition at line 49 of file Segment.h.

◆ byte

Definition at line 39 of file Main.h.

◆ dslot

typedef std::pair< const Segment *const, const Slot *const > graphite2::dslot

Definition at line 47 of file debug.h.

◆ FeatureList

Definition at line 47 of file Segment.h.

◆ Features

Definition at line 63 of file FeatureVal.h.

◆ int16

Definition at line 43 of file Main.h.

◆ int32

Definition at line 44 of file Main.h.

◆ int8

Definition at line 42 of file Main.h.

◆ JustifyRope

Definition at line 50 of file Segment.h.

◆ SlotRope

Definition at line 48 of file Segment.h.

◆ uchar_t

Definition at line 34 of file UtfCodec.h.

◆ uint16

Definition at line 40 of file Main.h.

◆ uint32

Definition at line 41 of file Main.h.

◆ uint8

Definition at line 38 of file Main.h.

◆ uintptr

Definition at line 45 of file Main.h.

◆ utf16

Definition at line 248 of file UtfCodec.h.

◆ utf32

Definition at line 247 of file UtfCodec.h.

◆ utf8

Definition at line 249 of file UtfCodec.h.

Enumeration Type Documentation

◆ errcontext [1/2]

Enumerator
EC_READGLYPHS 
EC_READSILF 
EC_ASILF 
EC_APASS 
EC_PASSCCODE 
EC_ARULE 
EC_ASTARTS 
EC_ATRANS 
EC_ARULEMAP 
EC_READGLYPHS 
EC_READSILF 
EC_ASILF 
EC_APASS 
EC_PASSCCODE 
EC_ARULE 
EC_ASTARTS 
EC_ATRANS 
EC_ARULEMAP 

Definition at line 47 of file Error.h.

◆ errcontext [2/2]

Enumerator
EC_READGLYPHS 
EC_READSILF 
EC_ASILF 
EC_APASS 
EC_PASSCCODE 
EC_ARULE 
EC_ASTARTS 
EC_ATRANS 
EC_ARULEMAP 
EC_READGLYPHS 
EC_READSILF 
EC_ASILF 
EC_APASS 
EC_PASSCCODE 
EC_ARULE 
EC_ASTARTS 
EC_ATRANS 
EC_ARULEMAP 

Definition at line 47 of file Error.h.

◆ errors [1/2]

Enumerator
E_OUTOFMEM 
E_NOGLYPHS 
E_BADUPEM 
E_BADCMAP 
E_NOSILF 
E_TOOOLD 
E_BADSIZE 
E_BADMAXGLYPH 
E_BADNUMJUSTS 
E_BADENDJUSTS 
E_BADCRITFEATURES 
E_BADSCRIPTTAGS 
E_BADAPSEUDO 
E_BADABREAK 
E_BADABIDI 
E_BADAMIRROR 
E_BADNUMPASSES 
E_BADPASSESSTART 
E_BADPASSBOUND 
E_BADPPASS 
E_BADSPASS 
E_BADJPASSBOUND 
E_BADJPASS 
E_BADALIG 
E_BADBPASS 
E_BADNUMPSEUDO 
E_BADCLASSSIZE 
E_TOOMANYLINEAR 
E_CLASSESTOOBIG 
E_MISALIGNEDCLASSES 
E_HIGHCLASSOFFSET 
E_BADCLASSOFFSET 
E_BADCLASSLOOKUPINFO 
E_BADPASSSTART 
E_BADPASSEND 
E_BADPASSLENGTH 
E_BADNUMTRANS 
E_BADNUMSUCCESS 
E_BADNUMSTATES 
E_NORANGES 
E_BADRULEMAPLEN 
E_BADCTXTLENBOUNDS 
E_BADCTXTLENS 
E_BADPASSCCODEPTR 
E_BADRULECCODEPTR 
E_BADCCODELEN 
E_BADACTIONCODEPTR 
E_MUTABLECCODE 
E_BADSTATE 
E_BADRULEMAPPING 
E_BADRANGE 
E_BADRULENUM 
E_BADACOLLISION 
E_BADEMPTYPASS 
E_BADSILFVERSION 
E_BADCOLLISIONPASS 
E_BADNUMCOLUMNS 
E_CODEFAILURE 
E_CODEALLOC 
E_INVALIDOPCODE 
E_UNIMPOPCODE 
E_OUTOFRANGECODE 
E_BADJUMPCODE 
E_CODEBADARGS 
E_CODENORETURN 
E_CODENESTEDCTXT 
E_BADSCHEME 
E_SHRINKERFAILED 
E_OUTOFMEM 
E_NOGLYPHS 
E_BADUPEM 
E_BADCMAP 
E_NOSILF 
E_TOOOLD 
E_BADSIZE 
E_BADMAXGLYPH 
E_BADNUMJUSTS 
E_BADENDJUSTS 
E_BADCRITFEATURES 
E_BADSCRIPTTAGS 
E_BADAPSEUDO 
E_BADABREAK 
E_BADABIDI 
E_BADAMIRROR 
E_BADNUMPASSES 
E_BADPASSESSTART 
E_BADPASSBOUND 
E_BADPPASS 
E_BADSPASS 
E_BADJPASSBOUND 
E_BADJPASS 
E_BADALIG 
E_BADBPASS 
E_BADNUMPSEUDO 
E_BADCLASSSIZE 
E_TOOMANYLINEAR 
E_CLASSESTOOBIG 
E_MISALIGNEDCLASSES 
E_HIGHCLASSOFFSET 
E_BADCLASSOFFSET 
E_BADCLASSLOOKUPINFO 
E_BADPASSSTART 
E_BADPASSEND 
E_BADPASSLENGTH 
E_BADNUMTRANS 
E_BADNUMSUCCESS 
E_BADNUMSTATES 
E_NORANGES 
E_BADRULEMAPLEN 
E_BADCTXTLENBOUNDS 
E_BADCTXTLENS 
E_BADPASSCCODEPTR 
E_BADRULECCODEPTR 
E_BADCCODELEN 
E_BADACTIONCODEPTR 
E_MUTABLECCODE 
E_BADSTATE 
E_BADRULEMAPPING 
E_BADRANGE 
E_BADRULENUM 
E_BADACOLLISION 
E_BADEMPTYPASS 
E_BADSILFVERSION 
E_BADCOLLISIONPASS 
E_BADNUMCOLUMNS 
E_CODEFAILURE 
E_CODEALLOC 
E_INVALIDOPCODE 
E_UNIMPOPCODE 
E_OUTOFRANGECODE 
E_BADJUMPCODE 
E_CODEBADARGS 
E_CODENORETURN 
E_CODENESTEDCTXT 
E_BADSCHEME 
E_SHRINKERFAILED 

Definition at line 59 of file Error.h.

◆ errors [2/2]

Enumerator
E_OUTOFMEM 
E_NOGLYPHS 
E_BADUPEM 
E_BADCMAP 
E_NOSILF 
E_TOOOLD 
E_BADSIZE 
E_BADMAXGLYPH 
E_BADNUMJUSTS 
E_BADENDJUSTS 
E_BADCRITFEATURES 
E_BADSCRIPTTAGS 
E_BADAPSEUDO 
E_BADABREAK 
E_BADABIDI 
E_BADAMIRROR 
E_BADNUMPASSES 
E_BADPASSESSTART 
E_BADPASSBOUND 
E_BADPPASS 
E_BADSPASS 
E_BADJPASSBOUND 
E_BADJPASS 
E_BADALIG 
E_BADBPASS 
E_BADNUMPSEUDO 
E_BADCLASSSIZE 
E_TOOMANYLINEAR 
E_CLASSESTOOBIG 
E_MISALIGNEDCLASSES 
E_HIGHCLASSOFFSET 
E_BADCLASSOFFSET 
E_BADCLASSLOOKUPINFO 
E_BADPASSSTART 
E_BADPASSEND 
E_BADPASSLENGTH 
E_BADNUMTRANS 
E_BADNUMSUCCESS 
E_BADNUMSTATES 
E_NORANGES 
E_BADRULEMAPLEN 
E_BADCTXTLENBOUNDS 
E_BADCTXTLENS 
E_BADPASSCCODEPTR 
E_BADRULECCODEPTR 
E_BADCCODELEN 
E_BADACTIONCODEPTR 
E_MUTABLECCODE 
E_BADSTATE 
E_BADRULEMAPPING 
E_BADRANGE 
E_BADRULENUM 
E_BADACOLLISION 
E_BADEMPTYPASS 
E_BADSILFVERSION 
E_BADCOLLISIONPASS 
E_BADNUMCOLUMNS 
E_CODEFAILURE 
E_CODEALLOC 
E_INVALIDOPCODE 
E_UNIMPOPCODE 
E_OUTOFRANGECODE 
E_BADJUMPCODE 
E_CODEBADARGS 
E_CODENORETURN 
E_CODENESTEDCTXT 
E_BADSCHEME 
E_SHRINKERFAILED 
E_OUTOFMEM 
E_NOGLYPHS 
E_BADUPEM 
E_BADCMAP 
E_NOSILF 
E_TOOOLD 
E_BADSIZE 
E_BADMAXGLYPH 
E_BADNUMJUSTS 
E_BADENDJUSTS 
E_BADCRITFEATURES 
E_BADSCRIPTTAGS 
E_BADAPSEUDO 
E_BADABREAK 
E_BADABIDI 
E_BADAMIRROR 
E_BADNUMPASSES 
E_BADPASSESSTART 
E_BADPASSBOUND 
E_BADPPASS 
E_BADSPASS 
E_BADJPASSBOUND 
E_BADJPASS 
E_BADALIG 
E_BADBPASS 
E_BADNUMPSEUDO 
E_BADCLASSSIZE 
E_TOOMANYLINEAR 
E_CLASSESTOOBIG 
E_MISALIGNEDCLASSES 
E_HIGHCLASSOFFSET 
E_BADCLASSOFFSET 
E_BADCLASSLOOKUPINFO 
E_BADPASSSTART 
E_BADPASSEND 
E_BADPASSLENGTH 
E_BADNUMTRANS 
E_BADNUMSUCCESS 
E_BADNUMSTATES 
E_NORANGES 
E_BADRULEMAPLEN 
E_BADCTXTLENBOUNDS 
E_BADCTXTLENS 
E_BADPASSCCODEPTR 
E_BADRULECCODEPTR 
E_BADCCODELEN 
E_BADACTIONCODEPTR 
E_MUTABLECCODE 
E_BADSTATE 
E_BADRULEMAPPING 
E_BADRANGE 
E_BADRULENUM 
E_BADACOLLISION 
E_BADEMPTYPASS 
E_BADSILFVERSION 
E_BADCOLLISIONPASS 
E_BADNUMCOLUMNS 
E_CODEFAILURE 
E_CODEALLOC 
E_INVALIDOPCODE 
E_UNIMPOPCODE 
E_OUTOFRANGECODE 
E_BADJUMPCODE 
E_CODEBADARGS 
E_CODENORETURN 
E_CODENESTEDCTXT 
E_BADSCHEME 
E_SHRINKERFAILED 

Definition at line 59 of file Error.h.

◆ justFlags [1/2]

Enumerator
gr_justStartInline 
gr_justEndInline 
gr_justStartInline 
gr_justEndInline 

Definition at line 62 of file Segment.h.

◆ justFlags [2/2]

Enumerator
gr_justStartInline 
gr_justEndInline 
gr_justStartInline 
gr_justEndInline 

Definition at line 62 of file Segment.h.

◆ metrics [1/2]

Enumerator
kgmetLsb 
kgmetRsb 
kgmetBbTop 
kgmetBbBottom 
kgmetBbLeft 
kgmetBbRight 
kgmetBbHeight 
kgmetBbWidth 
kgmetAdvWidth 
kgmetAdvHeight 
kgmetAscent 
kgmetDescent 
kgmetLsb 
kgmetRsb 
kgmetBbTop 
kgmetBbBottom 
kgmetBbLeft 
kgmetBbRight 
kgmetBbHeight 
kgmetBbWidth 
kgmetAdvWidth 
kgmetAdvHeight 
kgmetAscent 
kgmetDescent 
Examples
/dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ktx/libs/freetype/include/freetype/freetype.h, and /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ptx/libs/freetype/include/freetype/freetype.h.

Definition at line 35 of file GlyphFace.h.

◆ metrics [2/2]

Enumerator
kgmetLsb 
kgmetRsb 
kgmetBbTop 
kgmetBbBottom 
kgmetBbLeft 
kgmetBbRight 
kgmetBbHeight 
kgmetBbWidth 
kgmetAdvWidth 
kgmetAdvHeight 
kgmetAscent 
kgmetDescent 
kgmetLsb 
kgmetRsb 
kgmetBbTop 
kgmetBbBottom 
kgmetBbLeft 
kgmetBbRight 
kgmetBbHeight 
kgmetBbWidth 
kgmetAdvWidth 
kgmetAdvHeight 
kgmetAscent 
kgmetDescent 

Definition at line 35 of file GlyphFace.h.

◆ passtype [1/2]

Enumerator
PASS_TYPE_UNKNOWN 
PASS_TYPE_LINEBREAK 
PASS_TYPE_SUBSTITUTE 
PASS_TYPE_POSITIONING 
PASS_TYPE_JUSTIFICATION 
PASS_TYPE_UNKNOWN 
PASS_TYPE_LINEBREAK 
PASS_TYPE_SUBSTITUTE 
PASS_TYPE_POSITIONING 
PASS_TYPE_JUSTIFICATION 

Definition at line 44 of file Code.h.

◆ passtype [2/2]

Enumerator
PASS_TYPE_UNKNOWN 
PASS_TYPE_LINEBREAK 
PASS_TYPE_SUBSTITUTE 
PASS_TYPE_POSITIONING 
PASS_TYPE_JUSTIFICATION 
PASS_TYPE_UNKNOWN 
PASS_TYPE_LINEBREAK 
PASS_TYPE_SUBSTITUTE 
PASS_TYPE_POSITIONING 
PASS_TYPE_JUSTIFICATION 

Definition at line 44 of file Code.h.

◆ SpliceParam [1/2]

Enumerator
eMaxSpliceSize 

sub-Segments longer than this are not cached (in Unicode code points)

eMaxSpliceSize 

sub-Segments longer than this are not cached (in Unicode code points)

Definition at line 56 of file Segment.h.

◆ SpliceParam [2/2]

Enumerator
eMaxSpliceSize 

sub-Segments longer than this are not cached (in Unicode code points)

eMaxSpliceSize 

sub-Segments longer than this are not cached (in Unicode code points)

Definition at line 56 of file Segment.h.

◆ zones_t [1/2]

Enumerator
SD 
XY 
SD 
XY 

Definition at line 45 of file Intervals.h.

◆ zones_t [2/2]

Enumerator
SD 
XY 
SD 
XY 

Definition at line 45 of file Intervals.h.

Function Documentation

◆ _mask_over_val()

template<int S>
size_t graphite2::_mask_over_val ( size_t  v)
inline

Definition at line 94 of file bits.h.

References S, and v.

Referenced by mask_over_val().

◆ _mask_over_val< 1 >()

template<>
size_t graphite2::_mask_over_val< 1 > ( size_t  v)
inline

Definition at line 103 of file bits.h.

References v.

◆ bit_set_count()

template<typename T >
unsigned int graphite2::bit_set_count ( T  v)
inline

◆ checked_mul()

bool graphite2::checked_mul ( const size_t  a,
const size_t  b,
size_t t 
)
inline

Definition at line 117 of file Main.h.

References a, and b.

Referenced by gralloc(), and graphite2::Vector< T >::reserve().

◆ distance()

template<typename T >
ptrdiff_t graphite2::distance ( T first,
T last 
)
inline

◆ gralloc()

template<typename T >
T * graphite2::gralloc ( size_t  n)

Definition at line 126 of file Main.h.

References checked_mul(), malloc, n, T, and gen-indic-table::total.

◆ grzeroalloc()

template<typename T >
T * graphite2::grzeroalloc ( size_t  n)

Definition at line 137 of file Main.h.

References calloc(), n, and T.

◆ has_zero()

template<typename T >
T graphite2::has_zero ( const T  x)
inline

Definition at line 130 of file bits.h.

References T, and cordic::x.

Referenced by zero_bytes().

◆ log_binary()

template<typename T >
unsigned int graphite2::log_binary ( T  v)
inline

Definition at line 124 of file bits.h.

References bit_set_count(), mask_over_val(), and v.

Referenced by graphite2::Segment::Segment().

◆ mask_over_val()

template<typename T >
T graphite2::mask_over_val ( T  v)
inline

Definition at line 112 of file bits.h.

References _mask_over_val(), T, and v.

Referenced by log_binary().

◆ max()

◆ min()

◆ next_highest_power2()

template<typename T >
unsigned long graphite2::next_highest_power2 ( T  v)
inline

Definition at line 118 of file bits.h.

References v.

◆ operator<<() [1/16]

json & graphite2::operator<< ( json j,
const CharInfo  
)
throw (
)

Definition at line 168 of file gr_logging.cpp.

References close, j, and object.

◆ operator<<() [2/16]

◆ operator<<() [3/16]

json & graphite2::operator<< ( json j,
const objectid sid 
)
throw (
)
inline

Definition at line 80 of file debug.h.

References j, and sid.

◆ operator<<() [4/16]

json & graphite2::operator<< ( json j,
const Position p 
)
throw (
)
inline

Definition at line 66 of file debug.h.

References graphite2::json::array(), graphite2::json::close(), graphite2::json::flat(), j, and p.

◆ operator<<() [5/16]

json & graphite2::operator<< ( json j,
const Rect p 
)
throw (
)
inline

Definition at line 73 of file debug.h.

References graphite2::json::array(), graphite2::json::close(), graphite2::json::flat(), j, and p.

◆ operator<<() [6/16]

json & graphite2::operator<< ( json j,
const telemetry  
)
throw (
)

Definition at line 161 of file gr_logging.cpp.

References j.

◆ operator<<() [7/16]

json & graphite2::operator<< ( json j,
int  d 
)
throw (
)
inline

Definition at line 152 of file json.h.

References d, and j.

◆ operator<<() [8/16]

json & graphite2::operator<< ( json j,
long int  d 
)
throw (
)
inline

Definition at line 158 of file json.h.

References d, and j.

◆ operator<<() [9/16]

json & graphite2::operator<< ( json j,
long long int  d 
)
throw (
)
inline

Definition at line 164 of file json.h.

References d, and j.

◆ operator<<() [10/16]

json & graphite2::operator<< ( json j,
short int  d 
)
throw (
)
inline

Definition at line 146 of file json.h.

References d, and j.

◆ operator<<() [11/16]

json & graphite2::operator<< ( json j,
signed char  d 
)
throw (
)
inline

Definition at line 140 of file json.h.

References d, and j.

◆ operator<<() [12/16]

json & graphite2::operator<< ( json j,
unsigned char  d 
)
throw (
)
inline

Definition at line 143 of file json.h.

References d, and j.

◆ operator<<() [13/16]

json & graphite2::operator<< ( json j,
unsigned int  d 
)
throw (
)
inline

Definition at line 155 of file json.h.

References d, and j.

◆ operator<<() [14/16]

json & graphite2::operator<< ( json j,
unsigned long int  d 
)
throw (
)
inline

Definition at line 161 of file json.h.

References d, and j.

◆ operator<<() [15/16]

json & graphite2::operator<< ( json j,
unsigned long long int  d 
)
throw (
)
inline

Definition at line 167 of file json.h.

References d, and j.

◆ operator<<() [16/16]

json & graphite2::operator<< ( json j,
unsigned short int  d 
)
throw (
)
inline

Definition at line 149 of file json.h.

References d, and j.

◆ sqr()

float graphite2::sqr ( float  x)
inline

◆ zero_bytes()

template<typename T >
T graphite2::zero_bytes ( const T  x,
unsigned char  n 
)
inline

Definition at line 136 of file bits.h.

References has_zero(), n, T, and cordic::x.

Variable Documentation

◆ LANG_ENTRIES

const IsoLangEntry graphite2::LANG_ENTRIES