Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: meo on July 28, 2023, 07:22:18 AM

Title: Change font in the Terminal.
Post by: meo 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
Title: Re: Change font in the Terminal.
Post by: patrikg 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 ??

Title: Re: Change font in the Terminal.
Post by: meo on July 28, 2023, 09:50:27 AM
The terninal that installs when I run 'tce-load -wi TC'.
Title: Re: Change font in the Terminal.
Post by: meo on July 29, 2023, 06:54:46 AM
I think it's aterm.  :) // meo
Title: Re: Change font in the Terminal.
Post by: aus9 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
Title: Re: Change font in the Terminal.
Post by: meo 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
Title: Re: Change font in the Terminal.
Post by: jazzbiker 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!
Title: Re: Change font in the Terminal.
Post by: jazzbiker 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.