[cairo] Re: Cairo font size should be in units

Bill Spitzak spitzak at d2.com
Tue Sep 28 18:49:28 PDT 2004

On Tuesday 28 September 2004 06:25 pm, graydon hoare wrote:

> well, no, actually that's not true; cairo builds its CTM in terms of
> physics. when you start up a cairo program, you have no reason to believe
> that 1 user unit == 1 pixel. if you want that to be true, the first thing
> you need to do is ask about DPI and reverse the physics-based
> transformation. cairo's supposed to support writing
> (semi)resolution-independent clients, after all.

I should have not used the word "pixels". I meant user units.

My main complaint is that I see no reason to request fonts using different 
units than are used to request paths or line thicknesses.

More information about the cairo mailing list