To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=73563
                 Issue #|73563
                 Summary|SortGlyphItems and glyph fallback for Lohit Bengali As
                        |sam text
               Component|gsl
                 Version|OOo 2.1
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|cmc
             Reported by|cmc





------- Additional comments from [EMAIL PROTECTED] Wed Jan 17 04:52:51 -0800 
2007 -------
Four attachments, 

demoproblem-small.odt pass
demoproblem-small2.odt fail
demoproblem.odt fail
screenshot.png: pass beside fail

X (Y) is where X is maLinearPos.X() and (Y) is mnGlyphIndex of each element

demoproblem-small2.odt debug dump of SortGlyphItems:
Start positions of count of 3 are:
 2219 (437)  2177 (131) 
End positions of count of 3 are:
 2177 (131)  2219 (437) 
Start positions of count of 3 are:
 25 (437)  24 (131) 
End positions of count of 3 are:
 24 (131)  25 (437) 
Start positions of count of 3 are:
 2219 (437)  2177 (131) 
End positions of count of 3 are:
 2177 (131)  2219 (437) 
Start positions of count of 3 are:
 25 (437)  24 (131) 
End positions of count of 3 are:
 24 (131)  25 (437) 

demoproblem-small.odt debug dump of SortGlyphItems:
Start positions of count of 4 are:
 2219 (437)  2177 (3)  3174 (131) 
End positions of count of 4 are:
 2177 (3)  2219 (437)  3174 (131) 
Start positions of count of 4 are:
 25 (437)  24 (3)  35 (131) 
End positions of count of 4 are:
 24 (3)  25 (437)  35 (131) 
Start positions of count of 4 are:
 2219 (437)  2177 (3)  3174 (131) 
End positions of count of 4 are:
 2177 (3)  2219 (437)  3174 (131) 
Start positions of count of 4 are:
 25 (437)  24 (3)  35 (131) 
End positions of count of 4 are:
 24 (3)  25 (437)  35 (131) 

So I "fail" when glyph 437 gets sorted before 131 (Lohit Bengali is in
fonts-bengali on fedora) In the "pass" case the characters are all in "Lohit
Bengali", and so the whole thing gets processed in one chunk. In the 2nd case
glyph replacement takes place and in the font fallback Lohit Bengali is detected
as the font for the missing characters, but space is not missing from the Nimbus
font so there's no request for a space glyph. So
pass: 2219 (437)  2177 (3)  3174 (131) ->  24 (3)  25 (437)  35 (131) 
is 
fail: 2219 (437)  2177 (131) -> 24 (131)  25 (437) 

If SortGlyphItems sorts into visual order then the pass results look strange to
me as (3) is the space glyph which I wouldn't have expected to see at the start
of the visual sequence.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to