Φόρτωση…
Αναφορά σε νέο ζήτημα
Δεν υπάρχει ακόμα περιεχόμενο.
Διαγραφή του Κλάδου '%!s(<nil>)'
Η διαγραφή του κλάδου είναι μόνιμη. ΔΕΝ ΜΠΟΡΕΙ να αναιρεθεί. Συνέχεια;
Η διαγραφή του κλάδου είναι μόνιμη. ΔΕΝ ΜΠΟΡΕΙ να αναιρεθεί. Συνέχεια;
Basic information
kpdf-trinity 4:14.1.0~s218-0debian12.0.0+13~b1 running devuan daedalus and trinity-testing, amd64
Description
kpdf does not show some fonts of PDFs. It's quite random which PDFs are affected. Since an update about the beginning of september I knoticedthat I cannot read old and new invoices of my internet provider any more. Same goes with a great number of papers.
xpdf shows the pdfs without problem. PDFs printed with xpdf to a file are rendered kpdf correctly.
Also TDE file previewer for pdfs show the pdfs with all fonts readable, even those kpdf cannot render correctly.
Thread in mailing list:
https://mail.trinitydesktop.org/mailman3/hyperkitty/list/users@trinitydesktop.org/thread/CA2IMFZN75NBX3Y2R7LEPBQ7BMXYKNRW/
Steps to reproduce
Open the attached PDF in kpdf.
Screenshots
The attached PDF as shown by kpdf.
I found that after the las update yesterday virtually all older PDF are affected. In the screenshots you see the preview (which works fine) and kpdf (which does not work). Selecting invisible text works.
The patch proposed in bug 3204 fixes this issues for me.
Due to R14.1.0 being already soft frozen, we will add the patch for R14.1.1.
Great relieve that it's soved :)
Isn't there a chance to include it in 14.1.0? When the release will be published there will definitly come in a lot of reports to this issue.
The patch is clear and it fixes an important problem. Therefore, we decided to merge it into R14.1.0.
Looks like the bug is back in 4.2.0~pre1-0debian12.0.0+0~a - Please test with the attached PDF.
Nope, I have opened the document with both kpdf and qpdf and the text is the same.
What does File -> Properties -> Font shows on your computer @Dr_Nikolaus_Klepp?
Hm ... when I run strace on kpdf, it gives a lot of
"<unfinished ...>:But xpdf works as it should:
Could you try the same on your system?
File -> Properties -> Font
Yes, I see similar "unfinished" stuff. Also "File -> Properties -> Font" gives the same result. But this is what it looks like, so I don't see any missing text (left kpdf, right qpdf)
I see this, no text in most parts besides the embedded font.
I have the same .deb package that you also have (4:14.2.0~pre1-0debian12.0.0+0~a) so it must be something to do with the fonts in my system and your system.
These are the ones that show up for that document.
Maybe try and see if using the same fonts the characters are all display
I noticed that on my machine, like Michele, there are used fonts DejaVu and we both see the content without any problems. While the Noto fonts are used for you. Although I have packages with Noto fonts also installed, there it still prefers DejaVu fonts. You have DejaVu fonts installed?
Ok, I have removed all Noto.. fonts from my .local/share/fonts and also uninstalled all fonts...noto... After that I get the same fons table as MicheleC (kpdf2.png), but the text is still not visible :/
pdffonts <path to the file.pdf>@1: Yes, it's exactly the same as in your screenshot (when Noto is not installed, but DejaVu is)
@2: Yes, they do (otherwise the path has a replacement to another existing font file)
@3:
Quite a mistery. The pdffonts output is exactly the same as here and everything else seems the same too, including the package version. Are you on Debian or Devuan, just for info? Does it do the same as a different user? and as root?
I guess the only way to troubleshoot this further is if you are able to build kpdf locally and then we try to trace down in the code why the text does not show up.
Devuan daedalus it is. The problem is the same for all users and for different intallations - including root. IMO the problems come from the unfinshed openat() calls - but that's just a wild guess.
Ok, what's the best way to proceed? Following https://www.debian.org/doc/manuals/maint-guide/build.en.html builds all packages including kpdf:
$ apt source kpdf-trinity
$ cd tdegraphics-trinity-14.2.0~pre1
$ dpkg-buildpackage -us -uc
I guess I'll have to dig into my not-so-favorite language then :)
I have a lot of unfinished as well, so maybe that one is not the culprit of the problem, just guessing as well.
I think the scripts at this link should work in devuan as well, as long as you set the config correctly. I recommend using prebuilt extra dependency and avoid git worktree (unless you are very familiar with git). Go through teh readme file and reach out if you run into problems.
https://mirror.git.trinitydesktop.org/gitea/TDE/tde-packaging/src/branch/master/debian/_buildscripts/local
I am on Debian Bookworm. May be worth trying to do a quick Debian installation (VM is fine too) and see if you see the same issue with Debian or not. Slavek is also on Debian (although an older version than mine) and we both can't reproduce the issue.