Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fonts larger than 20 point? [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
pente
n00b
n00b


Joined: 21 Mar 2013
Posts: 29

PostPosted: Fri Nov 12, 2021 5:52 pm    Post subject: Fonts larger than 20 point? [solved] Reply with quote

Is there a way to get fonts larger than 20 point in xterm? The small size of the text has been straining my eyes painfully. I have already installed "terminus" which supposedly has large fonts; I've searched all sorts of things and found no other useful advice.

This is in my .Xdefaults:

Code:

xterm*font:         *-*-*-*-*-*-20-*-*-*-*-*-*-*
xterm*boldFont:     *-*-*-*-*-*-20-*-*-*-*-*-*-*


xfontsel does not show any fonts above 20 point.

I am open to other solutions for making text larger, such as changing terminal. I can decrease the resolution of my display but that causes a lot of other effects and I'd rather have my display be in native resolution.

Thanks.


Last edited by pente on Fri Nov 12, 2021 7:22 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Fri Nov 12, 2021 6:53 pm    Post subject: Reply with quote

  1. Emerge xterm with the USE flag 'truetype'

  2. Install a TrueType fond like DejaVu:
    Code:
    emerge media-fonts/dejavu

  3. Add the lines below to your ~/.Xresources:
    Code:
    XTerm*renderFont: true
    XTerm*faceName: DejaVuMono
    XTerm*faceSize: 24

  4. Run
    Code:
    xrdb ~/.Xresources

  5. Start xterm:
    Code:
    xterm

Back to top
View user's profile Send private message
pente
n00b
n00b


Joined: 21 Mar 2013
Posts: 29

PostPosted: Fri Nov 12, 2021 7:22 pm    Post subject: Reply with quote

Thank you, that works exactly. I checked again to see if I had overlooked something obvious and information on true type fonts in gentoo seems very scarce!

Is there an analog to "xfontsel" that lets me explore my options for true type fonts?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Nov 13, 2021 2:12 pm    Post subject: Reply with quote

Quote:
Is there an analog to "xfontsel" that lets me explore my options for true type fonts?

It depends on what you want to know.

First of all, TrueType fonts are scalable. Any size can be selected. There's no need for a tool to display available font sizes.

There are various font browsers that show font properties. You could also use the font selection box in LibreOffice or similar programs to get a list of available fonts.

There are tools like fc-match or fc-list that work on a console:
Code:
fc-list :mono
or
Code:
fc-list :mono | egrep -i "(ttf|otf)" | sort

will display all monospaced fonts on your machine.

My favorite terminal is kde-apps/konsole and my preferred font is "Source Code Pro 10pt". To get similar results in other terminals, "Source Code Pro Medium 10pt" is required. But font rendering in konsole is still a bit better. I don't know why.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Sat Nov 13, 2021 3:34 pm    Post subject: Reply with quote

If you want a visual look at the different fonts, emerge font-manager.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Sat Nov 13, 2021 5:25 pm    Post subject: Reply with quote

Anon-E-moose wrote:
If you want a visual look at the different fonts, emerge font-manager.


What package is that ?
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6097
Location: Dallas area

PostPosted: Sat Nov 13, 2021 5:47 pm    Post subject: Reply with quote

app-misc/font-manager-0.8.7 pf4public overlay

I wish they would put it in the gentoo repo, but I do like the fact that I can see what all the fonts look like, with sizing applied. Nice visual tool

From github https://github.com/FontManager/resources/blob/master/font-manager.png?raw=true
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Sat Nov 13, 2021 7:08 pm    Post subject: Reply with quote

https://github.com/FontManager/font-manager

https://github.com/PF4Public/gentoo-overlay/tree/master/app-misc/font-manager

@Anon-E-moose: Thanks for the link to Font-Manager! I just installed the program and I think I like it! :)
Back to top
View user's profile Send private message
dmpogo
Advocate
Advocate


Joined: 02 Sep 2004
Posts: 3267
Location: Canada

PostPosted: Sat Nov 13, 2021 10:19 pm    Post subject: Reply with quote

Anon-E-moose wrote:
app-misc/font-manager-0.8.7 pf4public overlay

I wish they would put it in the gentoo repo, but I do like the fact that I can see what all the fonts look like, with sizing applied. Nice visual tool

From github https://github.com/FontManager/resources/blob/master/font-manager.png?raw=true


Thanks ! This reminds me of some program I used to have 10-15 years ago .... Currently, konsole font chooser gives you a visual of a font when you select it. I used that to look at the fonts
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum