2018-06-03 09:01:17 +02:00
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* afcover.h
|
|
|
|
*
|
|
|
|
* Auto-fitter coverages (specification only).
|
|
|
|
*
|
2021-01-17 07:18:48 +01:00
|
|
|
* Copyright (C) 2013-2021 by
|
2018-06-03 09:01:17 +02:00
|
|
|
* David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
*
|
|
|
|
* This file is part of the FreeType project, and may only be used,
|
|
|
|
* modified, and distributed under the terms of the FreeType project
|
|
|
|
* license, LICENSE.TXT. By continuing to use, modify, or distribute
|
|
|
|
* this file you indicate that you have read the license and
|
|
|
|
* understand and accept it fully.
|
|
|
|
*
|
|
|
|
*/
|
2013-12-21 21:31:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* This header file can be included multiple times. */
|
2013-12-30 07:41:22 +01:00
|
|
|
/* Define `COVERAGE' as needed. */
|
2013-12-21 21:31:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
/* Add new coverages here. The first and second arguments are the */
|
|
|
|
/* coverage name in lowercase and uppercase, respectively, followed */
|
2013-12-30 07:41:22 +01:00
|
|
|
/* by a description string. The last four arguments are the four */
|
|
|
|
/* characters defining the corresponding OpenType feature. */
|
|
|
|
|
2014-01-02 13:07:48 +01:00
|
|
|
#if 0
|
|
|
|
/* XXX: It's not possible to define blue zone characters in advance. */
|
2013-12-30 07:41:22 +01:00
|
|
|
COVERAGE( alternative_fractions, ALTERNATIVE_FRACTIONS,
|
|
|
|
"alternative fractions",
|
|
|
|
'a', 'f', 'r', 'c' )
|
2014-01-02 13:07:48 +01:00
|
|
|
#endif
|
2013-12-30 07:41:22 +01:00
|
|
|
|
|
|
|
COVERAGE( petite_capitals_from_capitals, PETITE_CAPITALS_FROM_CAPITALS,
|
|
|
|
"petite capitals from capitals",
|
|
|
|
'c', '2', 'c', 'p' )
|
|
|
|
|
|
|
|
COVERAGE( small_capitals_from_capitals, SMALL_CAPITALS_FROM_CAPITALS,
|
|
|
|
"small capitals from capitals",
|
|
|
|
'c', '2', 's', 'c' )
|
|
|
|
|
2014-01-02 13:07:48 +01:00
|
|
|
#if 0
|
|
|
|
/* XXX: Only digits are in this coverage, however, both normal style */
|
|
|
|
/* and oldstyle representation forms are possible. */
|
2013-12-30 07:41:22 +01:00
|
|
|
COVERAGE( denominators, DENOMINATORS,
|
|
|
|
"denominators",
|
|
|
|
'd', 'n', 'o', 'm' )
|
2014-01-02 13:07:48 +01:00
|
|
|
#endif
|
2013-12-30 07:41:22 +01:00
|
|
|
|
2014-01-02 13:07:48 +01:00
|
|
|
#if 0
|
|
|
|
/* XXX: It's not possible to define blue zone characters in advance. */
|
2013-12-30 07:41:22 +01:00
|
|
|
COVERAGE( fractions, FRACTIONS,
|
|
|
|
"fractions",
|
|
|
|
'f', 'r', 'a', 'c' )
|
2014-01-02 13:07:48 +01:00
|
|
|
#endif
|
2013-12-30 07:41:22 +01:00
|
|
|
|
2014-01-02 13:07:48 +01:00
|
|
|
#if 0
|
|
|
|
/* XXX: Only digits are in this coverage, however, both normal style */
|
|
|
|
/* and oldstyle representation forms are possible. */
|
2013-12-30 07:41:22 +01:00
|
|
|
COVERAGE( numerators, NUMERATORS,
|
|
|
|
"numerators",
|
|
|
|
'n', 'u', 'm', 'r' )
|
2014-01-02 13:07:48 +01:00
|
|
|
#endif
|
2013-12-30 07:41:22 +01:00
|
|
|
|
|
|
|
COVERAGE( ordinals, ORDINALS,
|
|
|
|
"ordinals",
|
|
|
|
'o', 'r', 'd', 'n' )
|
|
|
|
|
|
|
|
COVERAGE( petite_capitals, PETITE_CAPITALS,
|
|
|
|
"petite capitals",
|
|
|
|
'p', 'c', 'a', 'p' )
|
|
|
|
|
|
|
|
COVERAGE( ruby, RUBY,
|
|
|
|
"ruby",
|
|
|
|
'r', 'u', 'b', 'y' )
|
|
|
|
|
|
|
|
COVERAGE( scientific_inferiors, SCIENTIFIC_INFERIORS,
|
|
|
|
"scientific inferiors",
|
|
|
|
's', 'i', 'n', 'f' )
|
|
|
|
|
|
|
|
COVERAGE( small_capitals, SMALL_CAPITALS,
|
|
|
|
"small capitals",
|
|
|
|
's', 'm', 'c', 'p' )
|
|
|
|
|
|
|
|
COVERAGE( subscript, SUBSCRIPT,
|
|
|
|
"subscript",
|
|
|
|
's', 'u', 'b', 's' )
|
|
|
|
|
|
|
|
COVERAGE( superscript, SUPERSCRIPT,
|
|
|
|
"superscript",
|
|
|
|
's', 'u', 'p', 's' )
|
|
|
|
|
|
|
|
COVERAGE( titling, TITLING,
|
|
|
|
"titling",
|
|
|
|
't', 'i', 't', 'l' )
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
/* to be always excluded */
|
|
|
|
COVERAGE(nalt, 'n', 'a', 'l', 't'); /* Alternate Annotation Forms (?) */
|
|
|
|
COVERAGE(ornm, 'o', 'r', 'n', 'm'); /* Ornaments (?) */
|
|
|
|
#endif
|
|
|
|
|
2013-12-21 21:31:38 +01:00
|
|
|
|
|
|
|
/* END */
|