Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I think you need to take the absolute value of the error, rather than the simple sum of negative and positive. I keep getting 100 when I'm slightly off in two directions.


I'm using the absolute value. The game has "tolerance" depending on the amount of letters you have to kern. So, if you have to kern 1 letter, you get 1px tolerance. 5 letters has 5px tolerance, and so on.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: