Fontpatcher was unable to patch the Consolas font. This is due to the fact that Consolas is 'not' strictly a mono spaced font - it has some glyphs which are 0 width. The added option '--fix-mono' fixes this issue by setting all 0 width glyphs to a common width. Windows does not seem to respect the font family name that fontforge uses. Using the added option '--fix-win', the script will now set the font name to be the family name. In this manner, Windows will group these fonts under the same family. Windows still differentiates between different fonts of the same name by their weights, so having fonts of the same name is not a problem. Closes #61. Closes #194.
On Mac (at least) the font was being grouped with the original font, and causing confusion for some programs. This change updates the sfnt_names table 'Preferred Family' and 'Compatible Full' fields to match the new font name. This will cause it to show up as it's own font in the list on Mac. Closes #136.
This commit introduces some changes to how the font metrics are calculated as well as various fixes for glyph alignment and overlap. The update uses the Latin Extended-A and Box Drawing glyphs to determine the largest glyphs, this seems to be a quite reliable way of determining both the glyph height and the maximum width. An overlap property has been added to SYM_ATTR, the glyphs will be moved `font.em / 48` in the direction of the glyph alignment so it overlaps with the previous/next glyph. This is necessary for the block arrows so no gaps occur.
FontForge fails to generate valid PCF fonts, so pure bitmap fonts will need to be saved as BDF fonts. They may optionally be converted to PCF fonts at a later point using `bdftopcf`, but this is usually not necessary. TrueType fonts with or without bitmaps will always be stored as OTF fonts. This may later be updated to be configurable via a command-line switch. This commit also changes how the output filename is generated. Only the filename of the original font up to the first period is used, and `-Powerline.[format]` is appended to this filename. Closes #9.