How to prevent missing hyphens when printing PDF from evince?

4

0

I encounter the same problem as explained in this blog, when I print a pdf from evince hyphens are not printed. when I print a pdf from Okular, hyphens are printed. For example the hyphen that appears at the end of the first line in this text:

enter image description here

Both evince and Okular are recommended pdf viewers on the Debian wiki, but I would prefer to use evince since it's the default for Gnome and it's already integrated with some other software I use.

Here are the Latex and Lyx files that can be used to generate the problematic pdf: hyphen.lyx

Paul Rougieux

Posted 2015-09-08T14:02:02.610

Reputation: 167

Are you using the latest versions of evince and cups? – harrymc – 2015-11-05T21:01:57.223

@harrymc I'm using evince 3.14.1-2 and cups 1.7.5-11+deb8u1 those are both the latest versions in Debian Stable.

– Paul Rougieux – 2015-11-06T07:37:03.563

The problematic hyphen is usually a soft-hyphen, which is a different character than the hyphen. If the font is not embedded within the pdf, evince will match it against some font in system. Evince might be using the wrong font match when printing. Try not to encode the file in UTF8, if possible, so not to generate that character. – harrymc – 2015-11-06T09:12:58.730

Thanks but since I also write in French, and exchange data with Scandinavian people, I tend to use UTF8. – Paul Rougieux – 2015-11-06T10:52:32.110

Bonjour. You should also check that you have the latest printer driver. If the file prints correctly on another computer in your household, you could try to print via the internal network. Otherwise: (1) Accented characters are also to be found in ISO-8859-1, but I believe not the soft-hyphen. (2) As last resort you will need to modify the font-mapping rules in your system, however I don't have any idea why evince uses different fonts for the printer. See this thread for an example of sleuthing.

– harrymc – 2015-11-06T17:15:36.413

1

Something else that might help is when generating the pdf, to ensure that the fonts are embedded. See the Lyx PDF FAQ.

– harrymc – 2015-11-07T08:28:38.427

Answers

1

This bug has apparently been fixed. However, as far as I can tell, the fix has not been backported.

Boris Bukh

Posted 2015-09-08T14:02:02.610

Reputation: 111