1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
|
/*
Copyright (C) 1999-2015 SIL International. All rights reserved.
Distributable under the terms of either the Common Public License or the
GNU Lesser General Public License, as specified in the LICENSING.txt file.
*/
// Standard abbreviations:
#define adv advance
#define ah advanceheight
#define att attach
#define aw advancewidth
#define bb boundingbox
#define break breakweight
#define comp component
#define dir directionality
#define endenv endenvironment
#define env environment
#define just justification
#define lang language
#define lb linebreak
#define lsb leftsidebearing
#define pos position
#define ref reference
#define rsb rightsidebearing
#define sub substitution
#define subs substitution
// Standard defined constants:
#define DIR_OTHERNEUTRAL 0
#define DIR_OTHERNEUTRALS 0
#define DIR_LEFT 1
#define DIR_RIGHT 2
#define DIR_ARABIC 3
#define DIR_EURONUMBER 4
#define DIR_EUROSEPARATOR 5
#define DIR_EUROTERMINATOR 6
#define DIR_ARABICNUMBER 7
#define DIR_COMMONSEPARATOR 8
#define DIR_WHITESPACE 9
#define DIR_BOUNDARYNEUTRAL 10
#define DIR_LRO 11
#define DIR_RLO 12
#define DIR_LRE 13
#define DIR_RLE 14
#define DIR_PDF 15
#define DIR_NSM 16
#define DIR_LRI 17
#define DIR_RLI 18
#define DIR_FSI 19
#define DIR_PDI 20
#define DIR_OPP 21
#define DIR_CPP 22
#define BREAK_WHITESPACE 10
#define BREAK_WORD 15
#define BREAK_INTRA 20
#define BREAK_LETTER 30
#define BREAK_CLIP 40
#define HORIZONTAL_LEFT_TO_RIGHT 1
#define HORIZONTAL_RIGHT_TO_LEFT 2
#define VERTICAL_FROM_LEFT 4
#define VERTICAL_FROM_RIGHT 8
#define LEFT_TO_RIGHT 1
#define RIGHT_TO_LEFT 2
#define JMODE_NORMAL 0
#define JMODE_MEASURE 1
#define JMODE_JUSTIFY 2
#define LG_USENG 0x0409
|