Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Every version of Terminus I try.. Will not work... #106
So I have been going at this for hours now. I'm sure you all have heard of the font Terminus. It's the only font I will use in the Terminal. I just discovered kitty about 12 hours ago, and in that 12 hours all I've been trying to do is get the font Terminus to work.
Versions that I have used are as follows:
Every single one failed to show any signs of being present.
Trying to resolve the issue myself, I have also tried:
: Got this error while running
Traceback (most recent call last): File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/usr/lib/python3.5/runpy.py", line 85, in _run_code exec(code, run_globals) File ".src/kitty/__main__.py", line 7, in main() File ".src/kitty/kitty/main.py", line 315, in main run_app(opts, args) File ".src/kitty/kitty/main.py", line 223, in run_app boss = Boss(window, opts, args) File ".src/kitty/kitty/boss.py", line 107, in __init__ self.sprites.do_layout(cell_size.width, cell_size.height) File ".src/kitty/kitty/shaders.py", line 65, in do_layout self.pre_render() File ".src/kitty/kitty/shaders.py", line 76, in pre_render send() # blank File ".src/kitty/kitty/shaders.py", line 71, in send buf = render_cell(*a, **kw) File ".src/kitty/kitty/fonts/render.py", line 41, in render_cell first, second = rc(text, bold, italic) File ".src/kitty/kitty/fonts/freetype.py", line 260, in render_cell bitmap_char = render_char(text, bold, italic, width) File ".src/kitty/kitty/fonts/freetype.py", line 183, in render_char return render_using_face(font, face, text, width, italic, bold) File ".src/kitty/kitty/fonts/freetype.py", line 131, in render_using_face bitmap = render_to_bitmap(font, face, text) File ".src/kitty/kitty/fonts/freetype.py", line 125, in render_to_bitmap format(text, bitmap.pixel_mode) ValueError: FreeType rendered the glyph for ' ' with an unsupported pixel mode: 1
It's now comming up to about 14-15 hours now and I really need to get some sleep. I will check back when I'm up, and will provide any other information that may be needed. System specs are as follows though.
What should I write in the config file to change font?
I want to set Terminus font and here is output of fc-list:
Help, please. I have spent a lot of time in search of a way to set the font, but there is no result.
Note for using Terminus TTF, you need to use the right
Here is a table of point versus pixel sizes for Terminus (TTF): https://files.ax86.net/terminus-ttf/
Also, this is how I set the font in kitty.conf
Since my monitor has really weird DPI (92), the point size for 16 and 18 pixel sizes is 12.522~ respective 14.087