You are not logged in.
I am trying to use the Gohu bitmap font (http://font.gohu.org/) that I've downloaded from the AUR. However, with a supported font size of 14 in Termite I get very odd results. This is what my terminal font is actually rendered as, instead of the nice bitmap font it's supposed to be. It's clear there's a lot going wrong here but I'm not sure where to start.
The font line in my termite config is
font = Gohu 14pxLast edited by keltek (2017-11-28 21:30:31)
Offline
You probably have bitmap fonts disabled in your config: that isn't Gohu in the screenshot.
Offline
I'm not sure what config you're referring to. I've explicitly linked the 70-yes-bitmaps.conf file from
/etc/fonts/conf.avail/to
/etc/fonts/conf.d/I thought that would be enough to activate it.
Offline
fc-match Gohu
fc-list | grep -i gohu
fc-cache -fv
fc-list | grep -i gohuOnline
I don't have Gohu installed but I can get Dina working with termite by using this line in ~/.config/termite/config:
font monospace 8Then I set the monospace alias in ~/.config/fontconfig/fonts.conf:
<alias>
<family>monospace</family>
<prefer><family>Dina</family></prefer>
</alias>Which gives:
empty@Xanadu:~ $ fc-match monospace
DinaMedium10.pcf.gz: "Dina" "Regular"
empty@Xanadu:~ $So substituting "Gohu" in place of "Dina" should do the trick.
You may have to play around with the sizing because termite doesn't accept "pixelsize", "8" seems to be the same as "pixelsize=10" (which is the correct size for Dina).
Last edited by Head_on_a_Stick (2017-11-28 21:26:07)
Jin, Jîyan, Azadî
Offline
I'm an idiot. I wasn't aware that the format of fc-list output tells you what to specify. Specifically with this line
/usr/share/fonts/misc/gohufont-uni-14.pcf.gz: Gohu GohuFont:style=RegularI'm being told to use
Gohu GohuFontas the name for the font instead of just Gohu. I wasn't aware that the name I gave was invalid and so it was returning me a default font. Thanks for everyone's suggestions though. I still have a lot to learn about fonts so I'll keep digging.
Offline