I am looking for an offline font identifier for Microsoft Windows, Mac OS X, or Ubuntu. Any price and license is fine. GUI or CLI.
The input is an image, the output is a list of font with some associated probabilities. Ideally it shouldn't be restricted to the fonts installed on the computer.
For example, the online service https://www.myfonts.com/WhatTheFont/ does a good job at identifying font present in a given image: