import { Model } from '../models'; /** See PDF32000_2008.pdf:9.8 Font Descriptors */ export declare class FontDescriptor extends Model { readonly CharSet: string[]; /** From PDF32000_2008.pdf:Table 122 > The weight (thickness) component of the fully-qualified font name or font > specifier. The possible values shall be 100, 200, 300, 400, 500, 600, 700, > 800, or 900, where each number indicates a weight that is at least as dark > as its predecessor. A value of: > * 400 shall indicate a normal weight; > * 700 shall indicate bold. > The specific interpretation of these values varies from font to font. */ /** From PDF32000_2008.pdf:Table 122 > The angle, expressed in degrees counterclockwise from the vertical, of the > dominant vertical strokes of the font. The 9-o'clock position is 90 degrees, > and the 3-o'clock position is –90 degrees. The value shall be negative for > fonts that slope to the right, as almost all italic fonts do. */ private getType1FontProgramClearText; getWeight(): string; /** From T1_SPEC.pdf: > The tokens following /Encoding may be StandardEncoding def, in which case the Adobe Standard Encoding will be assigned to this font program. For special encodings, assignments must be performed as shown in the example in section 2.3, “Explanation of a Typical Font Program,” using the repetitive sequence: > dup index charactername put > where index is an integer corresponding to an entry in the Encoding vector, and charactername refers to a PostScript language name token, such as /Alpha or /A, giving the character name assigned to a particular character code. The Adobe Type Manager parser skips to the first dup token after /Encoding to find the first character encoding assignment. This sequence of assignments must be followed by an instance of the token def or readonly; such a token may not occur within the sequence of assignments. */ getGlyphmap(): string[]; }