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

Roger rogerx.oss at gmail.com
Fri Sep 9 22:56:06 PDT 2011

When printing with =app-office/abiword-2.8.6-r1, chars are constantly randomly
being replaced by rectangle/square chars.

By accident, I've caught Seamonkey browser doing this today while printing -- very
rarely, but I think I've got a method to reproduce.

utf-8 and true type fonts seem to be the trigger.  (The later TTF, is a guess as
printing with Courier new will silence this bug in abiword.)

To reproduce, create a html document using the stated font specifics:

<!-- HTML test debug page demonstrating chars, when printed, being replaced by square rectangle
graphics.  Certain chars at random, will be printed.  But once they start, the square rectangles
become consistent each time the document is printed. -->

<!-- Once I found the char being printed as a square rectangle on paper, I would edit the below
with repetative chars being miss printed. -->

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <span style="font-size: 14.0pt; line-height: 115%; font-family: Comic Sans MS">

A  B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z

a   b   c   d   e   f   g   h   i   j   k   l   m   n   o   p   q   r   s   t   u   v   w   x   y   z

1 2 3 4 5 6 7 8 9 0 ! @ # $ % ^ & * ( ) _ + - = ; ' : " { } [ ] < > ? / . ,




Load the page in Seamonkey with a similar typed url "file:///tmp/test.html"

Make a printout and examine each char for a char being replaced with a square
rectangle glyph.  Once you find one, edit the test.html and make repetitive
chars of that type and print. You should now see a mess of square rectangle


I'm focusing on cairo as the root cause (...as pango isn't a depend with
seamonkey, while cairo is a depend for both abiword & seamonkey.)

I've recompiled several packages, enabled some options to no avail.

I saw some mailings concerning using aqua/quartz instead of freetype, but
quartz is slated as not be stable at all on Gentoo here, nor can I force it as
I can't find the Core Graphics package.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.cairographics.org/archives/cairo/attachments/20110909/792bf350/attachment.pgp>

More information about the cairo mailing list