updated font-metrics func
updates to createLine positioning
updates to createLine in new version 1038