Allow some narrowing at cross stroke ends

This commit is contained in:
Shaunak Kishore
2015-08-17 11:42:56 -04:00
parent 7cc924a2cf
commit d42e70d174
2 changed files with 2 additions and 2 deletions

View File

@ -105,7 +105,7 @@ class Cusp(object):
features[0]*features[1] > 0,
features[0]*features[2] < 0,
alignment < math.pi,
abs(features[2]) + abs(features[3]) > math.pi,
abs(features[2]) + abs(features[3]) > 0.5*math.pi,
])
result = 0
if features[2]*features[3] > 0 and (clean or (short and cross)):

2
test
View File

@ -1,2 +1,2 @@
#!/bin/bash
./getchar.py 4f60 597d 5b78 5b66 4e08 4e18 4e28 4e38 4e48 4e58 4e68 4e78 4e80 4e81 4e82 4e83 > chars.log
./getchar.py 4f60 597d 5b78 5b66 4e08 4e18 4e28 4e38 4e48 4e58 4e68 4e78 4e80 4e81 4e82 4e83 4e70 4e71 4e72 4e73 4e74 4e75 4e76 4e77 4e07 4e17 4e27 4e37 4e47 4e57 4e67 4e77 > chars.log