Bug 142815

Summary: When silde be shown with Hi-dpi enabled, some fonts will bewrongly displayed
Product: LibreOffice Reporter: someborday
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: UNCONFIRMED ---    
Severity: minor CC: aron.budea
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90796    
Attachments: Hi-dpi disabled. Preview.
Hi-dpi disabled. Show.
Hi-dpi enabled. Preview.
Hi-dpi enabled. Show.
example odp file

Description someborday 2021-06-12 14:14:58 UTC
Description:
When silde be shown with Hi-dpi enabled, some fonts like MS-Yahei will bewrongly displayed. This may be limited to CJK True Type fonts. (For example, Noto Sans CJK and Arial will be OK.)
Case 1) Numbers and English letters will be scaled. Some Chinese characters will also be scaled. But other Chinese characters will NOT be scaled.
Case 2) Numbers and English letters will NOT be scaled. Some Chinese characters will also NOT be scaled. But other Chinese characters will be scaled.
When I say "something will not be scaled" above, they will be smaller but the space they occupy will NOT be smaller. That is, "abc" might be displayed as " a  b  c ".
If you disabled Hi-dpi, it will be fine. When previewing, it will be fine.

Steps to Reproduce:
1. Make sure Hi-dpi enabled. You might check it in GNOME settings.
2. Open a *.pptx or *.odp file. (With CJK True Type fonts like Simsun)
3. Press F5 (or Shfit+F5) or click 'Start from first slide' (or 'Start from current slide')

Actual Results:
1.
2. it seems normal
3. something wrongly displayed

Expected Results:
Something will be wrongly scaled. (See description)


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 16; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: zh-CN (zh_CN.UTF-8); 界面: zh-CN
Debian package version: 1:7.0.4-4
Calc: threaded
Comment 1 someborday 2021-06-12 14:16:52 UTC
Created attachment 172834 [details]
Hi-dpi disabled. Preview.
Comment 2 someborday 2021-06-12 14:17:26 UTC
Created attachment 172835 [details]
Hi-dpi disabled. Show.
Comment 3 someborday 2021-06-12 14:18:03 UTC
Created attachment 172836 [details]
Hi-dpi enabled. Preview.
Comment 4 someborday 2021-06-12 14:18:44 UTC
Created attachment 172837 [details]
Hi-dpi enabled. Show.
Comment 5 someborday 2021-06-12 14:26:03 UTC
Created attachment 172838 [details]
example odp file
Comment 6 Aron Budea 2021-07-15 07:27:48 UTC
Please wait for someone else to confirm the bug report.