Bug Hunting Session
Bug 107744 - Disable anti-aliasing for fonts does not work
Summary: Disable anti-aliasing for fonts does not work
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: regression
: 107760 (view as bug list)
Depends on:
Blocks: Font-Rendering
  Show dependency treegraph
 
Reported: 2017-05-10 06:50 UTC by Tyco72
Modified: 2018-04-08 03:23 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tyco72 2017-05-10 06:50:19 UTC
Description:
LO version: LO 5.3.2.2 x64
OS: Windows 7 SP1 x64

Disable anti-aliasing for fonts does not work

Steps to Reproduce:
1. Open menu 'Tools' → Options → LibreOffice → View
2. Deselect the option "Use anti-aliasing"
3. Restart LibreOffice


Actual Results:  
Bug: The anti-aliasing is not disabled. Even if I disable the OpenGL and /or HW acceleration, nothing changes.
In Windows all the anti aliasing are disabled and all other applications are shown without anti-aliasing, as well LibreOffice 5.2.5.1. 

Expected Results:
Anti-aliasing should be disabled. Blurred fonts are very uncomfortable for my sight. I have to switch back to LO 5.2.5.1. Please someone fix it soon.


Reproducible: Always

User Profile Reset: No

Additional Info:
I set it as major bug, because blurred fonts for some people are so uncomfortable, that they can't work with it.


User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Comment 1 tommy27 2017-05-10 09:50:40 UTC
would you please post a screenshot?

did you try LibO 5.2.7.2? is it unaffected by that bug?
Comment 2 V Stuart Foote 2017-05-10 21:29:36 UTC
*** Bug 107760 has been marked as a duplicate of this bug. ***
Comment 3 V Stuart Foote 2017-05-10 21:37:53 UTC
Confirm the apparent non-function of the "Use anti-alaising" checkbox.

Believe this is all wrapped up in Windows font rendering issues of bug 106990

Font rendering has all shifted to DirectWrite, and OpenGL rendering matches Default GPU/CPU rendering, but quality of the font rendering is rough--so UI does not seem to respond to the "Use anti-alaising"

M. Meeks thinks a change to CLEARTYPE_QUALITY rather than DEFAULT_QUALITY may help with the font rendering to UI and to document canvas--if not a more complete rework of the DirectWrite rendering on Windows builds becomes more important (bug 107521)

=-ref-= 

https://bugs.documentfoundation.org/show_bug.cgi?id=106990#c60
Comment 4 Luis 2017-08-21 11:30:28 UTC
I confirm this issue.

Disable ClearType don't change screen appearance.

I want to do some test without anti-aliasing enabled but I can't.

Version: 5.4.1.0.0+ (x64)
Build ID: b78c398817940bbbe0b9ebe848a923cef1856758
CPU threads: 2; OS: Windows 6.1; UI render: default; 
TinderBox: Win-x86_64@62-TDF, Branch:libreoffice-5-4, Time: 2017-07-28_09:02:44
Locale: es-ES (es_ES); Calc: group
Comment 5 Mercury 2017-09-02 18:47:57 UTC
Confirmed.

This way does not work:
https://ask.libreoffice.org/en/question/92250/how-to-disable-libreoffice-5322-font-rendering/

I’ll check 5.4.1.2 (installer needs reboot).
Comment 6 Mercury 2017-09-02 18:55:27 UTC
5.4.1.2 still anti-aliasing forced, but rendering is horrible (eats the rightmost column of pixels). Reverting to an old version.
Comment 7 Mercury 2017-09-02 19:25:28 UTC
I discovered that fonts were broken in 5.3.
Comment 8 pureocean1 2017-09-04 03:53:10 UTC
I installed v5.4.1. Even if disabled anti-aliasing and H/W accel., fonts still rasterizes by DirectWrite/ClearType.

However, I disabled ClearType/DirectWrite on Registry for standart GDI font rendering: [HKEY_CURRENT_USER\Control Panel\Desktop]
; Value "0" or "1": switch to gray font smoothing (Smooth edges of screen fonts: 'Standard')
; Value "2": switch to colored font smoothing (Smooth edges of screen fonts: 'ClearType')
"FontSmoothingType"=dword:00000001

Or, run this BATch file as Admin for disable Cleartype and enable GDI font rendering: https://paste.ee/r/1h0lh

(Need log-off and again log-in on Windows).

*

I tried 5.2.7.2. GDI font rendering works (of course if disabled anti-aliasing and H/W accel. from Settings and Tools -> Options -> Advanced -> Open Expert Configuration: org.openoffice.Office.Common -> View -> FontAntiAliasing: false).
Comment 9 Tyco72 2017-10-05 08:41:20 UTC
Thank you. In both paths:
[HKEY_CURRENT_USER\Control Panel\Desktop]
[HKEY_USERS\.DEFAULT\Control Panel\Desktop]

I have:
"FontSmoothing=0"
"FontSmoothingtype=1"

(I don't want clear type also in Windows)

In LO: Tools -> Options -> Advanced -> Open Expert Configuration: org.openoffice.Office.Common -> View -> FontAntiAliasing = false

But it doesn't work. (WIn7 SP1 64 bit). Will the latest LO version help?

Where can I disable the and H/W accel.?
Comment 10 Tyco72 2018-03-28 06:56:44 UTC
I have tested now the LibreOffice 6.0.2.1 and the disabling of the font rendering works! The bug can be closed.