From 9a1ad2dac34ae651d18f94e9beba13a1aff8b65f Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 17 Oct 2013 19:39:11 +0200 Subject: [PATCH] Rename `tascript.h' to `ttfautohint-scripts.h'. This will eventually become a public header file so that applications can get the names of the supported scripts. --- lib/Makefile.am | 4 ++-- lib/taglobal.c | 4 ++-- lib/tatypes.h | 2 +- lib/{tascript.h => ttfautohint-scripts.h} | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename lib/{tascript.h => ttfautohint-scripts.h} (93%) diff --git a/lib/Makefile.am b/lib/Makefile.am index ab633c8..088dde9 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -44,7 +44,6 @@ libttfautohint_la_SOURCES = \ taname.c \ tapost.c \ taprep.c \ - tascript.h \ tasfnt.c \ tasort.c tasort.h \ tatables.c tatables.h \ @@ -53,7 +52,8 @@ libttfautohint_la_SOURCES = \ tattf.c \ tatypes.h \ tawrtsys.h \ - ttfautohint.c ttfautohint.h ttfautohint-errors.h + ttfautohint.c \ + ttfautohint.h ttfautohint-errors.h ttfautohint-scripts.h libttfautohint_la_LIBADD = \ libnumberset.la diff --git a/lib/taglobal.c b/lib/taglobal.c index 1e92bc8..6bfec3c 100644 --- a/lib/taglobal.c +++ b/lib/taglobal.c @@ -47,7 +47,7 @@ TA_WritingSystemClass const ta_writing_system_classes[] = TA_ScriptClass const ta_script_classes[] = { -#include "tascript.h" +#include NULL /* do not remove */ }; @@ -61,7 +61,7 @@ TA_ScriptClass const ta_script_classes[] = const char* ta_script_names[] = { -#include "tascript.h" +#include }; diff --git a/lib/tatypes.h b/lib/tatypes.h index fd8774f..6c54f77 100644 --- a/lib/tatypes.h +++ b/lib/tatypes.h @@ -258,7 +258,7 @@ typedef struct TA_WritingSystemClassRec_ /* The list of known scripts. */ typedef enum TA_Script_ { -#include "tascript.h" +#include TA_SCRIPT_MAX /* do not remove */ } TA_Script; diff --git a/lib/tascript.h b/lib/ttfautohint-scripts.h similarity index 93% rename from lib/tascript.h rename to lib/ttfautohint-scripts.h index 5ee0ec7..8a66760 100644 --- a/lib/tascript.h +++ b/lib/ttfautohint-scripts.h @@ -1,4 +1,4 @@ -/* tascript.h */ +/* ttfautohint-scripts.h */ /* * Copyright (C) 2013 by Werner Lemberg. @@ -35,4 +35,4 @@ SCRIPT(hani, HANI, "CJKV ideographs") SCRIPT(ltn2, LTN2, "Latin 2") #endif -/* end of tascript.h */ +/* end of ttfautohint-scripts.h */ -- 2.11.4.GIT