Quote:
Originally Posted by caritas
Most items in wish list is reasonable. Although I may have not enough ability to finish all of them. I have a new version now and hopes it accomplish some wishes. 
|
Thank you for all your efforts!
Wishlists are
guides to implement changes. Please do start with the easy ones and (eventually) work up to the hard ones.
No pressure to do so, as we all should be grateful for (free) software that works as advertised!
I have been thinking about your methods without actually following your code. These are some ideas you may choose to incorporate:
1. When the (halfway) split point falls on a word, the decision to add the flex to find the end of that word should take into account 'how much of that word is to the right'. In particular, if more of the word falls to the right of the split point, then the split should occur at the *previous* word; not the word where the split falls.
2. If the main pdf text appears justified, then the (halfway) split point will usually fall at the same point on each subsequent line. However, if the text appears left-aligned, then the split point should be calculated on each line's actual width. This will avoid having the first line segment always longer than the split next line segment.