diff options
Diffstat (limited to 'src/autofit/afstyles.h')
-rw-r--r-- | src/autofit/afstyles.h | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/src/autofit/afstyles.h b/src/autofit/afstyles.h index ded804805..b5eb362ea 100644 --- a/src/autofit/afstyles.h +++ b/src/autofit/afstyles.h @@ -20,57 +20,69 @@ /* Define `STYLE' as needed. */ - /* Add new styles here. */ + /* Add new styles here. The first and second arguments are the */ + /* style name in lowercase and uppercase, respectively, followed */ + /* by a description string. The next arguments are the */ + /* corresponding writing system, script, blue stringset, and */ + /* coverage. */ STYLE( cyrl_default, CYRL_DEFAULT, "Cyrillic default style", AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_CYRL, - AF_BLUE_STRINGSET_CYRL ) + AF_BLUE_STRINGSET_CYRL, + AF_COVERAGE_DEFAULT ) STYLE( deva_default, DEVA_DEFAULT, "Indic scripts default style", AF_WRITING_SYSTEM_INDIC, AF_SCRIPT_DEVA, - (AF_Blue_Stringset)0 ) /* XXX */ - - STYLE( none_default, NONE_DEFAULT, - "no style", - AF_WRITING_SYSTEM_DUMMY, - AF_SCRIPT_NONE, - (AF_Blue_Stringset)0 ) + (AF_Blue_Stringset)0, /* XXX */ + AF_COVERAGE_DEFAULT ) STYLE( grek_default, GREK_DEFAULT, "Greek default style", AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_GREK, - AF_BLUE_STRINGSET_GREK ) + AF_BLUE_STRINGSET_GREK, + AF_COVERAGE_DEFAULT ) STYLE( hani_default, HANI_DEFAULT, "CJKV ideographs default style", AF_WRITING_SYSTEM_CJK, AF_SCRIPT_HANI, - AF_BLUE_STRINGSET_HANI ) + AF_BLUE_STRINGSET_HANI, + AF_COVERAGE_DEFAULT ) STYLE( hebr_default, HEBR_DEFAULT, "Hebrew default style", AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_HEBR, - AF_BLUE_STRINGSET_HEBR ) + AF_BLUE_STRINGSET_HEBR, + AF_COVERAGE_DEFAULT ) STYLE( latn_default, LATN_DEFAULT, "Latin default style", AF_WRITING_SYSTEM_LATIN, AF_SCRIPT_LATN, - AF_BLUE_STRINGSET_LATN ) + AF_BLUE_STRINGSET_LATN, + AF_COVERAGE_DEFAULT ) #ifdef FT_OPTION_AUTOFIT2 STYLE( ltn2_default, LTN2_DEFAULT, "Latin 2 default style", AF_WRITING_SYSTEM_LATIN2, AF_SCRIPT_LATN, - AF_BLUE_STRINGSET_LATN ) + AF_BLUE_STRINGSET_LATN, + AF_COVERAGE_DEFAULT ) #endif + STYLE( none_default, NONE_DEFAULT, + "no style", + AF_WRITING_SYSTEM_DUMMY, + AF_SCRIPT_NONE, + (AF_Blue_Stringset)0, + AF_COVERAGE_DEFAULT ) + /* END */ |