Bug 479611 - Unnecessarily elided text in "Share" popup with 10pt SF Pro Display font and full font hinting
Summary: Unnecessarily elided text in "Share" popup with 10pt SF Pro Display font and ...
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-purpose
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.248.0
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-10 15:25 UTC by Patrick Silva
Modified: 2024-01-16 21:15 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (917.27 KB, image/png)
2024-01-10 15:25 UTC, Patrick Silva
Details
SF Pro Display fonts (883.24 KB, application/zip)
2024-01-11 17:11 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2024-01-10 15:25:17 UTC
Created attachment 164790 [details]
screenshot

STEPS TO REPRODUCE
1. open Discover
2. click on any app
3. click on "Share" button below the app description

OBSERVED RESULT
Unnecessarily elided text seen in the attached screenshot

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-01-11 16:26:31 UTC
Likely caused by the metrics of your font, as I don't see this with Noto Sans. What font are you using?

The dialog comes from Purpose; moving there.
Comment 2 Patrick Silva 2024-01-11 17:11:50 UTC
Created attachment 164817 [details]
SF Pro Display fonts

I'm using the attached fonts.
Comment 3 Nate Graham 2024-01-12 21:40:06 UTC
Thanks. What exact font and font size are you using? I cannot reproduce with issue with 10pt or 11pt SF Pro.
Comment 4 Patrick Silva 2024-01-13 15:49:48 UTC
I'm using regular fonts, 10pt. The bug occurs if font hinting is set to "Full". Can reproduce on neon unstable too.
Comment 5 Nate Graham 2024-01-16 21:05:08 UTC
Can reproduce the issue with 10pt SF Pro Display and full hinting. 10 pt Noto Sans with full hinting is not affected, though.
Comment 6 Janet Blackquill 2024-01-16 21:15:14 UTC
SF Pro Display is a display font, which does not mean "display" as in "computer display." Display in the context of typography means that it is designed to be viewed at large sizes and the metrics and glyphs are adjusted accordingly. Using a display font at small sizes and getting suboptimal results is not a bug. Feel free to reopen if you can reproduce this with a non-display font.