Bug 150609

Summary: Font too thick in presentation mode with Skia (Raster) enabled
Product: LibreOffice Reporter: Telesto <telesto>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: aron.budea, Gibtnix, l.lunak, vsfoote
Priority: medium    
Version: 7.0.6.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=150531
https://bugs.documentfoundation.org/show_bug.cgi?id=150462
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 129062    
Attachments: Screenshot GDI
Screenshot Skia Raster
Example file

Description Telesto 2022-08-25 14:20:32 UTC
Description:
Font to thick Presentation Mode with Skia (Raster) enabled

Steps to Reproduce:
1. Open the attached file
2. Look - for example - at the 'a' in sadipscing


Actual Results:
Font not crisp/nice

Expected Results:
Similar to GDI mode


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 1c1647e6ee252fe68d7406d01043e88f1721590f
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 1 Telesto 2022-08-25 14:20:58 UTC
Created attachment 182020 [details]
Screenshot GDI
Comment 2 Telesto 2022-08-25 14:21:17 UTC
Created attachment 182021 [details]
Screenshot Skia Raster
Comment 3 Telesto 2022-08-25 14:21:34 UTC
Created attachment 182022 [details]
Example file
Comment 4 V Stuart Foote 2022-08-25 15:11:26 UTC
OK, setting new with confirmation as noted in bug 150531

Attachment 182016 [details] captures the difference in rendering, especially noticeable when text box fonts are bolded.
Comment 5 Telesto 2022-08-25 15:40:10 UTC
Also in
Version: 7.1.8.0.0+ (x64) / LibreOffice Community
Build ID: a94b58277c7aeaa83ce14347cd0b8f7137969d03
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
Version: 7.0.7.0.0+ (x64)
Build ID: 626ea4e62a3e5005fe9825923a1c0c5bdb61cc08
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 6 V Stuart Foote 2022-08-25 16:23:40 UTC
@Luboš, toggle between attachment 182020 [details] and attachment 182021 [details],difference in Presentation canvas between GDI rendering and Skia with DirectWrite. 

Is it feasible for Skia rendering that the Impress presentation canvas on Windows gets different DirectWrite AA than when used with the rest of the UI?
Comment 7 Mike Kaganski 2024-04-12 09:46:33 UTC
Can't repro, trying to compare

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: en-GB (ru_RU); UI: en-GB
Calc: CL threaded

to

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 24; OS: Windows 10.0 Build 22631; UI render: Skia/Raster; VCL: win
Locale: en-GB (ru_RU); UI: en-GB
Calc: CL threaded
Comment 8 V Stuart Foote 2024-04-12 11:05:12 UTC
(In reply to Mike Kaganski from comment #7)
> Can't repro, trying to compare

Agree, at 24.2.2 (with Skia m116) the Skia renderings, Vulkan and raster framing, render the same and match the GDI rendering. Screen clips of attachment 182022 [details] on a 4K monitor compared side-by-side. Font stroke weights and positioning match.

=-testing-=
Version: 24.2.2.1 (X86_64) / LibreOffice Community
Build ID: bf759d854b5ab45b6ef0bfd22e51c6dc4fb8b882
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded