Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame