I am trying to include a custom font for the page I am creating. My problem is that vertical font alignment looks different on my ubuntu development machine and on Windows computers.
First, here are the images to understand the problem
Edit: unfortunately, as a new user, I cannot send images, so here is the description:
The problem is the distance between the base font base and the element below it. There is an inexplicable space on my ubuntu machine that it is not a cushion / margin. Even if you select the text, it looks inconsistent.
Both are tested on Chrome, the same html / css behind it, of course (this is the same page). There are no bottom margins / indents for both the code and the chrome inspector. The same line is the height. Font - Museo. Both download the .woff version of the font. Any other information I would be happy to provide.
Css to import font:
@font-face { font-family: 'Museo-700'; src: url('path-to-eot'); src: url('path-to-eot?') format('embedded-opentype'), url('path-to-woff') format('woff'), url('path-to-ttf') format('truetype'); }
The problem continued even when I removed the woff ad and ttf provided the font.
I really lost this, I donβt know how I can do the same. Any help would be greatly appreciated!
source share