[cairo] Locking font / pen space

Behdad Esfahbod behdad at behdad.org
Mon Aug 30 10:52:50 PDT 2010


On 08/28/10 12:05, Bill Spitzak wrote:
> 
> In fact I very much believe almost every current Cairo program will work
> correctly whether or not font-lock is on. That is because nobody ever
> does transforms between setting the font and printing, because the
> current behavior is never what is wanted

And stop making statements that you cannot back up.  I've written cairo code
that uses the pattern you deny anyone having ever used.

Here's a simple use case: you want to draw text such that it takes exactly 500
pixels width.  You set some nominal text size, measure the text (say, it's w
pixels wide now), you cairo_scale(500./w,500./w), and redraw.

Bill.  Just stop expressing your strong opinions again and again.  We want to
have both behaviors available.  You get what you want, and everyone else gets
what they want.  I get the feeling that every time this issue is brought up,
you keep repeating yourself so much that everyone stops reading.  By now you
have made yourself *very* clear, believe me.  Now please just let those who
write code express their opinion in this thread so we hopefully see some code
written.


behdad


More information about the cairo mailing list