Re: confused about pango_cairo_font_map_set_resolution API



Axel Simon wrote:
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.
Thats why this resolution IMHO is rarely used, atleast not when you do video editing or graphics. But for common resultions the aspects stuff works. 1280x960 wold be correct again.

Stefan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]