Stretching a text to a certain width of height
- From: Damien Boucard <damien boucard ubicast eu>
- To: gtk-i18n-list gnome org
- Subject: Stretching a text to a certain width of height
- Date: Fri, 11 Dec 2009 14:20:50 +0100
Hello,
I would like to know if it is possible to give an arbitrary width or height and automatically compute the correct font size which fits to the given constraint.
Presently, I increment the font size iteratively until the text width is over the wanted width. But this workaround is very slow and unusable when I do it on many text items. I guess there is a cleaner method to do this...
Thank you for your help,
Damien.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]