[cairo] dimensionally accurate drawings on screen ?

Carl Worth cworth at cworth.org
Fri Jan 20 12:57:22 PST 2006


On Fri, 20 Jan 2006 20:45:04 +0000, Axel Simon wrote:
> 
> a) you need to specify this scaling factor for all text rendering, too,
> since Gtk (and Cairo) have a built-in, fixed DPI setting for fonts.

Cairo does not have a built-in, fixed DPI setting for fonts that I am
aware.

A size passed to something like cairo_set_font_size is a size in
user-space coordinates, so it is affected by the current
transformation matrix (as set by things like cairo_scale).

-Carl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/cairo/attachments/20060120/9bfe9f35/attachment.pgp


More information about the cairo mailing list