Scale the font size to pixels from pt. It seems like the font libraries are expecting pixels, not points like the docs say. The glyph advance is also scaled slightly to match what is show in Firefox.