Bug 106146 - Text with Scale Width != 100% displays differently with GL rendering
Summary: Text with Scale Width != 100% displays differently with GL rendering
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: VCL-OpenGL
  Show dependency treegraph
 
Reported: 2017-02-22 19:08 UTC by Aron Budea
Modified: 2017-03-08 23:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document with scale width = 900% (7.86 KB, application/vnd.oasis.opendocument.text)
2017-02-22 19:08 UTC, Aron Budea
Details
Screenshot (default vs. GL in that order) (26.58 KB, image/png)
2017-02-22 19:11 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2017-02-22 19:08:52 UTC
Created attachment 131414 [details]
Test document with scale width = 900%

The attached sample has Scale Width in Format -> Character; Position tab set to 900%.
With OpenGL enabled, the characters aren't resized, only the space is changed, see screenshot.

Reproduced with 5.3.0.3, 5.2.0.4 and 5.1.6.2 / Windows 7.
Not reproduced with 5.1.0.3.
=> regression

I'm having trouble bibisecting it due to OpenGL-related crashes with my AMD APU, but it should be possible with one of the 5.2 repos.

Note: this is different from bug 105976.
Comment 1 Aron Budea 2017-02-22 19:11:22 UTC
Created attachment 131415 [details]
Screenshot (default vs. GL in that order)
Comment 2 ⁨خالد حسني⁩ 2017-02-22 23:45:49 UTC
I’m pretty sure this is the same issue as bug 103831, and indeed it is not new in 5.3.
Comment 3 Aron Budea 2017-02-23 02:28:10 UTC
Khaled, when I looked at bug 105976 more closely, in that particular sample file the amount the text was condensed in 5.3 was significantly more than in 5.2. My conclusion was that something must've changed between 5.2 and 5.3 affecting this.

Or do you mean that bug 103831 and this has a common underlying cause, and whatever changed in 5.3 didn't actually caused the bug, just made it show/worse in some cases?
Comment 4 ⁨خالد حسني⁩ 2017-02-23 15:30:39 UTC
Yes, I believe it is the same underlying issue.
Comment 5 V Stuart Foote 2017-03-08 23:17:45 UTC
For bug 103831, the removal of DirectWrite Direct2D calls for scaling glyphs with OpenGL and instead using GDI calls corrects this issue as well.

On Windows 8.1 Ent 64-bit en-US with
Version: 5.3.2.0.0+
Build ID: a990b46ccc788db45ff4d8f0d47b799782ecb2af
CPU Threads: 8; OS Version: Windows 6.2; UI Render: GL; Layout Engine: new; 
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-3, Time: 2017-03-08_19:18:26
Locale: en-US (en_US); Calc: CL

http://cgit.freedesktop.org/libreoffice/core/commit/?id=4375eefb644d03ab4bafbc091436166a8494dc91&h=libreoffice-5-3