WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Change font in the Terminal.  (Read 1720 times)

Offline meo

  • Hero Member
  • *****
  • Posts: 651
Change font in the Terminal.
« on: July 28, 2023, 07:22:18 AM »
Hi guys!

I would like to change the font (or make it bigger) in the terminal using piCore 14.0. How can that be done?

Kind regards,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Online patrikg

  • Wiki Author
  • Hero Member
  • *****
  • Posts: 722
Re: Change font in the Terminal.
« Reply #1 on: July 28, 2023, 07:50:59 AM »
Can you explain what terminal you want larger font ??
In the console or in some X11 apps like xterm ??


Offline meo

  • Hero Member
  • *****
  • Posts: 651
Re: Change font in the Terminal.
« Reply #2 on: July 28, 2023, 09:50:27 AM »
The terninal that installs when I run 'tce-load -wi TC'.
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline meo

  • Hero Member
  • *****
  • Posts: 651
Re: Change font in the Terminal.
« Reply #3 on: July 29, 2023, 06:54:46 AM »
I think it's aterm.  :) // meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

aus9

  • Guest
Re: Change font in the Terminal.
« Reply #4 on: July 29, 2023, 10:13:52 PM »
hi meo

try
Code: [Select]
aterm -fn <numberxnumber>
eg aterm -fn 12x24

it depends on your monitor and also what screen resolution you are using,  I am showing a screenshot
https://imgur.com/PiRKryQ

on a 25 cm monitor  and my monitor can do 1920x1080 but I am using 1024x768 as I am wearing glasses, well I am supposed to wear glasses all the time.

the numbers you can try....although some will be smaller are:
10x20  12x24   5x7   5x8  6x10  6x12  6x13  6x13  6x13bold
6x9  7x13  7x13bold  7x14  7x14bold  8x13  8x13bold  8x16
9x15 9x15bold

I can not choose 12x24bold

Offline meo

  • Hero Member
  • *****
  • Posts: 651
Re: Change font in the Terminal.
« Reply #5 on: August 01, 2023, 07:30:47 AM »
Hi patrikg!

I have my Raspberry Pi 4 B with 8 GB RAM hooked up to a 32" TV. Thanks for your willingness to help me out!

Regards,
meo
"All that is very well," answered Candide, "but let us cultivate our garden." - Francois-Marie Arouet Voltaire

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change font in the Terminal.
« Reply #6 on: August 03, 2023, 03:13:03 AM »
Hi guys!

I found default console fonts too little for modern video modes. I've built Terminus family consolefonts extension for my needs. It includes .psf files which can be used by aterm. I packed only UTF fonts (iso10646 codepage), they cover range 12-32 pixelsizes normal and bold styles. 17 files (pixelsize 12 is normal style only) have the size of around 80K. Though I'm in x86 TC, piCore aterm probably will accept .psf files too. If it may be interesting I may pack and submit an extension.

Regards!
« Last Edit: August 03, 2023, 03:18:21 AM by jazzbiker »

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Change font in the Terminal.
« Reply #7 on: August 03, 2023, 08:19:47 AM »
Sorry for the mistake, *.psf fonts are to be used in pure console, *.pcf are for terminal emulators. Still may be packed, as piCore repo seems to not have bitmapped fonts for aterm but the default ones.