Hallo!
in TextBase :: makeLineDist() the "i" was defined "unsigned integer"
it seems like i am guilty for introducing this bug, since i am not able to locate it in your sources (as they are on your homepage)
thanks for checking - yes, there is no unsigned here ...
LG Georg