Bug 142815 - When silde be shown with Hi-dpi enabled, some fonts will bewrongly displayed
Summary: When silde be shown with Hi-dpi enabled, some fonts will bewrongly displayed
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: HiDPI
  Show dependency treegraph
 
Reported: 2021-06-12 14:14 UTC by someborday
Modified: 2021-07-15 07:27 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Hi-dpi disabled. Preview. (356.91 KB, image/png)
2021-06-12 14:16 UTC, someborday
Details
Hi-dpi disabled. Show. (214.74 KB, image/png)
2021-06-12 14:17 UTC, someborday
Details
Hi-dpi enabled. Preview. (460.28 KB, image/png)
2021-06-12 14:18 UTC, someborday
Details
Hi-dpi enabled. Show. (236.74 KB, image/png)
2021-06-12 14:18 UTC, someborday
Details
example odp file (849.21 KB, application/vnd.oasis.opendocument.presentation)
2021-06-12 14:26 UTC, someborday
Details

Note You need to log in before you can comment on or make changes to this bug.
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.