On Tue, 2005-11-15 at 09:05 +0100, Stefan Kost wrote: > Hi Axel, > > Axel Simon wrote: > > Hi, > > > > I'm slightly confused about the pango_cairo_font_map_set_resolution > > function and friends, mainly because it only takes one argument, namely > > a scaling factor between em*1/72 (font size in inch (why oh why?!)) and > > pixels. Given that my monitor (and probably other output media) has a > > different resolution in x and y direction this seems weird. > > Computer monitor pixels are square. The monitor itself has an aspect ration > of > 4:3 or 16:9, but will be compensated by using more pixels on the x axis.
The mask of a screen might be, but depending on the resolution, the displayed pixels are not: I can use the VESA mode 1280x1024 (5:4) on either a 4:3 or 16:9 monitor. Maybe this is too pedantic and that's the reason why the API only has a single resolution parameter. I have no experience with, say, printers, but I thought there you could have 300x600 DPI or such like. > Can't answer the rest though. That's a start, thanks, Axel. _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list