* src/pshinter/pshalgo2.c: changed 'print_zone' to 'psh2_print_zone'
* src/pshinter/pshalgo1.c: changed 'print_zone' to 'psh1_print_zone'
This commit is contained in:
parent
acfea4ddd9
commit
4997097752
|
@ -4,6 +4,10 @@
|
|||
fixed another bug related to the ascender/descender/text height of
|
||||
Postscript fonts. Damn, this should have been fixed on 2002-03-04 !
|
||||
|
||||
* src/pshinter/pshalgo2.c: changed 'print_zone' to 'psh2_print_zone'
|
||||
* src/pshinter/pshalgo1.c: changed 'print_zone' to 'psh1_print_zone'
|
||||
|
||||
|
||||
2002-03-06 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
* src/pshinter/pshglob.h (PSH_DimensionRec): s/std/stdw/.
|
||||
|
|
|
@ -498,7 +498,7 @@
|
|||
#include <stdio.h>
|
||||
|
||||
static void
|
||||
print_zone( PSH1_Zone zone )
|
||||
psh1_print_zone( PSH1_Zone zone )
|
||||
{
|
||||
printf( "zone [scale,delta,min,max] = [%.3f,%.3f,%d,%d]\n",
|
||||
zone->scale / 65536.0,
|
||||
|
@ -508,7 +508,7 @@
|
|||
}
|
||||
|
||||
#else
|
||||
#define print_zone( x ) do { } while ( 0 )
|
||||
#define psh1_print_zone( x ) do { } while ( 0 )
|
||||
#endif
|
||||
|
||||
/* setup interpolation zones once the hints have been grid-fitted */
|
||||
|
@ -549,7 +549,7 @@
|
|||
zone->min = PSH1_ZONE_MIN;
|
||||
zone->max = hint->org_pos;
|
||||
|
||||
print_zone( zone );
|
||||
psh1_print_zone( zone );
|
||||
|
||||
zone++;
|
||||
|
||||
|
@ -570,7 +570,7 @@
|
|||
zone->max = hint->org_pos + hint->org_len;
|
||||
zone->delta = hint->cur_pos - FT_MulFix( zone->min, scale2 );
|
||||
|
||||
print_zone( zone );
|
||||
psh1_print_zone( zone );
|
||||
|
||||
zone++;
|
||||
}
|
||||
|
@ -593,7 +593,7 @@
|
|||
zone->delta = hint->cur_pos + hint->cur_len -
|
||||
FT_MulFix( zone->min, scale2 );
|
||||
|
||||
print_zone( zone );
|
||||
psh1_print_zone( zone );
|
||||
|
||||
zone++;
|
||||
|
||||
|
@ -607,7 +607,7 @@
|
|||
zone->delta = hint->cur_pos + hint->cur_len -
|
||||
FT_MulFix( zone->min, scale );
|
||||
|
||||
print_zone( zone );
|
||||
psh1_print_zone( zone );
|
||||
|
||||
zone++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue