// Copyright (c) 2010-2014 SharpDX - Alexandre Mutel // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN // THE SOFTWARE. namespace SharpDX.DirectWrite { /// /// Defines glyph characteristic information that an application needs to implement justification. /// public enum ScriptJustify { /// /// Justification cannot be applied at the glyph. /// None = 0, /// /// The glyph represents a blank in an Arabic run. /// ArabicBlank = 1, /// /// An inter-character justification point follows the glyph. /// Character = 2, /// /// The glyph represents a blank outside an Arabic run. /// Blank = 4, /// /// Normal middle-of-word glyph that connects to the right (begin). /// ArabicNormal = 7, /// /// Kashida (U+0640) in the middle of the word. /// ArabicKashida = 8, /// /// Final form of an alef-like (U+0627, U+0625, U+0623, U+0622). /// ArabicAlef = 9, /// /// Final form of Ha (U+0647). /// ArabicHa = 10, /// /// Final form of Ra (U+0631). /// ArabicRa = 11, /// /// Final form of Ba (U+0628). /// ArabicBa = 12, /// /// Ligature of alike (U+0628,U+0631). /// ArabicBaRa = 13, /// /// Highest priority: initial shape of Seen class (U+0633). /// ArabicSeen = 14, /// /// Highest priority: medial shape of Seen class (U+0633). /// ArabicSeenMedial = 15 } }