Re: CJK line breaking (test doc)

From: Roland Kay <roland.kay_at_ox.compsoc.net>
Date: Thu Mar 24 2005 - 11:30:21 CET

First of all thanks to Thomas for looking at and committing the patch.
I'll improve the commenting as soon as I get a moment. Life will be much
easier with it in the tree.

At present, I'm investigating the asserts generated by the test document
that I posted to the mailing list on 7th March.

In fp_Line::recalcMaxWidth() iMaxWidth is first set to the container
width. Then the left and right margins are subtracted and finally the text
indent. The problem seems to be that fl_BlockLayout::getTextIndent()
returns negative values. As soon as the magnitude of the text indent
exceeds the difference between the container and the page width then the
assert is generated.

Is it sensible for getTextIndent() to be returning negative values? It
seems a little counter-intuitive to me, but I don't know the background to
this.

Best wishes,

R.
Received on Thu Mar 24 11:33:23 2005

This archive was generated by hypermail 2.1.8 : Thu Mar 24 2005 - 11:33:26 CET