PangoCairoFontMap resolution
- From: Theo Veenker <Theo Veenker let uu nl>
- To: gtk-i18n-list gnome org
- Subject: PangoCairoFontMap resolution
- Date: Wed, 22 Oct 2008 21:54:42 +0200
Hi all,
Suppose I'm writing a text on two displays (using the same font face).
Display 1 has a resolution of 85 dpi and display 2 has a resultion of
100 dpi. I could create two fontmaps and for both set the desired
resolution using pango_cairo_font_map_set_resolution() and then
work with those.
But what if I would just create one fontmap (with default resolution
of 96 dpi) and draw the text (through cairo) with scale 85/96 on
display 1 and with scale 100/96 on display 2. Would this yield
the same result as with two dedicated fontmaps?
Theo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]