Font viewer for font collectors?
I have a huge font collection and would like to be able to view them in an efficient manner rather than opening a file one by one.
What would be the best font viewer aside from fontypython
, which unfortunately
has a Mojibake bug on fonts with multibyte characters.
I use Font Manager
sudo apt-get install font-manager
I use character maps heavily and decided to make one which you access from anywhere using a web interface and requires no installation.
Features
- Select your own font file
- Provides font and character information
- Character copy-able
- Supports TTF/OTF
- Supports Icon fonts
- Smooth interface
- No installation necessary
- No server upload necessary
Screenshot
Web browsers are good at this. Sample script whose output can be saved as a simple HTML page and viewed in a local browser:
#! /usr/bin/env bash
cat << __HEADER
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Sample of local fonts matching '$1'</title>
</head>
<body>
__HEADER
fc-list --format='%{family}\n' $1 | sort -u | while IFS='' read -r fontfamily
do
cat << __BODY
<hr/>
<div style="font-family: '${fontfamily}', 'serif'">
<h1>${fontfamily}</h1>
<p>
The quick brown fox jumped over the lazy brown dog<br/>
0123456789,.:;?/<>'"[]{}|\-=\`~!@#$%^&*()-=\\
</p>
</div>
__BODY
done
cat << __FOOTER
<hr/>
</body>
</html>
__FOOTER
The script takes an optional first argument, the fc-list
pattern to filter on. For example passing :spacing=100
as the argument generates an HTML page of all installed monospace fonts, or pass nothing and see all fonts.
There's always Fontmatrix (Github). It has a slightly different feature-set to fontypython
but I like it.
To install it from the repos, run:
sudo apt install fontmatrix
Your should also give a try to gnome-specimen (also available in Debian)