This is the first time I am using webfonts on the website I am doing now, and noticed that the bounding boxes of the fonts seem different on Windows and Linux and Mac (same thing on Linux and Mac). This is browser independent, as the same versions of Chrome and Firefox on all operating systems have these differences. Basically, on Windows, there is extra space on top of the character, while on Linux and Mac the bounding character is much closer to the actual top of the character (and, for example, the umlauts are outside the field). This naturally changes the behavior of positions, fields, etc.
The font is currently defined as follows:
@ font-face {font-family: "FranklinGothicHand";
src: url ('fonts / franklingothichanddemi-webfont.eot');
src: url ('fonts / franklingothichanddemi-webfont.eot? iefix') format ('eot'),
url ('fonts / franklingothichanddemi-webfont.woff') format ('woff'),
url ('fonts / franklingothichanddemi-webfont.ttf') format ('truetype'),
url ('fonts / franklingothichanddemi-webfont.svg # webfontLgJOAlmK') format ('svg');
}
Because of this, for example, I cannot correctly vertically align the decorated header of the article to the first line of the article, since its position is different in different operating systems.
Can anyone think of any solution for this?
source share