ink size of glyph
- From: "jim Pharis" <binbrain gmail com>
- To: gtk-app-devel-list gnome org
- Subject: ink size of glyph
- Date: Tue, 10 Oct 2006 16:53:08 -0400
I have strings of various languages stored in a database. I can print the
strings in my cairo widget no problem. However, I need to figure out what
the ink size of the glyph is because different characters are taking up
different amounts of space. That is, I need to know how many pixels the
character takes up when it is renedered to screen. Someone on IRC mentioned
to use Pango for this but I'm not making heads or tails of how I might
accomplish this using Pango. An example would be excellent.
--
- Jim Pharis
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]