Formatting.
This commit is contained in:
parent
06d6916c96
commit
13e87e0426
|
@ -2633,13 +2633,10 @@
|
|||
|
||||
if ( CUR.GS.dualVector.x == 0x4000 )
|
||||
CUR.func_dualproj = Project_x;
|
||||
else if ( CUR.GS.dualVector.y == 0x4000 )
|
||||
CUR.func_dualproj = Project_y;
|
||||
else
|
||||
{
|
||||
if ( CUR.GS.dualVector.y == 0x4000 )
|
||||
CUR.func_dualproj = Project_y;
|
||||
else
|
||||
CUR.func_dualproj = Dual_Project;
|
||||
}
|
||||
CUR.func_dualproj = Dual_Project;
|
||||
|
||||
/* Force recalculation of cached aspect ratio */
|
||||
CUR.tt_metrics.ratio = 0;
|
||||
|
@ -2649,35 +2646,26 @@
|
|||
#endif /* TT_CONFIG_OPTION_UNPATENTED_HINTING */
|
||||
|
||||
if ( CUR.GS.freeVector.x == 0x4000 )
|
||||
CUR.F_dot_P = CUR.GS.projVector.x * 0x10000L;
|
||||
CUR.F_dot_P = CUR.GS.projVector.x * 0x10000L;
|
||||
else if ( CUR.GS.freeVector.y == 0x4000 )
|
||||
CUR.F_dot_P = CUR.GS.projVector.y * 0x10000L;
|
||||
else
|
||||
{
|
||||
if ( CUR.GS.freeVector.y == 0x4000 )
|
||||
CUR.F_dot_P = CUR.GS.projVector.y * 0x10000L;
|
||||
else
|
||||
CUR.F_dot_P = (FT_Long)CUR.GS.projVector.x * CUR.GS.freeVector.x * 4 +
|
||||
(FT_Long)CUR.GS.projVector.y * CUR.GS.freeVector.y * 4;
|
||||
}
|
||||
CUR.F_dot_P = (FT_Long)CUR.GS.projVector.x * CUR.GS.freeVector.x * 4 +
|
||||
(FT_Long)CUR.GS.projVector.y * CUR.GS.freeVector.y * 4;
|
||||
|
||||
if ( CUR.GS.projVector.x == 0x4000 )
|
||||
CUR.func_project = (TT_Project_Func)Project_x;
|
||||
else if ( CUR.GS.projVector.y == 0x4000 )
|
||||
CUR.func_project = (TT_Project_Func)Project_y;
|
||||
else
|
||||
{
|
||||
if ( CUR.GS.projVector.y == 0x4000 )
|
||||
CUR.func_project = (TT_Project_Func)Project_y;
|
||||
else
|
||||
CUR.func_project = (TT_Project_Func)Project;
|
||||
}
|
||||
CUR.func_project = (TT_Project_Func)Project;
|
||||
|
||||
if ( CUR.GS.dualVector.x == 0x4000 )
|
||||
CUR.func_dualproj = (TT_Project_Func)Project_x;
|
||||
else if ( CUR.GS.dualVector.y == 0x4000 )
|
||||
CUR.func_dualproj = (TT_Project_Func)Project_y;
|
||||
else
|
||||
{
|
||||
if ( CUR.GS.dualVector.y == 0x4000 )
|
||||
CUR.func_dualproj = (TT_Project_Func)Project_y;
|
||||
else
|
||||
CUR.func_dualproj = (TT_Project_Func)Dual_Project;
|
||||
}
|
||||
CUR.func_dualproj = (TT_Project_Func)Dual_Project;
|
||||
|
||||
CUR.func_move = (TT_Move_Func)Direct_Move;
|
||||
CUR.func_move_orig = (TT_Move_Func)Direct_Move_Orig;
|
||||
|
@ -2689,13 +2677,10 @@
|
|||
CUR.func_move = (TT_Move_Func)Direct_Move_X;
|
||||
CUR.func_move_orig = (TT_Move_Func)Direct_Move_Orig_X;
|
||||
}
|
||||
else
|
||||
else if ( CUR.GS.freeVector.y == 0x4000 )
|
||||
{
|
||||
if ( CUR.GS.freeVector.y == 0x4000 )
|
||||
{
|
||||
CUR.func_move = (TT_Move_Func)Direct_Move_Y;
|
||||
CUR.func_move_orig = (TT_Move_Func)Direct_Move_Orig_Y;
|
||||
}
|
||||
CUR.func_move = (TT_Move_Func)Direct_Move_Y;
|
||||
CUR.func_move_orig = (TT_Move_Func)Direct_Move_Orig_Y;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue