* src/type/t1load.c (mm_axis_unmap): Revert previous patch and fix
it correctly by using FT_INT_TO_FIXED (FreeType expects 16.16 values in the /BlendDesignMap space).
This commit is contained in:
parent
b2cb6ce6c4
commit
8f9b7f50a5
|
@ -1,3 +1,9 @@
|
|||
2008-11-29 James Cloos <cloos@jhcloos.com>
|
||||
|
||||
* src/type/t1load.c (mm_axis_unmap): Revert previous patch and fix
|
||||
it correctly by using FT_INT_TO_FIXED (FreeType expects 16.16 values
|
||||
in the /BlendDesignMap space).
|
||||
|
||||
2008-11-29 James Cloos <cloos@jhcloos.com>
|
||||
|
||||
* src/type1/t1load.c (mm_axis_unmap): `blend_points' is FT_Fixed*,
|
||||
|
|
|
@ -230,7 +230,7 @@
|
|||
|
||||
|
||||
if ( ncv <= axismap->blend_points[0] )
|
||||
return axismap->blend_points[0];
|
||||
return FT_INT_TO_FIXED( axismap->design_points[0] );
|
||||
|
||||
for ( j = 1; j < axismap->num_points; ++j )
|
||||
{
|
||||
|
@ -249,7 +249,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
return axismap->blend_points[axismap->num_points - 1];
|
||||
return FT_INT_TO_FIXED( axismap->design_points[axismap->num_points - 1] );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue