#!/bin/bash / Shell scripts



3/7

Next project: Game of Life (bash-life)

Previous project: Bash Gorillas (bash-gorillas)

Debian font package previewer
Debian font package previewer
Debian font package previewer
Debian font package previewer

This shell script creates preview images from Debian font packages. The script uses GNU ar to extract Debian packages, FontForge to generate sample images of TrueType and OpenType font files, and ImageMagick to merge multiple images into one file.

Invoke the script the following way:

  • ./debian-font-package-previewer.sh <directory which contains Debian font packages>

Notes:

  • if no directory was specified then the script will search for package files in the current working directory;
  • read & write permissions are necessary for the specified directory.
  • debian-font-package-previewer.tar.gz
    •     MD5: 6244fb078dd9dece95a7ddbcd0178a95
    •   SHA-1: b80b4613756bf813a541316f27782454ceb0c407
    • SHA-256: 5b1f627e2667695dd61a43a4ed03055d9660c1525331bb5ac39c1b2da6c61241