View previous topic :: View next topic |
Author |
Message |
DrLucky n00b
Joined: 30 Oct 2022 Posts: 5
|
Posted: Mon Oct 31, 2022 6:40 pm Post subject: Changing font for ST terminal emulator |
|
|
I am having an unusual issue changing the font for ST
I can successfully edit the st source code at /etc/portage/savedconfig/x11-terms/st-0.8.5
and then recompile with emerge.
A quick neofetch confirms the new terminal font. However, the ONLY font that works is the default Liberation Mono
All other fonts look *exactly* the same: overlapping characters with bad kerning.
I have tried both fonts that live in ~/.local/share/fonts and fonts from /usr/share/fonts with no difference.
The only only font that works is the default Liberation Mono.
I didn't expect my first post on the Gentoo forums to be about a font, but here we are lol!
Please tell me what I'm missing here _________________ ~ while no trees were harmed in the making of this post, many electrons were severely inconvenienced ~ |
|
Back to top |
|
|
mike155 Advocate
Joined: 17 Sep 2010 Posts: 4438 Location: Frankfurt, Germany
|
Posted: Mon Oct 31, 2022 9:17 pm Post subject: |
|
|
Usually I don't use st, but I just tried.
All commands below work and give me st terminal windows with different fonts. media-fonts/dejavu and media-fonts/source-code-pro are installed on my machine.
Code: | st -f 'Liberation Mono:pixelsize=16:antialias=true:autohint=true' |
Code: | st -f 'Source Code Pro:pixelsize=16:antialias=true:autohint=true' |
Code: | st -f 'DejaVu Sans Mono:pixelsize=16:antialias=true:autohint=true' |
It could be that USE flags are missing on your machine.
Please post the output of
Last edited by mike155 on Mon Oct 31, 2022 9:59 pm; edited 1 time in total |
|
Back to top |
|
|
DrLucky n00b
Joined: 30 Oct 2022 Posts: 5
|
Posted: Mon Oct 31, 2022 9:43 pm Post subject: |
|
|
You know that thing where it starts working whenever you go to show somebody how its broken??
I hadn't tried launching the terminal with a font flag as in your example/ But that worked.
So I went and edited the source and recompiled and it works fine now!
I have no clue why, DejaVu Sans Mono was one of the fonts I had used earlier with no luck.
All I can guess is I had a typo somewhere else in the line, but that wouln't explain why going back to Liberation Mono would work. _________________ ~ while no trees were harmed in the making of this post, many electrons were severely inconvenienced ~ |
|
Back to top |
|
|
|