You are not logged in.

#1 2018-01-27 20:45:44

Ploppz
Member
Registered: 2013-09-14
Posts: 311

Termite: Can't use some fonts I installed

Two fonts I installed (after which I did a reboot):

$ fc-list | grep scientifica
/home/ploppz/.local/share/fonts/scientifica-11.bdf: scientifica:style=Regular
$ fc-scan --format "%{foundry} : %{family}\n" /home/ploppz/.local/share/fonts/scientifica-11.bdf
nerdypepper : scientifica
$ fc-list | grep Envy
/usr/share/fonts/TTF/EnvyCodeR.ttf: Envy Code R:style=Regular
$ get-foundry /usr/share/fonts/TTF/EnvyCodeR.ttf                           
ENVY : Envy Code R

As you now have to write fonts in `.config/termite/config` in the format `<foundry> <name> <style> <size>`, I tried font = `ENVY 'Envy Code R Regular' 9` and `font = nerdypepper scientifica Regular 11`.

None worked. That is, termite just fell back on a default font with really bad kerning. What am I doing wrong here? `xfontsel` can find these fonts.

Offline

#2 2018-01-27 21:56:20

red-lichtie
Member
Registered: 2015-03-08
Posts: 53

Re: Termite: Can't use some fonts I installed

Should the 2nd one just be as follows ?

font = Envy Code R 9

Without the style?


Doing it the Linux way since 1997 and Arch way since 2015 (and loving it!)
Platforms: Intel, ARMv6 (Raspberry Pi), ARMv7 (BeagleBone Black), ARMv8 (Raspberry Pi)
Languages: C, C++, ASM, Pascal & Java

Offline

#3 2018-02-03 06:08:32

brainfucksec
Member
Registered: 2017-03-01
Posts: 40
Website

Re: Termite: Can't use some fonts I installed

Check this: https://gist.github.com/cirrusUK/9398220

Like red-lichtie suggested you, the correct syntax is:

font = Envy Code R 10


--= [ |<!55 ]=--

Offline

#4 2018-02-06 14:26:48

Ploppz
Member
Registered: 2013-09-14
Posts: 311

Re: Termite: Can't use some fonts I installed

Thanks! But why not Foundry and Style? On other fonts I have sometimes needed foundry, sometimes not, but always style.
Btw, still want to know how to make 'scientifica' work.

Last edited by Ploppz (2018-02-06 14:28:29)

Offline

#5 2018-02-24 13:40:45

brainfucksec
Member
Registered: 2017-03-01
Posts: 40
Website

Re: Termite: Can't use some fonts I installed

Ploppz wrote:

Thanks! But why not Foundry and Style? On other fonts I have sometimes needed foundry, sometimes not, but always style.
Btw, still want to know how to make 'scientifica' work.

I do not understand what you mean sad


--= [ |<!55 ]=--

Offline

Board footer

Powered by FluxBB