Score:0

x-terminal-emulator font rendering

mx flag

Ubuntu comes with x-terminal-emulator alias "termit" (not "termite"). I've read the manual pages and examples, but can't figure out how to make fonts look good.

I'm specifying a user config in ~/.config/termit/rc.lua, as it is standard and also detailed in the manual page for x-terminal-emulator.

The fonts I've tested are all under /usr/share/fonts/truetype/<fontFolder>/<fontName>. For example, this is the default config for a font:

defaults.font = 'Monospace 14'

And I'm typing

defaults.font = 'SourceSansPro 14'

instead.

The font is in the right place, as you can see here:

 ls /usr/share/fonts/truetype/SourceSansPro/
OFL.txt                             SourceSansPro-Italic.ttf
SourceSansPro-BlackItalic.ttf       SourceSansPro-LightItalic.ttf
SourceSansPro-Black.ttf             SourceSansPro-Light.ttf
SourceSansPro-BoldItalic.ttf        SourceSansPro-Regular.ttf
SourceSansPro-Bold.ttf              SourceSansPro-SemiBoldItalic.ttf
SourceSansPro-ExtraLightItalic.ttf  SourceSansPro-SemiBold.ttf
SourceSansPro-ExtraLight.ttf

The terminal changes once I do that, but the letter spacing is massive and can't find where should it be changed.

Any ideas?

Minsky avatar
mx flag
nevermind, what I did was to download a monospaced font (Inconsolata), and that looks nice, using font size 20.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.