[cairo] When printing, chars are replaced with square graphic char

Adrian Johnson ajohnson at redneon.com
Sat Sep 10 22:26:19 PDT 2011


On 11/09/11 08:10, Roger wrote:
> Anyways, I created a new document within Abiword using "Time New Roman"
> 
> $ fc-match "Time New Roman"
> DejaVuSans.ttf: "DejaVu Sans" "Book"
> 
> I then typed the "A B C D ..., a b c ..., 1 2 3 ..., ! @ # ..." and copied the
> lines several times.  The very last comma symbol "... ? / . ," was replaced
> with the rectangle glyph.
> 
> Attached is the /tmp/printout.

Your printout file has been converted from PDF to PS using pdftops. If
you are using gtk 2.24 or later AbiWord has printed the file in PDF
format. There are a few things you can try to narrow down the cause of
this bug.

1. Print from AbiWord to a PS file and print the PS file bypassing CUPS
filtering:

lpr -o raw print.ps

2. Print from AbiWord to a PDF file, convert to PS then print:

pdftops -level2 print.pdf
lpr -o raw print.ps

and

pdftops -level3 print.pdf
lpr -o raw print.ps

Your printout has been converted from PDF to level 3 PS. The font is
embedded as a CID font. If you convert to level 2 PS, CID fonts will not
be used. It could be that the your printer has a problem with CID fonts.
I found a couple of similar bug reports:

https://bugs.freedesktop.org/show_bug.cgi?id=19640
https://bugs.launchpad.net/poppler/+bug/277404

I tried printing your printout on my Xerox printer which has an Adobe
PostScript 3 interpreter and it printed correctly.


More information about the cairo mailing list