[autofit] Add description strings to script entries.
Currently, this is unused. * src/autofit/afscript.h: Do it. * src/autofit/afglobal.c, src/autofit/afpic.c, src/autofit/aftypes.h: Updated.
This commit is contained in:
parent
955f6a86a3
commit
a5f22a9ed2
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2013-10-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Add description strings to script entries.
|
||||
|
||||
Currently, this is unused.
|
||||
|
||||
* src/autofit/afscript.h: Do it.
|
||||
* src/autofit/afglobal.c, src/autofit/afpic.c,
|
||||
src/autofit/aftypes.h: Updated.
|
||||
|
||||
2013-10-16 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
[autofit] Improve tracing message for extra light flag.
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
|
||||
#undef SCRIPT
|
||||
#define SCRIPT( s, S ) \
|
||||
#define SCRIPT( s, S, d ) \
|
||||
&af_ ## s ## _script_class,
|
||||
|
||||
FT_LOCAL_ARRAY_DEF( AF_ScriptClass )
|
||||
|
@ -62,7 +62,7 @@
|
|||
#ifdef FT_DEBUG_LEVEL_TRACE
|
||||
|
||||
#undef SCRIPT
|
||||
#define SCRIPT( s, S ) #s,
|
||||
#define SCRIPT( s, S, d ) #s,
|
||||
|
||||
FT_LOCAL_ARRAY_DEF( char* )
|
||||
af_script_names[] =
|
||||
|
|
|
@ -116,7 +116,7 @@
|
|||
#include "afwrtsys.h"
|
||||
|
||||
#undef SCRIPT
|
||||
#define SCRIPT( s, S ) \
|
||||
#define SCRIPT( s, S, d ) \
|
||||
FT_Init_Class_af_ ## s ## _script_class( \
|
||||
&container->af_script_classes_rec[ss++] );
|
||||
|
||||
|
|
|
@ -22,15 +22,15 @@
|
|||
|
||||
/* Add new scripts here. */
|
||||
|
||||
SCRIPT( cyrl, CYRL )
|
||||
SCRIPT( deva, DEVA )
|
||||
SCRIPT( dflt, DFLT )
|
||||
SCRIPT( grek, GREK )
|
||||
SCRIPT( hani, HANI )
|
||||
SCRIPT( hebr, HEBR )
|
||||
SCRIPT( latn, LATN )
|
||||
SCRIPT( cyrl, CYRL, "Cyrillic" )
|
||||
SCRIPT( deva, DEVA, "Indic scripts" )
|
||||
SCRIPT( dflt, DFLT, "no script" )
|
||||
SCRIPT( grek, GREK, "Greek" )
|
||||
SCRIPT( hani, HANI, "CJKV ideographs" )
|
||||
SCRIPT( hebr, HEBR, "Hebrew" )
|
||||
SCRIPT( latn, LATN, "Latin" )
|
||||
#ifdef FT_OPTION_AUTOFIT2
|
||||
SCRIPT( ltn2, LTN2 )
|
||||
SCRIPT( ltn2, LTN2, "Latin 2" )
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -325,7 +325,7 @@ extern void* _af_debug_hints;
|
|||
*/
|
||||
|
||||
#undef SCRIPT
|
||||
#define SCRIPT(s, S ) \
|
||||
#define SCRIPT( s, S, d ) \
|
||||
AF_SCRIPT_ ## S,
|
||||
|
||||
/* The list of known scripts. */
|
||||
|
|
Loading…
Reference in New Issue