[Font] load font files, font specification by character type.etc

$Use of external font files that are not installed.

By specifying a file with the following extension, you can specify the font in that file.
.ttf, .otf,.tte,.ote,.eot,.woff,*.woff2
etc.

This font file will not be installed in Krita.

$Make it possible to specify a font for each character type.

Hiragana, Katakana, Kanji, Korean, Chinese, Symbols, Numbers, English, etc.
I would like to be able to specify the font for each character type.
This is because some free fonts contain only hiragana, katakana, or other specific character types.

$In order to support special font data, the
Specifying the font character encoding

$Real-time preview of text editing characters

Not in the text editing window, but in the
It will be reflected in the actual string layer.
Since this is a preview, if you close the dialog without saving, it will return to the state before you opened the dialog.

:slight_smile: Hello @lRRXl and welcome to the forum!

No Font-File will be installed in Krita, Fonts are provided from the operating system you use, so if you want to use a Font in Krita you have to install the Font in Windows, Linux, macOS, Android, Chromebook.

If any of the Fonts you named is installed in the OS you can use and place them in Krita, the first letter in Kanji, the second in Katakana, the third in Hiragana and so on, every letter a different Font if you like, but as said it has to be installed in the OS first not in Krita.

The only thing is, Krita’s text-functionality is not very nice, there are several topics about it and the developers know this and it is planned to improve Krita’s text tool in the future, but the future is endless…
Perhaps you want to try @KnowZero’s “Lazy Text Tool” Plugin for Krita instead?

it can be downloaded from here, you have to click on the green Code button on that site and select “Download ZIP”:

If I remember correctly, it is also capable to handle vertical fonts, but therefore you should ask @KnowZero.

Michelist

Hi

Using a font not installed is technically possible, but only fonts supported by Qt framework are recognized:

Currently only TrueType fonts, TrueType font collections, and OpenType fonts are supported.

For example, BuliNote plugin allows -with some limitation- use of a font not installed on system.

But more than technical stuff for implementation, I’m wondering what’s the real use of something like this?

I’m not sure to understand the request.
Currently it’s already possible in text editor to define different fonts for characters.

So I consider that’s not what you’re asking for.

Maybe a mockup or an example in an another application of what is it or what it looks like could help to understand

Or, maybe you’re asking something like this?


But I’m not sure…

Krita manage UTF-8
So special character encoding is already taken in account

There’s currently a plugin for that, @Michelist already gave the link.
That’s a prototype implemented for testing before a native integration in Krita I think.
There’s also already some tasks for improvement of text editing in Krita.

Grum999

1 Like

That is cool, and I didn’t know that! :+1:

Michelist

ShapesAndLayers plugin lets you load up fonts that are not installed. You can even hotload them realtime by specifying a directory.

As mentioned, QT supports only certain formats. You can convert them pretty easily.

There is really no such thing as a character type. Now there are character ranges, but every font is different and not all follow standards, especially symbol fonts. Not to mention there are languages, full width characters and etc.

This seems more like something you’d have in a plugin then adding officially.