#NEWLINE# def _compare_kerning_values( self , left , right ) : #NEWLINE# #INDENT# 'Compare differences between kerning values, larger diffs first.' #NEWLINE# ( _ , ( vals1 , vals2 ) ) = left #NEWLINE# left_diff = sum ( ( abs ( ( v1 - v2 ) ) for ( v1 , v2 ) in zip ( vals1 , vals2 ) ) ) #NEWLINE# ( _ , ( vals1 , vals2 ) ) = right #NEWLINE# right_diff = sum ( ( abs ( ( v1 - v2 ) ) for ( v1 , v2 ) in zip ( vals1 , vals2 ) ) ) #NEWLINE# return ( right_diff - left_diff )