[Gnome-print] Other question, How get the height of a text?



Hello again.


What i must do to get the height of a text. I select a font and a
size, i can get its width, but
i don't know how get its height. How i could get it?. I need it to
print three objects.
	First a line.
	After a Word.
	And at the end another line.


Something like:

		----------------
		Hello World
		----------------

But i need to know the size of the text "Hello World" to calculate the
second line coordinate.

Thanks in advance.


-- 
Carlos Perelló Marín
mailto:carlos@hispafuentes.com         Teléfonos:
http://www.HispaFuentes.com            Asistencia:     +34913441383
Hispafuentes S.L.                      Administración: +34913441804
Calle José Lázaro Galdiano, 2 entreplanta A
28036 - Madrid  (España)




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