On Wed, 2007-01-17 at 12:16 +0100, Herbert Duerr wrote:
> Hi Caolan,
> 
> > Chopping SortGlyphItems out "fixes the problem"(tm).
> 
> Please make sure the problem is still fixed when text justification is
> involved and also check the cursor positions.

Seemed unchanged for with/without in this case at least.

> Your Assam text with the Lohit-Bengali font would be interesting to me,
> because it would by a valid example for the need of SortGlyphItems.

Well, I attached my testcases to issue 73563 along with some debugging
output for SortGlyphItems for the working "all text is set to Lohit
Bengali" and the non-working "glyph/font fallback of Lohit Bengali
active for missing glyphs" cases.

> Anyone still remember what scenario led to the introduction of
> > "SortGlyphItems", should it still be there ?
> 
> Some algorithms (e.g. GetCharWidths/ApplyDXArray) in sallayout.cxx depend on
> the glyph vector being sorted in visual order from left to right.
> SortGlyphItems made this sure.

I think I get an interesting result in the "pass" case for the glyph for 
"space" 
which should be reproducible in the simple case without any font/glyph in 
action. Where the space glyph gets sorted to the start of the sequence of glyphs
though I would have expected it to stay at position 1 according to how it looks 
on 
screen when eventually rendered correctly.

Anyway, it all makes my brain bleed, but thanks for the help.

C.

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

Reply via email to