On 8 Jan 2008 at 12:49, Brian Barker wrote:

> At 06:08 08/01/2008 -0800, Rogier van Vlissingen wrote:
> >I'm running into a persistent formatting problem. It is a quote 
> >within brackets, which seems to prevent the sentence from wrapping 
> >around in a normal way.
> >
> >example:
> >... to "the awareness of love's presence" (ACIM:Introduction), ...
> >
> >in this case it is the (ACIM:Introduction), which ends up pulling 
> >the -- presence" -- to the next line, even though there is plenty of 
> >space for the word on the previous line.

Hamm, apart from bugs, it looks as though the line-break algorithm is 
poor anyway. It's been known for a long time you need to use lookahead 
to sort out difficult cases, and OOo clearly doesn't.

For example, the paragraph:

Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd Asd 
Asd Asd Asd Asd verylonganduglywordtocauselinebreakhassle 
verylonganduglywordtocauselinebreakhassle 
verylonganduglywordtocauselinebreakhassle

when justified on an A4 page (2cm margins) in 12pt TimesNR (2.3.1/XP) 
puts all the 'asd' strings on one line, and the next two long words 
alone on the next with a huge space between. It looks ugly. A better 
system would shift two (in this case) of the short words down a line - 
the first line would then not be optimum, the second line would look 
much better. It can be treated as a dynamic programming problem.

Now that's 20-year-old technology or thereabouts..... I'd sort-of hoped 
OOo would do better than it does.  I know this is a pathological 
example - but similar problems do occasionally pop up in normal text.

:-(


-- 
http://www.scottsonline.org.uk lists incoming sites blocked because of 
spam
[EMAIL PROTECTED]    Mike Scott, Harlow, Essex, England



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to