diff options
author | Adrian Johnson <ajohnson@redneon.com> | 2007-02-16 08:38:26 +1030 |
---|---|---|
committer | Adrian Johnson <ajohnson@redneon.com> | 2007-02-16 08:38:26 +1030 |
commit | 16e20568a502b86d96c3087515e663bb7996f167 (patch) | |
tree | b105eae599d73b8e84010b42bd150818707f87ec /src/cairo-truetype-subset-private.h | |
parent | 2715f2098127d04d2f9e304580a26cd0842c0e64 (diff) | |
download | cairo-16e20568a502b86d96c3087515e663bb7996f167.tar.gz |
TrueType: Add post table and 3,0 cmap encoding
Commit 05ff2c77da86c7be95924f9af4d3ad944afbbf66 contained
a fix for the acroread printing problem. However this
patch caused a problem for the Mac Preview PDF viewer.
http://lists.freedesktop.org/archives/cairo/2007-February/009615.html
This patch fixes the Mac Preview problem. The patch
- Adds a platform 3, encoding 0 cmap table
- Adds a post table that maps the glyph names in the
PDF truetype font dictionary (/g0 /g1 /g2 ...)
to glyph indices in the font.
Diffstat (limited to 'src/cairo-truetype-subset-private.h')
-rw-r--r-- | src/cairo-truetype-subset-private.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-truetype-subset-private.h b/src/cairo-truetype-subset-private.h index 80baa2837..25c798d7d 100644 --- a/src/cairo-truetype-subset-private.h +++ b/src/cairo-truetype-subset-private.h @@ -62,6 +62,7 @@ #define TT_TAG_loca MAKE_TT_TAG('l','o','c','a') #define TT_TAG_maxp MAKE_TT_TAG('m','a','x','p') #define TT_TAG_name MAKE_TT_TAG('n','a','m','e') +#define TT_TAG_post MAKE_TT_TAG('p','o','s','t') #define TT_TAG_prep MAKE_TT_TAG('p','r','e','p') /* All tt_* structs are big-endian */ |