From 55cd7e0a05fcfe78b6946341956861857528d005 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 2 Jan 2014 13:07:48 +0100 Subject: [PATCH] [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. --- ChangeLog | 9 +++++++++ src/autofit/afcover.h | 14 ++++++++++++++ src/autofit/afstyles.h | 12 ------------ 3 files changed, 23 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index f1bad31e6..38b923d2d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2014-01-01 Werner Lemberg + + [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 [autofit] Add more styles. diff --git a/src/autofit/afcover.h b/src/autofit/afcover.h index 55fcac34f..12148e0e0 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 58489168d..9a2c61855 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 ) \