| [news.eclipse.platform.swt] Re: How to calculate character widths? |
Bob Foster wrote:
I wasn't aware that single characters have a 'true width'. You can write a string of characters and find out how wide it is, or calculate same without drawing. But except for mono-space fonts, the result is not the same, in general, as adding up the widths of the individual characters.
bye -- Stefan Matthias Aust // www.3plus4software.de // Inter Deum Et Diabolum Semper Musica Est