xtim
Monday, October 27, 2008
 
Vertical Text fixed
Found the cause of the problem with vertical text.

Our text was getting split into many separate blocks, when it should really have been a single column. The algorithm responsible for block-splitting takes into account the dimensions of each character's rectangle on the page, and this was getting confused. For some characters (notably 'i's, 'l's and 'f's), the PDF handling routines were reporting a rectangle of tiny (and negative) width - millionths of a point wide.

Now using the larger of reported height and width for the calculation instead. This seems much more reliable, and I'm regenerating the text for our first text-enabled title with the new algorithm.

T

Labels:


Comments: Post a Comment

<< Home

Powered by Blogger