Improving rotated text
From Apache OpenOffice Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The problem was described here. I applied a bit modified way of counting if glyph belongs to current line and now it looks like correctly.