1 /***************************************************************************/
5 /* Auto-fitter coverages (specification only). */
7 /* Copyright 2013, 2014 by */
8 /* David Turner, Robert Wilhelm, and Werner Lemberg. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
19 /* This header file can be included multiple times. */
20 /* Define `COVERAGE' as needed. */
23 /* Add new coverages here. The first and second arguments are the */
24 /* coverage name in lowercase and uppercase, respectively, followed */
25 /* by a description string. The last four arguments are the four */
26 /* characters defining the corresponding OpenType feature. */
29 /* XXX: It's not possible to define blue zone characters in advance. */
30 COVERAGE( alternative_fractions, ALTERNATIVE_FRACTIONS,
31 "alternative fractions",
35 COVERAGE( petite_capitals_from_capitals, PETITE_CAPITALS_FROM_CAPITALS,
36 "petite capitals from capitals",
39 COVERAGE( small_capitals_from_capitals, SMALL_CAPITALS_FROM_CAPITALS,
40 "small capitals from capitals",
44 /* XXX: Only digits are in this coverage, however, both normal style */
45 /* and oldstyle representation forms are possible. */
46 COVERAGE( denominators, DENOMINATORS,
52 /* XXX: It's not possible to define blue zone characters in advance. */
53 COVERAGE( fractions, FRACTIONS,
59 /* XXX: Only digits are in this coverage, however, both normal style */
60 /* and oldstyle representation forms are possible. */
61 COVERAGE( numerators, NUMERATORS,
66 COVERAGE( ordinals, ORDINALS,
70 COVERAGE( petite_capitals, PETITE_CAPITALS,
78 COVERAGE( scientific_inferiors, SCIENTIFIC_INFERIORS,
79 "scientific inferiors",
82 COVERAGE( small_capitals, SMALL_CAPITALS,
86 COVERAGE( subscript, SUBSCRIPT,
90 COVERAGE( superscript, SUPERSCRIPT,
94 COVERAGE( titling, TITLING,
99 /* to be always excluded */
100 COVERAGE(nalt, 'n', 'a', 'l', 't'); /* Alternate Annotation Forms (?) */
101 COVERAGE(ornm, 'o', 'r', 'n', 'm'); /* Ornaments (?) */