You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/02/14 01:27:16 UTC

[Bug 124233] New: Different text rendering (word/character width) depending on zoom factor

https://issues.apache.org/ooo/show_bug.cgi?id=124233

            Bug ID: 124233
        Issue Type: DEFECT
           Summary: Different text rendering (word/character width)
                    depending on zoom factor
           Product: Impress
           Version: 4.1.0-dev
          Hardware: Mac
                OS: Mac OSX, 10.9
            Status: UNCONFIRMED
          Severity: critical
          Priority: P1
         Component: ui
          Assignee: issues@openoffice.apache.org
          Reporter: thorsten.wagner.4@gmail.com
                CC: issues@openoffice.apache.org

Created attachment 82585
  --> https://issues.apache.org/ooo/attachment.cgi?id=82585&action=edit
Sample impress presentation

With AOO 4.1 text rendering has been improved using native OS X rendering I
assume. Although this improvement is very valuable the current behaviour makes
impress nearly useless:

(1) The width of words/characters is changing depending on the zoom factor.
This is illustrated on the attached screenshots 1 (zoom factor 92%) and 2 (zoom
factor 94%), see red box.

(2) The changing word/character with causes cursor placement issues. Depending
on the zoom factor it's no longer possible to select the desired character.
This is illustrated on the attached screenshot 3, see red box.

(3) The rendering of slide previews is affected too (see screenshot 4).

The sample file used to take the screenshots is attached.

The behaviour occurs with revision 1567914 from trunk, but the behaviour
described still exists on earlier revisions too.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #2 from Thorsten Wagner <th...@gmail.com> ---
Created attachment 82587
  --> https://issues.apache.org/ooo/attachment.cgi?id=82587&action=edit
Text rendering at 94% zoom

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |ACCEPTED

--- Comment #9 from hdu@apache.org <hd...@apache.org> ---
Good catch! It was caused by a rounding error. Will be fixed really soon...

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #4 from Thorsten Wagner <th...@gmail.com> ---
Created attachment 82589
  --> https://issues.apache.org/ooo/attachment.cgi?id=82589&action=edit
Screenshot 4: Slide sorter

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

Thorsten Wagner <th...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82587|Text rendering at 94% zoom  |Screenshot 2: Text
        description|                            |rendering at 94% zoom

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |hdu@apache.org
     Ever confirmed|0                           |1

--- Comment #5 from hdu@apache.org <hd...@apache.org> ---
Confirmed.
What's interesting is that the new subsystem goes to great lengths to preserve
sub-pixel layout accuracy. It is being investigated where this extra accuracy
gets chopped. The rounding in line 325 of
drawinglayer/source/primitive2d/textlayoutdevice.cxx is a prime suspect.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0
                 OS|Mac OSX, 10.9               |Mac OSX, all

--- Comment #21 from hdu@apache.org <hd...@apache.org> ---
Thanks for finding, retesting and verifying the problems!

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #12 from hdu@apache.org <hd...@apache.org> ---
(In reply to Thorsten Wagner from comment #11)
> The bug still exists with revision 1570362 from trunk.

Please check with the latest nightly build at http://people.apache.org/~hdu/

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #14 from hdu@apache.org <hd...@apache.org> ---
> Please check with the latest nightly build at http://people.apache.org/~hdu/

There was a typo in the dev-builds link that is fixed now. That test build has
also been updated to todays trunk revision.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #15 from Thorsten Wagner <th...@gmail.com> ---
Herbert, unfortunately the bug is still present in revision 1571366 from trunk
as well as within the version downloaded from your web site.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |4.1.0_release_blocker?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #7 from Thorsten Wagner <th...@gmail.com> ---
Herbert, thank you very much for providing your fix. Text rendering looks very
good now. I found an additional issue. I'm not sure wheater the root cause is
the same:

(1) Select the title frame on the first slide of the sample presentation

(2) Place the cursor at the beginning of the second line immediately previous
to the word "Title"

(3) Delete the space causing the line wrap with backspace, "TitleTitle" appears
in the second line now

(4) Insert the space again using the space bar

At the end of the first line a very wide space appears now. Within the area of
the wide space the selection of characters is no more possible correctly. The
problem disappears after deselecting the title frame.

The behaviour described is illustrated on the newly attached screenshot 5, see
red box. It seems to be independent from the zoom factor.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #22 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1572868 into branches/AOO410:
#i124233# fix CoreText measurements/justification of text with trailing spaces

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #10 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1570188 into trunk:
#i124233# prevent the accumulation of rounding errors in CTLayout::FillDXArry()

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Issue 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

Thorsten Wagner <th...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

-- 
You are receiving this mail because:
You are on the CC list for the issue.
You are watching all issue changes.

4.1.0_release_blocker requested: [Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
hdu@apache.org <hd...@apache.org> has asked  for 4.1.0_release_blocker:
Bug 124233: Different text rendering (word/character width) depending on zoom
factor
https://issues.apache.org/ooo/show_bug.cgi?id=124233

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

jsc@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jsc@apache.org
              Flags|4.1.0_release_blocker?      |4.1.0_release_blocker+

--- Comment #18 from jsc@apache.org ---
grant showstopper flag

not usable otherwise

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

Thorsten Wagner <th...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ACCEPTED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #20 from Thorsten Wagner <th...@gmail.com> ---
My retest looks good too. Herbert, thank you very much for providing the fix.
I'll set the status of the ticket to "resolved" now.

Unfortunately I discovered another text rendering bug, but I'll file a new
ticket "Text disappears on slide preview" for this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #19 from jsc@apache.org ---
tested the fix and it works now

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #16 from Thorsten Wagner <th...@gmail.com> ---
It seems the problem appears with spaces at the end of a line. After inserting
a space at the end of a line, the rest of the text within the line gets
shrinked and cursor positioning is lost.

In AOO 4.0.1 the problem is either not present or not very distinct.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #6 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1569388 into trunk:
#i124233# fix CoreText justification of text with trailing spaces

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

4.1.0_release_blocker granted: [Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
jsc@apache.org has granted hdu@apache.org <hd...@apache.org>'s request for
4.1.0_release_blocker:
Bug 124233: Different text rendering (word/character width) depending on zoom
factor
https://issues.apache.org/ooo/show_bug.cgi?id=124233


------- Additional Comments from jsc@apache.org
grant showstopper flag

not usable otherwise

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #3 from Thorsten Wagner <th...@gmail.com> ---
Created attachment 82588
  --> https://issues.apache.org/ooo/attachment.cgi?id=82588&action=edit
Screenshot 3: Bad cursor placement

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #13 from Thorsten Wagner <th...@gmail.com> ---
(In reply to hdu@apache.org from comment #12)
> (In reply to Thorsten Wagner from comment #11)
> > The bug still exists with revision 1570362 from trunk.
> 
> Please check with the latest nightly build at http://people.apache.org/~hdu/

On your web site is only a link marked with "AOO for 64 bit Mac OS X" which is
broken. I'm unable to download something.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #8 from Thorsten Wagner <th...@gmail.com> ---
Created attachment 82624
  --> https://issues.apache.org/ooo/attachment.cgi?id=82624&action=edit
Screenshot 5: Extra white space

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #17 from SVN Robot <sv...@dev.null.org> ---
"hdu" committed SVN revision 1572587 into trunk:
#i124233# fix CoreText measurements/justification of text with trailing spaces

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #11 from Thorsten Wagner <th...@gmail.com> ---
The bug still exists with revision 1570362 from trunk.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

--- Comment #1 from Thorsten Wagner <th...@gmail.com> ---
Created attachment 82586
  --> https://issues.apache.org/ooo/attachment.cgi?id=82586&action=edit
Screenshot 1: Text rendering at 92% zoom

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

[Bug 124233] Different text rendering (word/character width) depending on zoom factor

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=124233

hdu@apache.org <hd...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3
           Assignee|issues@openoffice.apache.or |hdu@apache.org
                   |g                           |

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.