Letters appear too close together in sans serif default font
when displayed in a JTextComponent. I see that there is
a field called advance in one of the classes in java.awt.font,
which is described as controlling letter spacing (or tracking),
but it is extremely unclear how this field can be set or
how it then can be made to affect a JTextComponent. Ideally
it seems as if there should be a way to call some
method in the relevant Font object in order to produce an
adjustment of this property of how the font is rendered
(as well as related properties such as space between lines
of text and so on). Perhaps there is a way to do this
with TextLayout, though it seems like the amount of effort
required to manipulate TextLayout objects is far out of
proportion to the seemingly simple task I am trying to do.
Any assistance would be greatly appreciated.