harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey A. Ivanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-2243) [classlib][swing] j.s.text.GlyphView incorrectly measures itself where text has tabs
Date Mon, 20 Nov 2006 12:43:02 GMT
[classlib][swing] j.s.text.GlyphView incorrectly measures itself where text has tabs
------------------------------------------------------------------------------------

                 Key: HARMONY-2243
                 URL: http://issues.apache.org/jira/browse/HARMONY-2243
             Project: Harmony
          Issue Type: Bug
          Components: Classlib
            Reporter: Alexey A. Ivanov


In situations where text has tabs, javax.swing.text.GlyphView will incorrectly measure itself
which prevents the right layout.
GlyphView doesn't measure itself directly, it delegates to GlyphPainter instance and uses
its getSpan() method. The method has x as one of its parameters, and it is used for tab expansion,
which does depend on start coordinate. And this x is always 0.0 in Harmony.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message