A fresh server often has very few fonts. Programs that draw text, such as PHP code that makes images, PDF generators, and screenshot tools, then fall back to a plain font or fail. /go/font installs a set of common fonts so that text is drawn the way you expect. What gets installed depends on the operating system: Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.
Quick start
/go/font
Examples
# Install the fonts (see the note above if it says "Unknown operating system.")
/go/font
# Run it with the OS name read from GoAdmio, as root
OS=$(</usr/local/goadmio/linux/os.db) /go/font
# Count the installed fonts
fc-list | wc -l
# Check for a font by name
fc-list | grep -i arial
# Review recent calls
tail /var/log/go/font.log
Output
Installing Microsoft Fonts
followed by the output of the package manager (dnf or apt).
If the operating system is not recognized, it prints:
Unknown operating system.
and ends with exit status 1.
See the full reference at /go/font and the GoAdmio command index.
GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.
