setting font size
- From: Zeeshan Ali <zeenix gmail com>
- To: gtk-app-devel-list gnome org
- Subject: setting font size
- Date: Mon, 13 Dec 2004 01:46:35 +0500
Hello,
I am trying to set the font-size in terms of pixels (which isn't
directly possible). It seems I'm missing something here. Isn't this
the correct formula to caclulate the font-size in pango units: pixels
* PANGO_SCALE, which i can pass to pango_font_description_set_size ?
why on earth would this formula give the correct result: (pixel + 1) *
PANGO_SCALE?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]