i-tu / Hasklig

Hasklig - a code font with monospaced ligatures
SIL Open Font License 1.1
5.58k stars 155 forks source link

Doesn't work in any linux terminal #57

Open 0xR opened 8 years ago

0xR commented 8 years ago

This is a bit unfortunate. FiraCode works in qTerminal on linux. But I would like to try hasklig on linux in a terminal.

tripped commented 8 years ago

I just tried it in Konsole, and it seems to work! No luck in gnome-terminal, haven't tried qTerminal yet.

billksun commented 8 years ago

Interesting. I cannot see Hasklig in the font listing in Konsole. It shows up in Atom, Kate and KWrite, but doesn't show up in the system fixed width fonts selection. Seems like my Plasma 5 does not consider Hasklig as a fixed width font. I'm using Manjaro KDE.

tripped commented 8 years ago

@sib-null I saw that problem on Ubuntu 14.04 -- the Hasklig fonts just wouldn't show up in Konsole's font picker, though they were visible to other applications. I was able to use it anyway by putting Font=Hasklig Medium,10,-1,5,63,0,0,0,0,0 in ~/.kde/share/apps/konsole/Shell.profile.

When I tried it on Manjaro (Cinnamon) though, it mostly just worked -- Hasklig showed up in the fonts selector and I was able to choose it, though it seems for some reason I had to restart Konsole before it rendered correctly. I'm guessing it's due to differing versions of Konsole; on Ubuntu 14.04 I have Konsole 2.13.2; I'm not at my Manjaro desktop currently, but I suspect the version from the Arch repositories is newer.

billksun commented 8 years ago

Thanks @tripped! Editing the config file directly certainly works! This will do for now, until the font is properly fixed.

Manjaro indeed does use the latest version of Konsole, at 16.04.3. For what it's worth, Manjaro, and probably Arch, put the config file in a slightly different path, under ~/.local/share/konsole/Shell.profile.

ldmldmldm commented 8 years ago

Source Code Pro however does appear in both Konsole and Qterminal, so it seems like the modification process of Source Code Pro into Hasklig removes the required metadata.

chopfitzroy commented 7 years ago

Has anyone manage to get Hasklig showing in qterminal? OR has somehow hacked a way to use it?

Xaekai commented 4 years ago

Would this problem have to do with the insanity of fontconfig?

This looks interesting.