Launchpad has imported 8 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=94615.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2016-03-18T15:06:34+00:00 Undisclosed-m wrote:

When I print PDF documents generated by pdflatex from Evince, the output
often misses hyphens, dashes and similar symbols, which is quite
annoying because it makes proofreading those printouts impossible.

Printing the same document from Okular does not result in missing
hyphens.

The big can be reproduced without printing using pdftocairo:

> echo 
> "\documentclass{article}\usepackage[T1]{fontenc}\begin{document}a-b---\end{document}"
>  | pdflatex 
> pdftocairo -pdf article.pdf out.pdf

If you open article.pdf (in Evince or in Okular), you will see a hyphen
and a long dash. If you open out.pdf instead, the dash is missing.

This bug has been observed already in other places:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810617
http://superuser.com/questions/969987/how-to-prevent-missing-hyphens-when-printing-pdf-from-evince

I am running an up-to-date Ubuntu 15.10 on AMD64 with 
libpoppler52:amd64 0.33.0-0ubuntu3 and
evince 3.16.1-0ubuntu1.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/0

------------------------------------------------------------------------
On 2016-03-29T06:10:13+00:00 Jason Crain wrote:

I'm reassigning this to cairo.  The test.pdf document from
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810617 looks similar
to bug 89082 for fonts using glyph 0, but for type3/user fonts instead
of truetype fonts.  cairo's pdf and ps output are missing the hypen.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/1

------------------------------------------------------------------------
On 2016-03-29T11:49:25+00:00 Undisclosed-m wrote:

The bug is still present with Ubuntu 16.04 Beta 2. However, I cannot
reproduce it using Arch though both use the same version of libcairo2
(1.14.6-1) and pdftocairo (0.41.0).

Earlier this year, a colleague observed this bug when printing from
Arch, too. So, it seems as some recent changes fixed it there; although
I don't know what exactly.

Let me know if you need further information.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/2

------------------------------------------------------------------------
On 2016-07-16T06:30:33+00:00 Adrian Johnson wrote:

https://cgit.freedesktop.org/cairo/commit/?id=190678f6444ad879847d603c3c9eaf8e9ab6887a

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/3

------------------------------------------------------------------------
On 2016-07-16T11:14:11+00:00 Adrian Johnson wrote:

*** Bug 86535 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/4

------------------------------------------------------------------------
On 2017-09-12T18:37:58+00:00 chrysn wrote:

Could this patch be backported to the 1.14 branch? I tried the naive
approach (just applying the single patch), but the
surface->target->is_vector member is absent there.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/5

------------------------------------------------------------------------
On 2017-11-23T10:12:57+00:00 Roland65 wrote:

I've provided a backport patch for Ubuntu 16.04 xenial.

It's here : https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/8

------------------------------------------------------------------------
On 2018-07-06T15:49:15+00:00 Alex Korobkin wrote:

*** Bug 105081 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/cairo/+bug/1734092/comments/10


** Bug watch added: Debian Bug tracker #810617
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=810617

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cairo in Ubuntu.
https://bugs.launchpad.net/bugs/1734092

Title:
  Evince does not print hyphens in some PDF documents (cairo bug)

Status in cairo:
  Fix Released
Status in cairo package in Ubuntu:
  Confirmed

Bug description:
  In some PDF files, characters like hyphen (minus sign) and others
  symbols are not printed in Evince.

  According to https://bugs.freedesktop.org/show_bug.cgi?id=94615, the
  bug is in version 1.14 of cairo.

  The bug was fixed last year in version 1.15 (see
  
https://cgit.freedesktop.org/cairo/commit/?id=190678f6444ad879847d603c3c9eaf8e9ab6887a).

  I've backported the above patch in Ubuntu 16.04 xenial, and it fixes
  the bug.

  To reproduce the bug (see attached test files) in Ububtu 16.04 (with
  libcairo2 1.14.6-1):

  1. Create a LaTeX test document (test.tex) with the following content:

  \documentclass{article}
  \usepackage[T1]{fontenc}
  \begin{document}
  a-b---
  \end{document}

  2. Create a test.pdf from test.tex:

  pdflatex test.tex

  3. Create a cairo pdf output (or print test.pdf on a printer, using
  Evince):

  pdftocairo test.pdf -pdf test1.pdf

  Open test1.pdf with Evince: as you can see, some of the hyphen signs
  have disappeared.

  
  To fix the bug, rebuild the cairo deb packages with the attached patch, 
install the packages and do (or print test.pdf on a printer, using Evince):

  pdftocairo test.pdf -pdf test2.pdf

  Now, open test2.pdf with Evince: there is no more missing hyphen sign.

  System: Ubuntu 16.04.3 LTS
  Packages: libcairo2 (1.14.6-1)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cairo/+bug/1734092/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to