Bug 506672

Summary: em-dash not shown in Okular, but shown in other viewers in one file
Product: [Applications] okular Reporter: ospalh <ospalh>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: The file with the invisible em-dash
The bit with the invisible em-dash in okular
xpdf-view with em-dash

Description ospalh@gmail.com 2025-07-06 14:09:08 UTC
Created attachment 183007 [details]
The file with the invisible em-dash

SUMMARY
In this one file i have the em-dash on the fifth line of the body text is not shown. It shows up in other PDF viewers (Firefox built-in, xpdf, gv).


STEPS TO REPRODUCE
1. Open the file no-em-dash.pdf
2. Look at the line »Not even—especially not for money."«


OBSERVED RESULT
The em-dash between »even« and »especially« is not shown. Even tho the text selection copied it (see above).

EXPECTED RESULT
There should be a visible em-dash

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.3-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-4590 CPU @ 3.30GHz
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 750 Ti
Manufacturer: ARLT Computer-Produkte GmbH
Product Name: ARLT Quattro Power Station PRO IV / W10 (3080618A-U140-V2.9)
System Version: 2.0


ADDITIONAL INFORMATION
I tried it with XOrg on the same system as well, instead of Wayland. Same thing.
Comment 1 ospalh@gmail.com 2025-07-06 14:11:00 UTC
Created attachment 183008 [details]
The bit with the invisible em-dash in okular

One image: the missing em-dash
Comment 2 ospalh@gmail.com 2025-07-06 14:11:54 UTC
Created attachment 183009 [details]
xpdf-view with em-dash

The same bit of the file, opened in xpdf, with the em-dash visible