bugfix: do not erase root x_ppem and y_ppem values in tt_size_init_bytecode
This commit is contained in:
parent
085bc6e2b2
commit
91aaf3267b
|
@ -1,5 +1,9 @@
|
||||||
2007-03-05 David Turner <david@freetype.org>
|
2007-03-05 David Turner <david@freetype.org>
|
||||||
|
|
||||||
|
* 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
|
* src/type1/t1afm.c (T1_Read_PFM): bug fix: read the kerning values
|
||||||
as 16-bit *signed* values, not unsigned ones.
|
as 16-bit *signed* values, not unsigned ones.
|
||||||
|
|
||||||
|
|
|
@ -595,10 +595,9 @@
|
||||||
|
|
||||||
/* Set default metrics */
|
/* Set default metrics */
|
||||||
{
|
{
|
||||||
FT_Size_Metrics* metrics = &size->root.metrics;
|
FT_Size_Metrics* metrics = &size->metrics;
|
||||||
TT_Size_Metrics* metrics2 = &size->ttmetrics;
|
TT_Size_Metrics* metrics2 = &size->ttmetrics;
|
||||||
|
|
||||||
|
|
||||||
metrics->x_ppem = 0;
|
metrics->x_ppem = 0;
|
||||||
metrics->y_ppem = 0;
|
metrics->y_ppem = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue