#region MIT License /*Copyright (c) 2012 Robert Rouhani SharpFont based on Tao.FreeType, Copyright (c) 2003-2007 Tao Framework Team 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.*/ #endregion using System; namespace SharpFont.PostScript { /// /// An enumeration used in calls to to identify the Type 1 dictionary entry to /// retrieve. /// /// public enum DictionaryKeys { /// /// The font's type. Type 1 fonts must have a value of 1. /// FontType, /// /// The font's matrix. Typically scaled 1000:1. /// FontMatrix, /// /// The font's general bounding box. /// FontBBox, /// /// The font's method of painting characters. Type 1 only supports fill (0) and outline (2). /// PaintType, /// /// The font's name. /// FontName, /// /// A unique identifier for popular fonts assigned by Adobe. /// UniqueId, /// /// The number of characters the font can draw. /// NumCharStrings, CharStringKey, CharString, EncodingType, EncodingEntry, /// /// The number of charstring subroutines in the font. /// NumSubrs, /// /// The font's subroutines. /// Subr, /// /// An array with only one real number entry expressing the dominant width of horizontal stems (measured /// vertically in character space units). /// StdHW, /// /// An array with only one real number entry expressing the dominant width of vertical stems (measured /// horizontally in character space units). /// StdVW, /// /// The number of BlueValues the font defines. The value must be at least 0 and at most 14. (7 integer pairs). /// NumBlueValues, /// /// An array of integer pairs. The first pair must be the base overshoot position and the base-line. /// BlueValue, /// /// An optional entry that specifies the number of character space units to extend (in both directions) the /// effect of an alignment zone on a horizontal stem. The default value is 1. /// BlueFuzz, /// /// The number of OtherBlue values. The value must be at least 0 and at most 10 (5 integer pairs). /// NumOtherBlues, /// /// An optional array of integer pairs very similar to those in . /// OtherBlue, /// /// The number of FamilyBlue values. /// NumFamilyBlues, /// /// An array of integer pairs very similar to those in . /// FamilyBlue, /// /// The number of FamilyOtherBlue values. /// NumFamilyOtherBlues, /// /// An array of integer pairs very similar to those in . /// FamilyOtherBlue, /// /// An optional entry that controls the point size at which overshoot suppression ceases. The default value is /// 0.039625. /// BlueScale, /// /// An optional entry that indicates a character space distance beyond the flat position of alignment zones at /// which overshoot enforcement for character features occurs. The default value is 7. /// BlueShift, /// /// The number of StemSnapH values. Cannot exceed 12. /// NumStemSnapH, /// /// An array of up to 12 real numbers of the most common widths (including the dominant width given in the /// StdHW array) for horizontal stems (measured vertically). These widths must be sorted in increasing order. /// StemSnapH, /// /// The number of StemSnapV values. Cannot exceed 12. /// NumStemSnapV, /// /// An array of up to 12 real numbers of the most common widths (including the dominant width given in the /// StdVW array) for vertical stems (measured horizontally). These widths must be sorted in increasing order. /// StemSnapV, /// /// A boolean value indicating whether to force bold characters when a regular character is drawn 1-pixel wide. /// ForceBold, /// /// Compatibility entry. Use only for font programs in language group 1. /// RndStemUp, /// /// Obsolete. Set to {16 16}. Required. /// MinFeature, /// /// An integer specifying the number of random bytes at the beginning of charstrings for encryption. By default /// this value is 4. /// LenIV, /// /// Compatibility entry. Set to 5839. /// Password, /// /// Identifies the language group of the font. A value of 0 indicates a language that uses Latin, Greek, /// Cyrillic, etc. characters. A value of 1 indicates a language that consists of Chinese ideographs, Jpaanese /// Kanji, and Korean Hangul. The default value is 0. /// LanguageGroup, Version, Notice, FullName, FamilyName, Weight, IsFixedPitch, UnderlinePosition, FSType, ItalicAngle } }