the width of "History" varied
- From: "Guangdao Gu" <daodao76 email com>
- To: gtk-i18n-list gnome org
- Subject: the width of "History" varied
- Date: Tue, 13 Aug 2002 21:05:00 -0500
Hello
I'm programming under gnome2. I wonna caculate the width of the string "History".
I do that using pango_layout_get_pixel_size. When i do it in the en_US evironment,
the width is 34, but in the zh_CN evironment, it becomes 42. In fact it's
always written in Helvetica 10, and the width is fixed, at least measured on the screen
by my ruler:) It seems 34 is correct.
How can i get the correct width no matter the language evironment?
Thanks
daodao
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]