added line height calculation and line differences
angle adjustment works