0xced/FontReplacer — pull request #2 by defagos (2012-01-16 09:51:57+00:00)
Title: Adjusting fonts vertically

The baseline of a replacement font and the one of the system font it replaces might differ. Currently a "Font" tab is provided in the demo application to search for a good system font to be replaced (one with seemingly similar baseline as the replacement font). But this is not exact and not always possible.

To solve these issues:

- the ascender of the replacement font is now tweaked to match the one of the font which it replaces. This setting should align the two font baselines in most cases
- in the case this tweak does not suffice, an additional offset can be provided. The offset value can be easily determined by using a new tab within the demo application
- the replacement font dictionary can now be generated using the demo application. When the application is run within the iOS simulator, the dictionary will be saved as "FontReplacerSettings.plist" onto the desktop, otherwise in the application Documents directory
- the "Font" tab has been removed