diff options
author | Taco Hoekwater <taco@elvenkind.com> | 2010-06-18 09:29:20 +0000 |
---|---|---|
committer | Taco Hoekwater <taco@elvenkind.com> | 2010-06-18 09:29:20 +0000 |
commit | 9db07d45aa3ffd06fb9958b92b82ca7e84041002 (patch) | |
tree | a86277378fbca63c448b7d4d1fd092d8d335c1bc /Build/source/texk/web2c/luatexdir/font | |
parent | 1812fd5a14e0bfad7bf8a1d9abe63508fece4c83 (diff) |
fix endianness issues with some luatex data structures for (un)dump
git-svn-id: svn://tug.org/texlive/trunk@19032 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/font')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/font/texfont.h | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/Build/source/texk/web2c/luatexdir/font/texfont.h b/Build/source/texk/web2c/luatexdir/font/texfont.h index 6a021726748..9281b19ec0d 100644 --- a/Build/source/texk/web2c/luatexdir/font/texfont.h +++ b/Build/source/texk/web2c/luatexdir/font/texfont.h @@ -17,7 +17,7 @@ You should have received a copy of the GNU General Public License along with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */ -/* $Id: texfont.h 3482 2010-03-13 11:18:28Z taco $ */ +/* $Id: texfont.h 3723 2010-06-18 09:19:27Z taco $ */ /* Here we have the interface to LuaTeX's font system, as seen from the main pascal program. There is a companion list in luatex.defines to @@ -32,15 +32,28 @@ # define pointer halfword +/* these are dumped en block, so they need endianness tests */ typedef struct liginfo { +# ifdef WORDS_BIGENDIAN int adj; int lig; - char type; + int type; +#else + int type; + int lig; + int adj; +#endif } liginfo; +/* these are dumped en block, so they need endianness tests */ typedef struct kerninfo { +# ifdef WORDS_BIGENDIAN int adj; scaled sc; +#else + scaled sc; + int adj; +#endif } kerninfo; typedef struct extinfo { |