I want to be able to get the absolute path to a ttf font file on Linux when given a font name (if it exists). Is there a command or API that will return that information?
For example, given "arial.ttf" I want to find the absolute path (e.g. /usr/share/fonts/truetype/msttcorefonts/arial.ttf) wherever that may be.