| [news.eclipse.platform.swt] Re: Get advance width of a String in a Font. |
Hello,
I would like to get the advance width of a specified String in a specified Font. Someone would known a toolkit or something else which provide this width.
Create a GC object, call setFont(), then call stringExtent(String).
HTH, Eric