Bug 104618 - VIEWING: In Writer missing text at 100% zoom in DOCX file (with OpenGL enabled)
Summary: VIEWING: In Writer missing text at 100% zoom in DOCX file (with OpenGL enabled)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-12 21:19 UTC by greizdeifi
Modified: 2017-04-24 19:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
correctly rendered view at 90% zoom level (193.53 KB, image/png)
2016-12-12 21:19 UTC, greizdeifi
Details
missing text lines with specific font in size 15 (198.95 KB, image/png)
2016-12-12 21:20 UTC, greizdeifi
Details
font size 16 renders correctly (193.42 KB, image/png)
2016-12-12 21:21 UTC, greizdeifi
Details
the .docx test file (10.00 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2016-12-12 21:22 UTC, greizdeifi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description greizdeifi 2016-12-12 21:19:41 UTC
Created attachment 129552 [details]
correctly rendered view at 90% zoom level

Hi,

I've a .docx file that has missing text at 100% zoom level. If change the zoom to e.g. 90% it is displayed correctly (see attachment "render bug screenshot 90 perc zoom.PNG" and "render bug screenshot 100 perc zoom.PNG")

The particular lines that are not displayed are in a font called "Courier" with size 15 for which Writer says it is not available and is substituted (see mouse hovering message in attachment "render bug screenshot 100 perc zoom.PNG").

However, at 100% zoom level, if I change the font size of e.g. the first line that's missing from 15 to e.g. 16 it suddenly appears correctly (see attachment "render bug screenshot 100 perc zoom 16 font.PNG").

So it looks like it's just a specific combination of unavailable font at a particular size that's causing the problem.

The original .docx file is also provided in the attachment.


Hope that's enough info for you guys.


Thanks a lot.
Comment 1 greizdeifi 2016-12-12 21:20:56 UTC
Created attachment 129553 [details]
missing text lines with specific font in size 15
Comment 2 greizdeifi 2016-12-12 21:21:51 UTC
Created attachment 129554 [details]
font size 16 renders correctly
Comment 3 greizdeifi 2016-12-12 21:22:27 UTC
Created attachment 129555 [details]
the .docx test file
Comment 4 Buovjaga 2016-12-17 20:09:05 UTC
I don't see the problem. Please test with version 5.2.x

If you still see the problem, check that OpenGL is not enabled: Tools - Options - LibreOffice - View - Use OpenGL for all rendering

Version: 5.2.4.1 (x64)
Build ID: 9b50003582f07ac674d6451e411e9b77cccd2b22
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: group

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists with 5.2.x. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 5 greizdeifi 2016-12-17 20:40:51 UTC
Turning OpenGL off resolved the issue.
Thanks a lot.
Comment 6 Buovjaga 2016-12-17 20:49:30 UTC
Actually, this would be interesting to keep open because of the OpenGL issue :)

First, you could verify that the problem exists with OpenGL enabled in 5.2.x

Then, you could copy & paste here to a comment the contents of C:\Users\User\AppData\Roaming\LibreOffice\4\cache\opengl_device.log

If the OpenGL problem still exists in 5.2.x, I can add your report to meta bug 93529.

Take your time, there is no hurry.
Comment 7 Telesto 2017-04-24 19:42:25 UTC
No repro with:
Version: 5.4.0.0.alpha0+
Build ID: 4354f0e9ef4a5538729a2a6f2d1745e247f6c5cd
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-04-21_06:05:57
Locale: nl-NL (nl_NL); Calc: CL

Closing as WFM (Works for Me)
Feel free to revert status if you still reproduce the bug