[cairo] Re: [PATCH] PS/PDF improve efficiency of text output

Adrian Johnson ajohnson at redneon.com
Wed Oct 25 06:49:43 PDT 2006


Behdad Esfahbod wrote:
> Looks good.  Minor comments follow, but other than that I think you
> should go ahead and push this.  Better commit a not-perfect-yet patch
> and get testing rather than letting it rot.

I'll update to include your comments then commit.

>> +#define MAX_GLYPHS_PER_SHOW  36
> 
> I'm not sure I understand why this is needed.  Can't a hex encoded
> string be wrapped?  It works with ghostscript at least.

As each glyph position after the first is specified by the displacement
from the previous glyph, would it be possible for a rounding error in
the conversion from the displacement to the PS interpreter's internal
representation to be large enough that very long xyshow strings have a
noticeable error in the position of the last glyph?



More information about the cairo mailing list