Bug 44796

Summary: VIEWING: Fonts get colored randomly in calc
Product: LibreOffice Reporter: lml
Component: UIAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: jbfaure
Priority: medium    
Version: 3.5.0 Beta2   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:
Attachments: screen capture of "colored" fonts in calc and writer.
strange colors in writer

Description lml 2012-01-15 05:16:49 UTC
Created attachment 55593 [details]
screen capture of "colored" fonts in calc and writer.

Problem description: 
The black text in calc and writer are get colored sometimes.
Using Calibri font is especially problematic because it is the default of MS Office.

Steps to reproduce:

- Open an xslx containing Calibri fonts (normal, black, 10pt letters), 100% zoom
OR
- create a new spreadsheet (set zoom to 100%) write something into some cells and set the font to Calibri

the fonts are shown as in the attached image. (In the big rectangle, the same text is shown using the magnifier to examine the problem, but the problem exists in the "normal" view.)

Zoom leve>140% corrects the problem and the text will be black as it should be.

Similar problem in writer when the paragraph marks are partially green. In this case the problem disappears after zoom level 105%.

Platform (if different from the browser): 
Browser: Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1

Maybe it is not a LibreOffice problem but on the same machine LibreOffice 3.4.4 works correctly.
Comment 1 lml 2012-01-15 05:59:53 UTC
I've forget to mention, that on my Ubuntu 11.10, Calibri font is not installed so it is substituted by something else.
Comment 2 Jean-Baptiste Faure 2012-01-15 21:24:47 UTC
Please, attach an xslx file formatted with Calibri font to the bug report. It is not possible to make one with LO on Linux because Calibri font is not free.

Have you try with another theme in Gnome ?

Best regards. JBF
Comment 3 lml 2012-01-17 13:44:12 UTC
Created attachment 55698 [details]
strange colors in writer
Comment 4 lml 2012-01-17 13:46:46 UTC
You don't need Calibri font. It is enough if you select some text and write (you can't select) the non-existing Calibri font's name into the font selection box.

But it is not font-specific. At 120% zoom level the same thing happened with the default Liberation Serif font in Writer (see attached image).

Changing the theme (Radiance, Ambiance, HighContrast) has no effect, the problem still exists.

The good news is that I've upgraded to 3.5b3, and there is no problem, everything is OK.
Comment 5 Jean-Baptiste Faure 2012-01-22 01:57:56 UTC
Ok, then closing as WorksForMe because we don't know what solved the problem.
Feel free to confirm the resolution with LO 3.5.0 rc1. :-)

Thank you for your tests. JBF