summaryrefslogtreecommitdiff
path: root/src/autofit/afglobal.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2012-09-12 17:45:39 +0200
committerWerner Lemberg <wl@gnu.org>2012-09-12 17:45:39 +0200
commit7bbbcbfb1aa8c908fe713743f2909ba774b2072e (patch)
tree84af634d51e36dae39c8018769dda088fc0ceb87 /src/autofit/afglobal.h
parent44481daf4335de767872b3e64bcc231e6ee567bc (diff)
downloadfreetype2-7bbbcbfb1aa8c908fe713743f2909ba774b2072e.tar.gz
[autofit] Minor reorganization.
* src/autofit/afglobal.c (AF_SCRIPT_LIST_DEFAULT, AF_SCRIPT_LIST_NONE, AF_DIGIT): Move to... * src/autofit/afglobal.h (AF_SCRIPT_DEFAULT, AF_SCRIPT_LIST_NONE, AF_DIGIT): This and update code.
Diffstat (limited to 'src/autofit/afglobal.h')
-rw-r--r--src/autofit/afglobal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/autofit/afglobal.h b/src/autofit/afglobal.h
index 9137dced2..3bb77d157 100644
--- a/src/autofit/afglobal.h
+++ b/src/autofit/afglobal.h
@@ -36,6 +36,14 @@ FT_BEGIN_HEADER
/************************************************************************/
+ /* index of default script in `af_script_classes' */
+#define AF_SCRIPT_DEFAULT 2
+ /* a bit mask indicating an uncovered glyph */
+#define AF_SCRIPT_NONE 0x7F
+ /* if this flag is set, we have an ASCII digit */
+#define AF_DIGIT 0x80
+
+
/*
* Note that glyph_scripts[] is used to map each glyph into
* an index into the `af_script_classes' array.