* src/sfnt/ttmtx.c (tt_face_get_metrics)

[!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
This commit is contained in:
Werner Lemberg 2007-05-19 15:15:47 +00:00
parent 799441101a
commit 0f2b7bda6e
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-19 Werner Lemberg <wl@gnu.org>
* src/sfnt/ttmtx.c (tt_face_get_metrics)
[!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
2007-05-19 Derek Clegg <dclegg@apple.com>
Savannah patch #5929.

View File

@ -359,7 +359,10 @@
if ( vertical )
{
header = (TT_HoriHeader*)&face->vertical;
void* v = &face->vertical;
header = (TT_HoriHeader*)v;
table_pos = face->vert_metrics_offset;
table_size = face->vert_metrics_size;
}