https://bugs.kde.org/show_bug.cgi?id=477192
Bug ID: 477192 Summary: okular selects wrong font for PDF Classification: Applications Product: okular Version: 21.12.3 Platform: Mint (Ubuntu based) OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-devel@kde.org Reporter: awi...@gmail.com Target Milestone: --- SUMMARY *** okular selects the wrong fonts for a PDF. The document requests "CourierNew" and "TimesNewRoman". Both fonts are installed on the system, but okular selects "NimbusMonoPS" and "Times LT". Illustration: https://drive.google.com/file/d/178nuOFvWiBOoqmSIs7spAqDrGt2YHAqQ/view?usp=sharing *** STEPS TO REPRODUCE 1. Download https://gwern.net/doc/psychology/personality/psychopathy/1941-cleckley-maskofsanity.pdf 2. Open it with okular. 3. From the "File" menu, choose "Properties". 4. Choose the "Fonts" tab. OBSERVED RESULT Wrong fonts get selected by okular. Illustration: https://drive.google.com/file/d/178nuOFvWiBOoqmSIs7spAqDrGt2YHAqQ/view?usp=sharing EXPECTED RESULT I would expect the document's requested fonts to be selected. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Linux 6.5.0-1003-oem #3-Ubuntu; Linux Mint 21.2 Cinnamon KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION fc-match selects the correct fonts: $ fc-match 'TimesNewRoman' times.ttf: "Times New Roman" "Regular" $ fc-match 'CourierNew' cour.ttf: "Courier New" "Regular" -- You are receiving this mail because: You are the assignee for the bug.