Brought the implementation of GenerateLines up to the version in the ike-truetype-font branch.