[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#712015: Fwd: Bug#712015: cups-filters: cups-pdf produces ugly pdfs through its pixelated font



Hi, Bastien

Thanks for the quick reply. With this email, I attach a 'good' PDF
file generated before my last system upgrade for your reference. Also
the 'bad' one is attached again after cropped. Hope they help.

Xiaolin


--
王晓林



On Wed, Jun 12, 2013 at 11:45 PM, Bastien ROUCARIES
<roucaries.bastien@gmail.com> wrote:
>
> On Wed, Jun 12, 2013 at 5:40 PM, 王晓林 <wx672ster@gmail.com> wrote:
> > Sorry, what do you mean 'join' those files? My workflow is like the
> > following:
> >
> > open a c source file in an emacs buffer
> > M-x ps-print-buffer-with-face
> > Now, a generated PDF file can be found in my $HOME/PDF/ directory
> > Open this PDF file with xpdf. It looks pretty good before my last system
> > upgrade
> > I crop this PDF file with pdfcrop, and then insert the final cropped PDF
> > into my latex beamer slides with \includegraphics Macro
> >
> > After my last apt-get upgrade, the generated PDF file looks no good. And
> > xpdf generates an error message repeatedly. The message is:
> >
> >> Error: Bad bounding box in Type 3 glyph
> >
> >
> > An example PDF output is attached with this email.
> >
> > I googled, and found that it seems cups-pdf is to be blamed.
> >
> > https://www.google.com.hk/search?q=cups-pdf+ugly+font&oq=cups&aqs=chrome.1.69i57j69i59l3.8974j0&sourceid=chrome&ie=UTF-8&qscrl=1
> >
> > I know the PDF backend of ps-print in emacs is cups-pdf. So I also tried
> > replace my current /usr/lib/cups/filter directory with another older
> > version. But after the replacement, ps-print cannot output anything
>
> I means:
> - 1. joining the ps file corresponding (aka print to file as
> postscript under emacs)..
> - 2. You have joined the bad pdf file
>
> Bastien
> >
> > That's all I can tell for now. If any information I can provide, let me
> > know.
> >
> > cheers.
> >
> >
> >
> > --
> > 王晓林
> >
> >
> >
> > On Wed, Jun 12, 2013 at 6:41 PM, Bastien ROUCARIES
> > <roucaries.bastien@gmail.com> wrote:
> >>
> >> control: tag - 1 + moreinfo
> >>
> >> Could you join original ps file, bad pdf file, and a good pdf file ?
> >>
> >> Bastien
> >>
> >> On Wed, Jun 12, 2013 at 6:41 AM, Xiaolin Wang <wx672ster@gmail.com> wrote:
> >> > Package: cups-filters
> >> > Version: 1.0.34-3
> >> > Severity: normal
> >> >
> >> > Dear Maintainer,
> >> > *** Please consider answering these questions, where appropriate ***
> >> >
> >> >    * What led up to the situation?
> >> >
> >> >    I oftenly use 'ps-print' within emacs to print some souce code into
> >> >    PDF. And it works great.
> >> >
> >> >    After a recent system update, the generated PDFs use some kind of
> >> >    unclear fonts, and very hard to read.
> >> >
> >> >    I open the generated PDFs with xpdf, and get an error message
> >> >    repeatly in the command line: "error: bad bounding box in type 3
> >> > glyph"
> >> >
> >> >    I googled and found cups-pdf/cups-filters is blamed. Seems the
> >> >    pdf2pdf/pdf2ps filters work incorrectly.
> >> >
> >> >    I tried copy a /usr/lib/cups/filter directory from another
> >> >    Debian/wheezy system to replace my current Debian/sid one. But it
> >> >    didn't work.
> >> >
> >> > -- System Information:
> >> > Debian Release: jessie/sid
> >> >   APT prefers unstable
> >> >   APT policy: (500, 'unstable')
> >> > Architecture: amd64 (x86_64)
> >> > Foreign Architectures: i386
> >> >
> >> > Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
> >> > Locale: LANG=en_US.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8)
> >> > Shell: /bin/sh linked to /bin/dash
> >> >
> >> > Versions of packages cups-filters depends on:
> >> > ii  bc                  1.06.95-8
> >> > ii  fonts-freefont-ttf  20120503-1
> >> > ii  fonts-liberation    1.07.2-6
> >> > ii  ghostscript         9.05~dfsg-6.3
> >> > ii  libc6               2.17-5
> >> > ii  libcups2            1.6.2-8
> >> > ii  libcupsfilters1     1.0.34-3
> >> > ii  libcupsimage2       1.6.2-8
> >> > ii  libfontconfig1      2.9.0-7.1
> >> > ii  libfontembed1       1.0.34-3
> >> > ii  libgcc1             1:4.8.1-2
> >> > ii  libijs-0.35         0.35-8
> >> > ii  liblcms2-2          2.2+git20110628-2.2
> >> > ii  libpoppler19        0.18.4-6
> >> > ii  libqpdf10           4.1.0-2
> >> > ii  libstdc++6          4.8.1-2
> >> > ii  ttf-dejavu          2.33+svn2514-3
> >> >
> >> > Versions of packages cups-filters recommends:
> >> > ii  colord            0.1.21-4
> >> > pn  foomatic-filters  <none>
> >> > ii  ghostscript-cups  9.05~dfsg-6.3
> >> >
> >> > Versions of packages cups-filters suggests:
> >> > pn  foomatic-db-compressed-ppds | foomatic-db  <none>
> >> >
> >> > -- no debconf information
> >> >
> >> >
> >> > --
> >> > To UNSUBSCRIBE, email to debian-printing-request@lists.debian.org
> >> > with a subject of "unsubscribe". Trouble? Contact
> >> > listmaster@lists.debian.org
> >> > Archive:
> >> > [🔎] 20130612044136.6439.98766.reportbug@localhost">http://lists.debian.org/[🔎] 20130612044136.6439.98766.reportbug@localhost
> >> >
> >
> >

Attachment: task-struct.pdf
Description: Adobe PDF document

Attachment: _stdin_-crop.pdf
Description: Adobe PDF document


Reply to: