ref: 0f2b7bda6e8096b5327af00e434ebc83ddfd80a1
parent: 799441101a56cfb2c5768d75d722742b6eefb97d
author: Werner Lemberg <[email protected]>
date: Sat May 19 11:15:47 EDT 2007
* src/sfnt/ttmtx.c (tt_face_get_metrics) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-19 Werner Lemberg <[email protected]>
+
+ * src/sfnt/ttmtx.c (tt_face_get_metrics)
+ [!FT_CONFIG_OPTION_OLD_INTERNALS]: Another type-punning fix.
+
2007-05-19 Derek Clegg <[email protected]>
Savannah patch #5929.
--- a/src/sfnt/ttmtx.c
+++ b/src/sfnt/ttmtx.c
@@ -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;
}