
04-05-2011, 07:48 AM
|
|
Banned
|
Join Date: Feb 2007
Posts: 1,002
|
|
|
This is not kerning, it is just how all non-monospaced fonts work. Kerning is when you tuck letters (like K and e) under each other because it looks like there is space between them if you don't (even though they are right next to each other).
Most browsers haven't even supported kerning until very recently, and Graal certainly doesn't.
Also, doing what you want to do (monospace a non-monospace font) will look like poo and will definitely negate any benefits you get from nicer selecting.
What you really need is a way to read glyph widths from the font. Maybe GuiControlProfile.gettextwidth("some string"); will be helpful for you here? |
|
|
|