shithub: freetype+ttf2subf

Download patch

ref: 55cd7e0a05fcfe78b6946341956861857528d005
parent: c973e67b5ae9798b8a1d315177a4282fe4393efb
author: Werner Lemberg <[email protected]>
date: Thu Jan 2 08:07:48 EST 2014

[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.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 2014-01-01  Werner Lemberg  <[email protected]>
 
+	[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  <[email protected]>
+
 	[autofit] Add more styles.
 
 	* src/autofit/afstyles.h (STYLE_LATIN, META_STYLE_LATIN): New
--- 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",
--- a/src/autofit/afstyles.h
+++ b/src/autofit/afstyles.h
@@ -49,9 +49,6 @@
 
 #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 )   \
@@ -58,15 +55,6 @@
           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 )                        \