Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A Quickly increase virtual console ("TTY") font size on the fly

To double the font size: setfont -d. To revert to the default font: setfont. From the manual page: -d Doubles the size of the font, by replicating all of its pixels vertically and ho...

posted 2y ago by Quasímodo‭

Answer
#1: Initial revision by user avatar Quasímodo‭ · 2021-11-10T21:05:49Z (over 2 years ago)
To double the font size: `setfont -d`.

To revert to the default font: `setfont`.

From the manual page:

```
-d     Doubles the size of the font, by replicating all of its pixels
       vertically and horizontally.  This is suitable for high pixel
       density (e.g. "4k") displays on which the standard fonts are too
       small to be easily legible.  Due to kernel limitations, this is
       suitable only for 16x16 or smaller fonts.
```

One could also set up aliases with available fonts from
`/usr/share/consolefonts/*psfu*`, such as

    alias f1='setfont lat9w-14'
    alias f2='setfont lat9w-16'
    alias f3='setfont sun12x22'
    alias f4='setfont solar24x32'

but of course this is not much handy on a different machine, an
installation media or a rescue shell.