Quote:
Originally Posted by ldolse
That was why I originally added the check for 85 characters to the second expression. That way only lines which are approaching the length of the entire page are wrapped, as they would likely have been wrapped anyway.
|
The only thing I worry with this is it assumes the source pdf is an 8.5x11 page and the font is a certain size (12 point I'm assuming). Do you have any ideas for cases such as a pdf sized for an e-reader? The Cybook's page size would be 3.5x4.7 inches.
Quote:
Originally Posted by ldolse
Here are the latest changes, and this creates the cleanest looking results yet
|
I'll merge them soon.