Hi Karen,

I seem to be having a bit of trouble getting that text parsing right. I 
was mainly just trying to get something to work to see on the output.
It should be able to be simplified thanks to the earlöier whitespace 
handling.
I still wonder what should be done in a situation like:
<block>some text <inline text-decoration="underline"> more 
text<inline><block>
Is the space before "more" underlined or not?

Keiron.

On 2002.02.23 18:30 [EMAIL PROTECTED] wrote:
> Keiron,
> 
> I see you've actually started to make TextLayoutManager do something. I
> noticed during my CTM testing with the PDF renderer, that it's "eating"
> the first character of my text, ie. "Hello world" came out as "ello
> world". Since I don't think you're French which could account for not
> pronouncing the 'h', I thought it might be due to the 'wordStart + 1'
> used to set the text for the Word Area.
> 
> I also noticed there's a lot of whitespace handling in the code still. A
> few months ago I put some white-space handling into the FO tree building
> logic. In fo.flow.Block.end(), it basically iterates over all its kids
> and tries to get rid of all the unnecessary white-space before it gets
> to the layout manager.
> The idea was that the LM would only see the whitespace it was actually
> supposed to layout and the linefeeds which were real line-break
> characters.
> 
> I haven't studied the new TextLM code in detail, but I would think it
> could be simplified based on that approach.
> 
> Regards,
> Karen



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

Reply via email to