* use double instead of float for internals
* fix underline effected by previous pen modifications
* remove undeeded casts after float to double change