Quote:
Originally Posted by caritas
>Is the split at half the page width "fixed" or can it be changed to a user inputted amount, like >one-third or 25%?
Now it is fixed. But why split the line at 1/3 or 1/4? One longer line and one short line will be produced for one original line.
The actual page width generated now is 1/2+1/6 = 2/3 of original page text width. The additional 1/6 is used for finding the space between words.
|
Sorry, what I meant by split at 1/3 is to have three equal portions of the line being split and then triple the page height to add those (two) additional lines beneath the line being split. Now the resulting page would be 1/3+1/6 = 1/2 of the original.
This is just like you do for 1/2 split (two equal halves with one line below the other).
By extension, 1/4 split would result in four lines of text from one and quadruple the height!
The reason this would be helpful would be to gain more clarity by rendering/cropping shorter lines for smaller screens.
When I looked at your code, I thought this would be easy to do. I think the 1/6 would be constant amongst these differing split methods.
Am I on the right track here?