diff options
author | Owen Taylor <otaylor@redhat.com> | 2003-07-26 03:14:45 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2003-07-26 03:14:45 +0000 |
commit | 11d57ee7c13faabd210507545b6d4d23ae57febc (patch) | |
tree | 34211972ee6f4df6a86d37902a358623f40b9c60 /pango/opentype/ftxopen.h | |
parent | 9efede3457787f587603d76957e91aa989c210a2 (diff) | |
download | pango-11d57ee7c13faabd210507545b6d4d23ae57febc.tar.gz |
Update of GPOS and GSUB support to OpenType 1.3 (From FreeType, Werner
Fri Jul 25 23:07:06 2003 Owen Taylor <otaylor@redhat.com>
Update of GPOS and GSUB support to OpenType 1.3
(From FreeType, Werner Lemberg, 2001-08-08)
* pango/opentype/ftxopen.h: Add RIGHT_TO_LEFT LookupFlag
* pango/opentype/ftxgpos.c (GPOS_Instance): Add 'first'
member to mark the beginning of a chain of cursive connections.
* pango/opentype/ftxgpos.c (Do_String_Lookup): If the
RIGHT_TO_FLAG flag is set, shift cursive chain up so
last glyph is on the baseline.
Diffstat (limited to 'pango/opentype/ftxopen.h')
-rw-r--r-- | pango/opentype/ftxopen.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pango/opentype/ftxopen.h b/pango/opentype/ftxopen.h index 052f25cc..84c85e76 100644 --- a/pango/opentype/ftxopen.h +++ b/pango/opentype/ftxopen.h @@ -155,9 +155,13 @@ extern "C" { typedef struct TTO_LookupList_ TTO_LookupList; -/* Possible LookupFlag bit masks. `IGNORE_SPECIAL_MARKS' comes from the - OpenType 1.2 specification. */ + /* Possible LookupFlag bit masks. `IGNORE_SPECIAL_MARKS' comes from the + OpenType 1.2 specification; RIGHT_TO_LEFT has been (re)introduced in + OpenType 1.3 -- if set, the last glyph in a cursive attachment + sequence has to be positioned on the baseline -- regardless of the + writing direction. */ +#define RIGHT_TO_LEFT 0x0001 #define IGNORE_BASE_GLYPHS 0x0002 #define IGNORE_LIGATURES 0x0004 #define IGNORE_MARKS 0x0008 |