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

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



On Wed 12 Jun 2013 at 23:40:31 +0800, 王晓林 wrote:

> Sorry, what do you mean 'join' those files? My workflow is like the
> following:

I think Bastien wants you to send examples by attaching them to a mail
to the bug. The PostScript file produced by Emacs and which is sent to
cups would be very useful. It would allow us to process it in the same
way as you have.

>    1. open a c source file in an emacs buffer
>    2. M-x ps-print-buffer-with-face
>    3. Now, a generated PDF file can be found in my $HOME/PDF/ directory
>    4. Open this PDF file with xpdf. It looks pretty good before my last
>    system upgrade
>    5. 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.

This is the 'bad' PDF. I get the same as you. Having a 'good' PDF will 
also let us see what you see.
 
> 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.
> 
> That's all I can tell for now. If any information I can provide, let me
> know.

Thank you.

Regards,

Brian.


Reply to: