diff --git a/ChangeLog b/ChangeLog index 7d085af38..ef73db4dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2007-03-05 David Turner + * src/truetype/ttobs.c (tt_size_init_bytecode): bugfix, we need to + clear the x_ppem and y_ppem fields of the TT_Size.metrics structure, + note those of TT_Size.root.metrics. duh !! + * src/type1/t1afm.c (T1_Read_PFM): bug fix: read the kerning values as 16-bit *signed* values, not unsigned ones. diff --git a/src/truetype/ttobjs.c b/src/truetype/ttobjs.c index e0edc0a4e..8f849dd87 100644 --- a/src/truetype/ttobjs.c +++ b/src/truetype/ttobjs.c @@ -595,10 +595,9 @@ /* Set default metrics */ { - FT_Size_Metrics* metrics = &size->root.metrics; + FT_Size_Metrics* metrics = &size->metrics; TT_Size_Metrics* metrics2 = &size->ttmetrics; - metrics->x_ppem = 0; metrics->y_ppem = 0;