Fonts need the option to set kerning

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
Axeman
User
User
Posts: 89
Joined: Mon Nov 03, 2003 5:34 am

Fonts need the option to set kerning

Post by Axeman »

I'm trying to edit a logo image I created in PureBasic at the moment and the lack of an option to set the kerning space between characters is causing an outline that I've added to bleed when I blur it.

The option to set the kerning space is essential when drawing text in images, etc. Without it you are extremely limited in how you can use text in graphics rendering.
User avatar
Saki
Addict
Addict
Posts: 830
Joined: Sun Apr 05, 2020 11:28 am
Location: Pandora

Re: Fonts need the option to set kerning

Post by Saki »

You can use the FontWizzard_BF.

You just have to specify a rectangle and position of the desired size there.
The tool can also create text images and of course output on all channels.

It will then fit any text, left, right, centered, multi colored,
with or without transparency, multi frames, multi image including, multi colored boxes, sub frames, sub images....

With adjustable X, Y padding and also kerning in the X and Y axis.

It is a special text design tool.

Image

If you only need something very simple, you can output the characters one by one with DrawText.
DrawText then returns the next output position x, there you subtract the desired kerning or add it to it.
Multiline and formatted is much more complicated.
地球上の平和
Post Reply