Can anyone tell how can I calculate width of a string in pixels,provided font size in pixels? I have to do it in C under linux?
You probably need something like the FreeType library