Whitespace.

This commit is contained in:
Werner Lemberg 2013-03-23 14:25:43 +01:00
parent fbb0773cb1
commit eed830614f
5 changed files with 56 additions and 52 deletions

View File

@ -481,7 +481,8 @@
FT_Bool under_ref = FT_BOOL( shoot < ref );
if ( (AF_CJK_BLUE_TOP == bb || AF_CJK_BLUE_RIGHT == bb) ^ under_ref )
if ( ( AF_CJK_BLUE_TOP == bb ||
AF_CJK_BLUE_RIGHT == bb ) ^ under_ref )
*blue_shoot = *blue_ref = ( shoot + ref ) / 2;
}

View File

@ -938,6 +938,7 @@
{
AF_SegmentRec tmp;
tmp = segments[ii];
segments[ii] = segments[jj];
segments[jj] = tmp;
@ -1144,6 +1145,7 @@
{
FT_Pos dist = seg->serif->pos - seg->pos;
if ( dist < 0 )
dist = -dist;
@ -1631,9 +1633,9 @@
FT_Int sign = 0;
FT_Int vertical = ( dim == AF_DIMENSION_VERT );
FT_UNUSED( base_flags );
if ( !AF_LATIN_HINTS_DO_STEM_ADJUST( hints ) ||
axis->extra_light )
return width;
@ -1900,7 +1902,8 @@
anchor_drift = ( anchor->pos - anchor->opos );
if ( edge2 )
anchor_drift = (anchor_drift + (edge2->pos - edge2->opos)) >> 1;
anchor_drift = ( anchor_drift +
( edge2->pos - edge2->opos ) ) >> 1;
}
}
}
@ -2055,8 +2058,8 @@
* to 25/75%, since this is much more pleasant to the eye with
* very acceptable distortion
*/
FT_Pos frac_left = (org_left) & 63;
FT_Pos frac_right = (org_right) & 63;
FT_Pos frac_left = org_left & 63;
FT_Pos frac_right = org_right & 63;
if ( frac_left >= 22 && frac_left <= 42 &&
frac_right >= 22 && frac_right <= 42 )