Skip to content

SamuelFe/show-fonts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

CLI Font Viewer

A minimal way to view the characters of your fonts. I wanted something like that to see which icons I had installed in my system so a could choose them to put in a config (like in a polybar module for example).

Dependencies

ttfdump perl

Probably ttfdump is already on your system.

OK.. how do put this in my computer?

You can select the contents inside show-font and save them (the text) inside a file with the name of show-font as well. Then you will need to provide the permition to execute the script.

chmod +x show-font

You can move it to a directory inside your PATH as well if you want...

Usage

./show-icons /path/to/font

Example

Disclaimer: the picture below only have "icons" because the font is done with only those glyphs. If a font contais characters such as A B * & they will be displayed as well.

alt text

In this example I added the show-font script to my PATH so I could use it from anywhere in my terminal.

Known issues

In my tests, it didn't work with some fonts I have ( waffle.bdf and iosevka_nerd_font.ttf )

About

Simple CLI font viewer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages