Bug 97732 - Artifacts around characters when using OpenGL rendering
Summary: Artifacts around characters when using OpenGL rendering
Status: RESOLVED DUPLICATE of bug 97171
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-11 07:36 UTC by Andrej
Modified: 2016-02-20 15:51 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
5.0 ok (2.37 KB, image/png)
2016-02-11 07:36 UTC, Andrej
Details
5.1 ok not (1.57 KB, image/png)
2016-02-11 07:36 UTC, Andrej
Details
reference (1.68 KB, image/png)
2016-02-11 07:37 UTC, Andrej
Details
test file (13.21 KB, application/vnd.oasis.opendocument.spreadsheet)
2016-02-12 06:22 UTC, Andrej
Details
wrong fonts (2.09 KB, image/png)
2016-02-13 15:31 UTC, Andrej
Details
wrong fonts (4.93 KB, image/png)
2016-02-13 15:35 UTC, Andrej
Details
(In reply to Beluga from comment #13) (301 bytes, text/plain)
2016-02-13 20:05 UTC, Andrej
Details
font (3.32 KB, image/png)
2016-02-16 12:59 UTC, Andrej
Details
tahoma fonts are installed (53.67 KB, image/png)
2016-02-16 13:07 UTC, Andrej
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej 2016-02-11 07:36:25 UTC
Created attachment 122516 [details]
5.0 ok

I have an old calc document.

In version 5.0, it is ok, as seen on picture "5.0 ok".
In version 5.1, it is showing me some weird characters as seen on picture "5.1 ok not".

The problematic blue field on top is a reference as seen on "reference" picture.

In 5.0 it was fine, then I deinstall that, restart computer, install 5.1, reboot computer and open the file. An I noticed funny letters. So no I reinstall 5.0 back and I have good looking letters again. I will use 5.0 for now. Hope 5.1 will be fixed.

Thank you
Comment 1 Andrej 2016-02-11 07:36:52 UTC
Created attachment 122517 [details]
5.1 ok not
Comment 2 Andrej 2016-02-11 07:37:17 UTC
Created attachment 122518 [details]
reference
Comment 3 Andrej 2016-02-11 07:39:08 UTC
I am using Slovenian language and Tahoma characters in that field.
Comment 4 Andrej 2016-02-12 06:22:53 UTC
Created attachment 122559 [details]
test file
Comment 5 Andrej 2016-02-12 06:24:28 UTC
I have attached "testfile".
If I open it in 5.0 is ok.
If I open it in 5.1 there are strange characters. Why?
Comment 6 Buovjaga 2016-02-13 13:44:00 UTC
To test, I first had to change Format cell - language to Slovenian and format code to MMMM YY

I don't see the problem with januar.

Is it affected by Tools - Options - LibO - View - Use OpenGL for all rendering?

Win 7 Pro 64-bit, Version: 5.1.0.3 (x64)
Build ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI)
Comment 7 Andrej 2016-02-13 14:02:57 UTC
If you will use attached testfile, you do not have to change anything.
Comment 8 Buovjaga 2016-02-13 14:59:14 UTC
(In reply to Andrej from comment #7)
> If you will use attached testfile, you do not have to change anything.

I did have to change them because the months were in Finnish.
Comment 9 Andrej 2016-02-13 15:31:57 UTC
Created attachment 122619 [details]
wrong fonts
Comment 10 Andrej 2016-02-13 15:35:13 UTC
Created attachment 122620 [details]
wrong fonts

it is not just januar, it is also other monts
Comment 11 Buovjaga 2016-02-13 15:51:40 UTC
(In reply to Beluga from comment #6)
> Is it affected by Tools - Options - LibO - View - Use OpenGL for all
> rendering?

You didn't answer my question yet.
Comment 12 Andrej 2016-02-13 17:17:01 UTC
after uninstalling 5.0 and installing 5.1 i did not make any changes to settings. I just open a document after installing that I have opened before with 5.0, now with 5.1, and there was, some strange characters. 

Now, I check the setting you mention and deselect it, reopen a document and it looks fine. 

I do not know how this setting was suddenly checked. Probably it was installed whit new version. But it is, I must say, not a pleasant surprise. Maybe this decision deserves a second thought?

Thank you
Comment 13 Buovjaga 2016-02-13 19:57:38 UTC
(In reply to Andrej from comment #12)
> I do not know how this setting was suddenly checked. Probably it was
> installed whit new version. But it is, I must say, not a pleasant surprise.
> Maybe this decision deserves a second thought?

There was a mistake in the LibreOffice release process: they did not include the OpenGL driver blacklist in 5.1.0. It will be included in 5.1.1.

Just to get a bit more information, you could copy and paste here the contents of this file:
C:\Users\Andrej\AppData\Roaming\LibreOffice\4\cache\opengl_device.log
Comment 14 Andrej 2016-02-13 20:05:47 UTC
Created attachment 122629 [details]
(In reply to Beluga from comment #13)

(In reply to Beluga from comment #13)
> contents of this file:
> C:\Users\Andrej\AppData\Roaming\LibreOffice\4\cache\opengl_device.log
Comment 15 Michael Meeks 2016-02-15 17:15:24 UTC
Andrej - thanks for the report; however - it seems to me that you concern is that instead of writing: "januar" you have a version of that with accents etc. ? so going from:

https://bug-attachments.documentfoundation.org/attachment.cgi?id=122516
to
https://bug-attachments.documentfoundation.org/attachment.cgi?id=122517

Odd as the GL rendering no doubt is ;-) this looks far more likely to be a translation issue: whereby whomever translates "January" has used a more complex text version which includes some relevant accents for that locale (?).

At least - in my spreadsheet these are "January", "February" etc. English strings from the translation.

Can you confirm that changing the OpenGL setting has any effect on the rendered view in 5.1 ? ultimately until that is confirmed this looks like a change to the calc date format string translation (to me) =)

Thanks !
Comment 16 Andrej 2016-02-15 17:27:06 UTC
If I open the document as uncheck "Use openGL for all rendering (on restart)"
    it is OK ->
https://bugs.documentfoundation.org/attachment.cgi?id=122516


if I check "Use openGL for all rendering (on restart)" and reopen document 
    it is not OK -> 
https://bugs.documentfoundation.org/attachment.cgi?id=122517
Comment 17 Michael Meeks 2016-02-16 10:45:34 UTC
Most interesting; thanks Andrej - I guess we need to extract the UTF-8 strings from Slovenian to vcldemo or somesuch to test this. Andrej - can you confirm what font you're using there ? the style says "Arial CE" but formatting suggests "Tahoma". Do you have those fonts installed ? and/or how does changing the font on the string affect rendering when in GL mode ?

Thanks for persisting !
Comment 18 Andrej 2016-02-16 12:59:10 UTC
Created attachment 122683 [details]
font

Font is Tahoma
Comment 19 Andrej 2016-02-16 13:03:00 UTC
In version "5.0.4.2 (x64)"   I can have checked or unchecked 
"Use openGL for all rendering"
in both cases the characters look fine.
Comment 20 Andrej 2016-02-16 13:07:40 UTC
Created attachment 122685 [details]
tahoma fonts are installed
Comment 21 Andrej 2016-02-16 13:15:03 UTC
Back to version 5.1 ->
If I change font to Arial or Verdana, fonts look fine 
but when I change it back to Tahoma, fonts are not fine.
Comment 22 Michael Meeks 2016-02-17 15:13:13 UTC
Any quick thoughts and/or code-pointers for this Tor ? =) insight much appreciated.
Comment 23 How can I remove my account? 2016-02-17 15:44:41 UTC
Michael: All the glyph caching etc is in vcl/win/gdi/winlayout.cxx.
Comment 24 raal 2016-02-20 15:48:29 UTC
duplicate of bug 97171?
Comment 25 Buovjaga 2016-02-20 15:51:51 UTC
You are right, it affects italics text.

*** This bug has been marked as a duplicate of bug 97171 ***