[cairo] problems with text rendering, 1.6.4

Behdad Esfahbod behdad at behdad.org
Wed Apr 23 09:43:45 PDT 2008


On Wed, 2008-04-23 at 11:10 -0400, Tamas K Papp wrote:
> Hi Behdad and others,
> 
> I haven't had any responses to this, so I am wondering if you guys
> need further information on the bug that I could perhaps provide.
> 
> The bug is really elusive, it only occurs when all of the following hold:
> 1) I am using the PS backend,
> 2) using colors with alpha channel (RGBA),
> 3) drawing both text and lines/fills
> 
> The floating point exception only comes when I destroy the context
> (surface was destroyed when I created the context), not during the
> drawing phase.
> 
> I wonder if there is any information I can extract from C structures
> residing in memory that would aid the debugging of this problem (some
> kind of state dump, etc).

Hi,

What would definitely help is a C translation of your test case that
hits the bug...

Cheers,
behdad

> Tamas
> 
> On Mon, Apr 21, 2008 at 11:12:04PM -0400, Behdad Esfahbod wrote:
> > On Mon, 2008-04-21 at 21:03 -0400, Tamas K Papp wrote:
> > > On Mon, Apr 21, 2008 at 08:47:46PM -0400, Behdad Esfahbod wrote:
> > > > On Mon, 2008-04-21 at 20:32 -0400, Tamas K Papp wrote:
> > > > > 
> > > > > I can provide the example code that generated these (it is in Lisp,
> > > > > but maps into C commands straightforwardly).
> > > > 
> > > > If you can, then just straight do.  We don't read minds!
> > > 
> > > Sorry, here it is.  It just uses the simple text functions.  In the
> > > functions below, *context* is the default context.
> > 
> > I see.  The PDF renders fine in evince here.  Looks like a bug in the PS
> > backend.  Adrian may be able to tell what's wrong by just looking at the
> > PS output.  Or he may need to convert the sample to C and run it...
> > Anyway, I'm sure he can figure out what the bug is.
> > 
> > Cheers,
> > 
> > behdad
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
-- 
behdad
http://behdad.org/

"Those who would give up Essential Liberty to purchase a little
 Temporary Safety, deserve neither Liberty nor Safety."
        -- Benjamin Franklin, 1759



More information about the cairo mailing list