Bug 94531 - Disabling the anti-aliasing breaks the text displaying
Summary: Disabling the anti-aliasing breaks the text displaying
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.0.2.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 95547 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-26 12:29 UTC by Rpnpif
Modified: 2021-12-03 11:24 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Original file (11.52 KB, application/vnd.oasis.opendocument.text)
2015-09-26 12:30 UTC, Rpnpif
Details
With no anti-aliasing in Xfce (6.86 KB, image/png)
2015-09-26 12:33 UTC, Rpnpif
Details
With no anti-aliasing in Xfce (deleting the A of the title) (6.71 KB, image/png)
2015-09-26 12:35 UTC, Rpnpif
Details
Video demonstrating the issue coming on and off with antialiasing (from #99547) (2.58 MB, video/ogg)
2016-06-22 19:19 UTC, Alan Ott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rpnpif 2015-09-26 12:29:56 UTC
Open the file A0 activity.odt.

The title ("Activities") have missing letters, but a copy paste in a text editor recover all the text so the problem is about the displaying in LO.

This is always reproducible.

Enable OpenGL for all rendering (Tools-Options menu) makes the title have right displaying.

The OS is Debian Jessie (8) with Xfce. Its anti-aliasing is disabled because it has no advantage with HDMI display. Backwards of anti-aliasing is a degraded quality of displaying of Xfce programs like Xfce Desktop.

The anti-aliasing in options of LO is enabled. But it does nothing.

When anti-aliasing is enabled again in Xfce, all works fine.

Iceweasel and others software work fine with better displaying when the anti-aliasing is disabled in Xfce. Why not with LO.

Expected :
LO should have a fine displaying for all characters of text when the anti-aliasing is disabled in the window manager like Xfce when a great quality of screen is used. OpenGL should not be needed in this case.

lspci
00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Trinity [Radeon HD 7480D]

lscpu
model name: AMD A4-5300 APU with Radeon(tm) HD Graphics
Comment 1 Rpnpif 2015-09-26 12:30:56 UTC
Created attachment 119035 [details]
Original file
Comment 2 Rpnpif 2015-09-26 12:33:28 UTC
Created attachment 119036 [details]
With no anti-aliasing in Xfce
Comment 3 Rpnpif 2015-09-26 12:35:20 UTC
Created attachment 119037 [details]
With no anti-aliasing in Xfce (deleting the A of the title)
Comment 4 Rpnpif 2015-09-26 12:40:09 UTC
> Enable OpenGL for all rendering (Tools-Options menu) makes the title have right displaying.

The title is right but the remaining text has a big aliasing effect.
Comment 5 Adolfo Jayme Barrientos 2015-09-27 07:01:31 UTC
IMHO, this is a bug in the Liberation fonts, which are not prepared (hinted) for use without antialiasing.
Comment 6 Rpnpif 2015-09-28 09:28:06 UTC
(In reply to Adolfo Jayme from comment #5)
> IMHO, this is a bug in the Liberation fonts, which are not prepared (hinted)
> for use without antialiasing.

But Liberation font is not concerned. In the title, only Arial is used from the non-free :/ msttcorefonts. So, do you think that the culprit should be Arial ?

I will explore the track. Thanks.
Comment 7 Rpnpif 2015-09-28 09:38:16 UTC
(In replty of comment #6)

After some tries, all fonts are concerned by this issue.

None of the other software that I am using, have this bug.
Comment 8 Buovjaga 2015-09-30 08:18:48 UTC
I disabled anti-aliasing in Xfce options Appearance - Fonts.
Not observing the problems in your screenshots.
It was curious that the text font stayed anti-aliased in LibO, even though I disabled anti-al. in LibO settings.

Do you have any other font setting changes?

Antergos 64-bit Xfce 4.12, LibO 5.0.1
Comment 9 Rpnpif 2015-12-27 12:07:37 UTC
(In reply to Beluga from comment #8)
> Do you have any other font setting changes?

Hinting is set on small in Xfce settings. I expect that this setting is enabled only with anti-aliasing.

Still with LO 5.1.0.1.
Comment 10 Rpnpif 2016-04-12 11:41:03 UTC
This issue is still in 5.1.2.2
Build ID: d3bf12ecb743fc0d20e0be0c58ca359301eb705f.
Comment 11 Rpnpif 2016-04-28 10:08:18 UTC
So the "use anti-aliasing" LO option in tools menu has always no effect. Only the XFce parameter controls the anti-aliasing. Yes this does not explain why some characters are disappearing.

But, is the "use anti-aliasing" LO option obsolete or disabled in code ?
If it is right, it should be removed from the UI.

Same issue with 4.5 Linux kernel.

Architecture: amd64 (Radeon HD 7480D).
mesa-utils: 8.2.0-1
xserver-xorg: 1:7.7+7 from Debian.
Comment 12 Rpnpif 2016-05-14 09:54:05 UTC
Still in LO  5.1.3.2, Build ID: 644e4637d1d8544fd9f56425bd6cec110e49301b
Comment 13 Aron Budea 2016-06-03 06:12:30 UTC
Bug 95547 and bug 89970 seem to be about the same issue.
I'm hesitant to close bug 95547 as duplicate, but maybe if it counts as independent reproduction of the bug, then this could be set to new, and that one could be closed?
Comment 14 Buovjaga 2016-06-03 07:37:17 UTC
Rpnpif: do you observe the same as the reporter of bug 95547, that "Changing the size of the window will push the problem around (different letters will be missing) and sometimes hide the problem"? And also the effect of different font sizes.
Comment 15 Rpnpif 2016-06-12 18:18:40 UTC
(In reply to Buovjaga from comment #14)
> Rpnpif: do you observe the same as the reporter of bug 95547, that "Changing
> the size of the window will push the problem around (different letters will
> be missing) and sometimes hide the problem"? And also the effect of
> different font sizes.

Sorry for the time to answer.

Yes, I have the same effects of the bug 95547.
And I can complete with an effect that I am seeing now: Change the zoom of the document has the same effect than change the font size, in other words, some letters are missing with some zoom ratio and anti-aliasing disabled.

Regards.
Comment 16 Rpnpif 2016-06-12 18:23:37 UTC
So, I had also the bug 89970.
Comment 17 Buovjaga 2016-06-12 19:59:02 UTC
*** Bug 95547 has been marked as a duplicate of this bug. ***
Comment 18 Alan Ott 2016-06-22 19:19:57 UTC
Created attachment 125845 [details]
Video demonstrating the issue coming on and off with antialiasing (from #99547)

This video was uploaded by me for bug 95547.
Comment 19 Alan Ott 2016-06-22 19:23:49 UTC
Comment on attachment 125845 [details]
Video demonstrating the issue coming on and off with antialiasing (from #99547)

See the other attachments at bug #99547, including an ODP file which demonstrates the problem shown in this video.
Comment 20 QA Administrators 2017-09-01 11:15:59 UTC Comment hidden (obsolete)
Comment 21 QA Administrators 2019-12-03 14:47:55 UTC Comment hidden (obsolete)
Comment 22 QA Administrators 2021-12-03 04:40:25 UTC Comment hidden (obsolete)
Comment 23 Rpnpif 2021-12-03 11:24:43 UTC
I do not see this issue in LO 7.0.4.2.

Thanks.