what is the pixel width of a character space ‘ ‘ in ubuntu.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The width of a character is not fixed as it may depends on font size, family, bold, etc.
Why do you need to know?
edit: you can get a string width with GTK using Pango layout: http://mail.gnome.org/archives/gtk-app-devel-list/2003-November/msg00071.html .