Adjust kerning in desktoptextarea?

Hi,

Is it possible to adjust the kerning, I think thats what its called, for text in the DesktopTextArea ?
If so, how?

If not, no worries.

Thanks. :sunglasses:

Do you like plugins or declares?

DesktopTextArea is a NSTextView, which you can use with NSTextViewMBS class (in MBS Xojo Plugins).
Then you get the storage with NSTextStorageMBS class. There you modify the NSKernAttributeName attribute with a value being a Number containing floating point value, in points; amount to modify default kerning. 0 means kerning is disabled.

I was just curious if XOJO had something built in.
Not against plugins or declares but just testing out a few ideas for my project.

No biggie.

Thanks…
:grin:

1 Like