I have a pdf whose text is not shown in the viewer. However, when selecting text, the text can be selected. Also, in the print-preview the text is visible. When viewing the file with mupdf, the text is rendered. It may be a bug in Okular, poppler, or a problem with the file. I cannot share the pdf here, but can send it to a developer upon request.
Does pdftoppm have the same behaviour of not showing the text? If so it's defenitely not a bug in okular but may be a bug in poppler.
(In reply to Albert Astals Cid from comment #1) > Does pdftoppm have the same behaviour of not showing the text? No, the ppm file do show the text.
that is very strange, we'll need the file (though that doesn't mean we're going to work on a fix now or in the future, but without no file, that's a definite no, so let's have the file)
Created attachment 112228 [details] screenshot of file in viewer
Created attachment 112229 [details] screenshot of file in viewer with (invisible) text selected
You probably have a wrong Helvetica font substitution configured on your system, please attach a screenshot of Files->Properties->Fonts
Created attachment 112245 [details] screenshot of file fonts in viewer
it works for with with Nimbus provided by gsfonts, give it a try and make sure you tweak your fontconfig
Erik, did comment #8 help to resolve the issue?
(In reply to Christoph Feck from comment #9) > Erik, did comment #8 help to resolve the issue? I have not managed to try it out. My initial attempts stranded because I do not know how to get Nimbus to be selected for substitution. I inquired on the Gentoo forums, but did not get a response that helped me understand what I needed to do. Currently, I do not have the time to try further.
(In reply to Albert Astals Cid from comment #6) > You probably have a wrong Helvetica font substitution configured on your > system, […] When I open the file in inkscape, it appears that the text that is missing for me uses Arial and so the embedded font should be used, I would think. (In reply to Albert Astals Cid from comment #8) > it works for with with Nimbus provided by gsfonts, give it a try and make > sure you tweak your fontconfig I can't seem to get my fontconfig to choose Nimbus, even though it is installed. But perhaps that is another issue. I did manage to get TeX Gyre and Linux Libertine instead of Liberation Sans as replacements for Helvetica, but neither gave a difference, possibly because the Helvetica substitution is not the problem here.
Maybe it's too obvious, but did you check if file '/usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf' exists? On my system, fonts are in '/usr/share/fonts/truetype/', but the actual font directories might be distribution-specific.
(In reply to Christoph Feck from comment #12) > […], but did you check if file > '/usr/share/fonts/liberation-fonts/LiberationSans-Regular.ttf' exists? Yes, and it does exist. Also, I think that font is not the problem, as per my comment 11.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
I need further assistance in testing the proposed fontconfig-related modifications.
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version? If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!