[autofit] Remove some styles. * src/autofit/afcover.h: Remove coverages for alternative fractions, denominators, numerators, and fractions. * src/autofit/afstyles.h (META_STYLE_LATIN): Updated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
diff --git a/ChangeLog b/ChangeLog
index f1bad31..38b923d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
2014-01-01 Werner Lemberg <wl@gnu.org>
+ [autofit] Remove some styles.
+
+ * src/autofit/afcover.h: Remove coverages for alternative fractions,
+ denominators, numerators, and fractions.
+
+ * src/autofit/afstyles.h (META_STYLE_LATIN): Updated.
+
+2014-01-01 Werner Lemberg <wl@gnu.org>
+
[autofit] Add more styles.
* src/autofit/afstyles.h (STYLE_LATIN, META_STYLE_LATIN): New
diff --git a/src/autofit/afcover.h b/src/autofit/afcover.h
index 55fcac3..12148e0 100644
--- a/src/autofit/afcover.h
+++ b/src/autofit/afcover.h
@@ -25,9 +25,12 @@
/* by a description string. The last four arguments are the four */
/* characters defining the corresponding OpenType feature. */
+#if 0
+ /* XXX: It's not possible to define blue zone characters in advance. */
COVERAGE( alternative_fractions, ALTERNATIVE_FRACTIONS,
"alternative fractions",
'a', 'f', 'r', 'c' )
+#endif
COVERAGE( petite_capitals_from_capitals, PETITE_CAPITALS_FROM_CAPITALS,
"petite capitals from capitals",
@@ -37,17 +40,28 @@
"small capitals from capitals",
'c', '2', 's', 'c' )
+#if 0
+ /* XXX: Only digits are in this coverage, however, both normal style */
+ /* and oldstyle representation forms are possible. */
COVERAGE( denominators, DENOMINATORS,
"denominators",
'd', 'n', 'o', 'm' )
+#endif
+#if 0
+ /* XXX: It's not possible to define blue zone characters in advance. */
COVERAGE( fractions, FRACTIONS,
"fractions",
'f', 'r', 'a', 'c' )
+#endif
+#if 0
+ /* XXX: Only digits are in this coverage, however, both normal style */
+ /* and oldstyle representation forms are possible. */
COVERAGE( numerators, NUMERATORS,
"numerators",
'n', 'u', 'm', 'r' )
+#endif
COVERAGE( ordinals, ORDINALS,
"ordinals",
diff --git a/src/autofit/afstyles.h b/src/autofit/afstyles.h
index 5848916..9a2c618 100644
--- a/src/autofit/afstyles.h
+++ b/src/autofit/afstyles.h
@@ -49,24 +49,12 @@
#undef META_STYLE_LATIN
#define META_STYLE_LATIN( s, S, ds ) \
- STYLE_LATIN( s, S, afrc, AFRC, ds, \
- "alternative fractions", \
- ALTERNATIVE_FRACTIONS ) \
STYLE_LATIN( s, S, c2cp, C2CP, ds, \
"petite capticals from capitals", \
PETITE_CAPITALS_FROM_CAPITALS ) \
STYLE_LATIN( s, S, c2sc, C2SC, ds, \
"small capticals from capitals", \
SMALL_CAPITALS_FROM_CAPITALS ) \
- STYLE_LATIN( s, S, dnom, DNOM, ds, \
- "denominators", \
- DENOMINATORS ) \
- STYLE_LATIN( s, S, frac, FRAC, ds, \
- "fractions", \
- FRACTIONS ) \
- STYLE_LATIN( s, S, numr, NUMR, ds, \
- "numerators", \
- NUMERATORS ) \
STYLE_LATIN( s, S, ordn, ORDN, ds, \
"ordinals", \
ORDINALS ) \