On Tue, Nov 18, 2008 at 06:59:07PM +0100, Andreas Delmelle wrote:
> On 17 Nov 2008, at 21:35, Andreas Delmelle wrote:
>
> Just some more follow-up:
>> On 17 Nov 2008, at 20:40, Simon Pepping wrote:
>>>
>>> Someone sent me a file which also shows problems with hyphenation:
>>>
>>> <fo:block hyphenate="true"><fo:inline>Some text ending in a space and
>>> a period .</fo:inline></fo:block>
>>>
>>> If the text is longer than a line, parts of the text
>>> disappear. Without hyphenation there is no problem. Maybe it is
>>> related.
>>
> Looking closer, line 918 in TextLM is the cause of this:
>
> this.hasChanged = !nothingChanged;
>
> If hyphenate() is called multiple times, and the last time it changes  
> nothing, then applyChanges() will always return false, which results in 
> getChangedKnuthElements() not being called later.
>
> Making it:
> this.hasChanged = (this.hasChanged || !nothingChanged);
>
> Seems to correct the issue at hand.

It does. Thanks. Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu

Reply via email to