This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Does KATE substitute fonts?

Tags: None
(comma "," separated)
kde-deshmukh
Registered Member
Posts
184
Karma
0

Does KATE substitute fonts?

Wed Apr 09, 2014 9:10 am
Enigmatic KATE!

I have configured Kate to use DejaVu Sans font. The font does not have any devanagari characters. But when I type in devanagari, Kate displays it perfectly!

Is Kate auto-substituting DejaVu Sans with something else? Following is some devanagari text for you to try it out.

देवनागरी लिपी


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Does KATE substitute fonts?

Wed Apr 09, 2014 11:06 am
Kate doesn't do font rendering, it uses QTextLayout, which in turn uses QFont, which supports substitutions. So it's probably that doing the substitution, I would guess. If that guess is correct then you should observe the same behaviour in almost all Qt applications.

Is that a problem?

Greetings


I'm working on the KDevelop IDE.
kde-deshmukh
Registered Member
Posts
184
Karma
0

Re: Does KATE substitute fonts?

Wed Apr 09, 2014 2:05 pm
Not a problem, per se. It is still showing the same text.

But how do I know what font is being used and how do I change it so as to better suit personal preferences?


--
Manjaro KDE. Kernel 4.19.244-1-MANJARO. 64-bit. Plasma 5.24.5. KDE Frameworks 5.94.0. Qt 5.15.4. 8GB RAM and more than 100GB free on the hard disk.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS

Re: Does KATE substitute fonts?

Wed Apr 09, 2014 3:18 pm
You could use a font which has the characters you need, then it shouldn't pick a substitute, no? As for how to change the subsitutes, I don't know, sorry.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]