Skip to content

DidierSpaier/unsorted

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

README

This repository gathers files that could be of use to some.

checkfb.c

This program tests the usability of a linux frame buffer and indicates the screen size in pixels and the density in bits per pixel.

It comes handy for instance to programmatically adapt a font size (argument of the -s option) in a fbterm command to a given screen, so that the size of a displayed text on this screen fills the screen while respecting a minimum number of rows and columns.

This allows for instance to maximise the font size while respecting the text’s layout to help readers with a low vision.

Compile it for instance with this command:

gcc checkfb.c -o checkfb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages