diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-11-10 10:30:17 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2009-11-10 10:30:17 +0000 |
commit | ac4c4a45682b1157c58076c40c943a3d9a2cad77 (patch) | |
tree | 2bf13ce5c730f42f654abf500e95ce60ecf4bd4c /Build/source/texk/dvipdfmx/src/tt_post.c | |
parent | c7373aea6badf4ce6e1bca4a5335b89569d5c8a5 (diff) |
towards TL2010: texk/dvipdfmx
git-svn-id: svn://tug.org/texlive/trunk@15972 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/tt_post.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/tt_post.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Build/source/texk/dvipdfmx/src/tt_post.c b/Build/source/texk/dvipdfmx/src/tt_post.c index 8588a6d03bd..489e77bccd6 100644 --- a/Build/source/texk/dvipdfmx/src/tt_post.c +++ b/Build/source/texk/dvipdfmx/src/tt_post.c @@ -30,7 +30,7 @@ #include "tt_post.h" -static const char *const macglyphorder[258]; +static const char *macglyphorder[258]; /* offset from begenning of the post table */ #define NAME_STR_OFFSET 32 @@ -74,11 +74,11 @@ read_v2_post_names (struct tt_post_table *post, sfnt *sfont) } } - post->glyphNamePtr = NEW(post->numberOfGlyphs, char *); + post->glyphNamePtr = NEW(post->numberOfGlyphs, const char *); for (i = 0; i < post->numberOfGlyphs; i++) { idx = indices[i]; if (idx < 258) { - post->glyphNamePtr[i] = (char *) macglyphorder[idx]; + post->glyphNamePtr[i] = macglyphorder[idx]; } else if (idx - 258 < post->count) { post->glyphNamePtr[i] = post->names[idx - 258]; } else { @@ -120,7 +120,7 @@ tt_read_post_table (sfnt *sfont) if (post->Version == 0x00010000UL) { post->numberOfGlyphs = 258; /* wrong */ - post->glyphNamePtr = (char **) macglyphorder; + post->glyphNamePtr = macglyphorder; post->count = 0; post->names = NULL; } else if (post->Version == 0x00025000UL) { @@ -192,7 +192,7 @@ tt_release_post_table (struct tt_post_table *post) } /* Macintosh glyph order - from apple's TTRefMan */ -static const char *const +static const char * macglyphorder[258] = { /* 0x0000 */ ".notdef", ".null", "nonmarkingreturn", "space", "exclam", "quotedbl", |