* src/pshinter/pshglob.c (psh_blues_scale_zones): fixed a bug that
prevented family blue zones substitution from hapenning correctly
This commit is contained in:
parent
665f30d3aa
commit
69e7ee0391
@ -1,5 +1,8 @@
|
||||
2005-05-28 David Turner <david@freetype.org>
|
||||
|
||||
* src/pshinter/pshglob.c (psh_blues_scale_zones): fixed a bug that
|
||||
prevented family blue zones substitution from hapenning correctly
|
||||
|
||||
* include/freetype/ftbdf.h: adding documentation comments for the
|
||||
API reference describing the new function FT_Get_BDF_Charset_ID.
|
||||
|
||||
|
@ -488,7 +488,14 @@
|
||||
|
||||
for ( ; count2 > 0; count2--, zone2++ )
|
||||
{
|
||||
if ( FT_MulFix( zone1->org_ref - zone2->org_ref, scale ) < 64 )
|
||||
FT_Pos delta;
|
||||
|
||||
|
||||
delta = zone1->org_ref - zone2->org_ref;
|
||||
if ( delta < 0 )
|
||||
delta = -delta;
|
||||
|
||||
if ( FT_MulFix( delta, scale ) < 64 )
|
||||
{
|
||||
zone1->cur_top = zone2->cur_top;
|
||||
zone1->cur_bottom = zone2->cur_bottom;
|
||||
|
Loading…
Reference in New Issue
Block a user