At the moment, when customizing a theme, one can only set normal or bold weight for a given font; however, modern editor fonts come with more than these two weights: up to 9, if I'm not mistaken (cf. Thin - ExtraLight - Light - Regular - Medium - SemiBold - Bold - ExtraBold - Heavy in Iosevka). Of course some has less than that, e.g. Fira Code has 5: Light - Regular - Medium - SemiBold - Bold. (There may be also distinction in slope, namely italic and oblique, but let's put this aside for now.)
Currently I use Fira Code and its bold is definitely too thick for me; however Medium or Semibold could just work. Would you please look into it?
DONE: Allow for more weights in fonts to choose from
DONE: Allow for more weights in fonts to choose from
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
- Rickard Johansson
- Site Admin
- Posts: 6783
- Joined: 19 Jul 2006 14:29
Re: Allow for more weights in fonts to choose from
Added in next release (v16.10).
Delphi VCL can not handle font weight. It can only handle bold, or not bold. I had to create some workaround and I wasn't sure it was going to work, but...
The keyword "push" is drawn using ExtraBold font weight, while the comments use SemiBold and Italic.
The items in the "Boldness" list are grayed if the current font doesn't support a font weight. You can still select it, since it may be supported by another font.
I'm still making some tweaks...
Delphi VCL can not handle font weight. It can only handle bold, or not bold. I had to create some workaround and I wasn't sure it was going to work, but...
The keyword "push" is drawn using ExtraBold font weight, while the comments use SemiBold and Italic.
The items in the "Boldness" list are grayed if the current font doesn't support a font weight. You can still select it, since it may be supported by another font.
I'm still making some tweaks...
Re: DONE: Allow for more weights in fonts to choose from
So, you pushed some extra weight, eh?Rickard Johansson wrote: ↑10 Dec 2023 19:44 The keyword "push" is drawn using ExtraBold font weight, while the comments use SemiBold and Italic.


I'm thrilled to give it a try. Huge thanks!
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus