| Summary: | KPDF doesn't show a part of the fonts | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Roman Savochenko <rom_as> |
| Component: | tdegraphics | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugwatch, michele.calgaro, rom_as, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.x [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2247 | ||
| Attachments: |
kpdf_NoFontOTF.patch
Voronoi_Diagram_Notes_1.png |
||
I was hoping that it could solve issue TDE/tdegraphics#48, but when I tried to build tdegraphics with this patch, I did not observe any difference on my notebook. In KPDF texts are still missing, so far in the printing preview they are displayed. https://mirror.git.trinitydesktop.org/gitea/TDE/tdegraphics/issues/48 Created attachment 3058 [details] Voronoi_Diagram_Notes_1.png (In reply to Slávek Banko from comment #1) > I was hoping that it could solve issue TDE/tdegraphics#48, but when I tried > to build tdegraphics with this patch, I did not observe any difference on my > notebook. In KPDF texts are still missing, so far in the printing preview > they are displayed. > > https://mirror.git.trinitydesktop.org/gitea/TDE/tdegraphics/issues/48 And for me document of the issue is correctly displaying now, see the screen! I checked again that the fonts-urw-base35 package is installed, but the font is still not used as a Helvetica replacement. The patch looks good, but there seems to be some context that affects whether it works. (In reply to Slávek Banko from comment #3) > I checked again that the fonts-urw-base35 package is installed, but the font > is still not used as a Helvetica replacement. The patch looks good, but > there seems to be some context that affects whether it works. Check "$ fc-match Helvetica" in your environment. The patch seems good but R14.1.0 has been soft frozen already. I suggest we add this for R14.1.1. I tested the patch, it fixes tdegraphics#48 for me. (In reply to Roman Savochenko from comment #4) > (In reply to Slávek Banko from comment #3) > > I checked again that the fonts-urw-base35 package is installed, but the font > > is still not used as a Helvetica replacement. The patch looks good, but > > there seems to be some context that affects whether it works. > > Check "$ fc-match Helvetica" in your environment. A little surprising result on my machine: $ fc-match Helvetica helvR12.pcf.gz: "Helvetica" "Regular" If I remember well, bitmap fonts are now off by default. So it is surprising that there is a match for the bitmap font. In /etc/fonts/conf.d I did: # ln -s ../conf.avail/70-no-bitmaps.conf Then otf is used instead of the bitmap font: $ fc-match Helvetica NimbusSans-Regular.otf: "Nimbus Sans" "Regular" And so PDF is now displayed correctly. |
Created attachment 3057 [details] kpdf_NoFontOTF.patch From some time, from Debian 11, KPDF doesn't show part or whole fonts of some documents. In this time, on pure installations and Live Disks of Debian 11 all those documents are shown correctly. After the issue learning I saw the difference only in presence the fonts Nimbus on full-featured installations from the package fonts-urw-base35, which installed together with CUPS. That was detected from resolving the document external font Helvetica by fontconfig as: NimbusSans-Regular.otf: "Nimbus Sans" "Regular". And those fonts are new Open True Font which extension "otf" kpdf doesn't pass, so I have added it. Now all documents are shown correctly.