/*
	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


