The font lift is too small. Windows browsers (and Mac Safari, too, in my testing) simply throw away the climbing value as incorrect, while Firefox and Opera on Mac accept it.
The easiest way to fix this is ttx, part of FontTools .
Use it as follows:
% ttx bubbleboy-2.ttf [...] % edit bubbleboy-2.ttx
Change the climbing value to 1100 (or something works for you):
<hhea> <tableVersion value="1.0"/> <ascent value="1100"/>
Then create a font:
% ttx bubbleboy-2.ttx Compiling "bubbleboy-2.ttx" to "bubbleboy-2#1.ttf"... [...]
This new font must be fixed; You can check by opening it in the Font book.
If you need a more visual picture of the problem, try FontForge , but be careful, its interface is pretty baroque. After you open the font, double-click the capital letter; You will see a horizontal line bisecting the glyph. This is the (wrong) climb. You can fix the ascent in Element> Font Info, then click "General". Uncheck the "Large-scale contours" checkbox, or the ascent will be larger, but it will still be an error .:-)
However, to change the font, I would recommend ttx over FontForge for small changes like this because it is less likely to destroy what it does not understand.
Nicholas iley
source share