I'm using Web Fonts in my game and I have problems with positioning of text objects.
For some reason all text objects are shifted a few pixels down when rendered, and the offset is different in different browsers.
See this image - same text in C2 editor, Chrome and Firefox:
I did some tests today and looks like not just Web Fonts are affected, the same problem is happening with system fonts too (for example Arial).
Changing Vertical Alignment property doesn't help.
Is there a way to fix this without converting all text to sprite fonts?
Here is the CSS
@font-face {
font-family: 'luckiest_guyregular';
src: url('luckiestguy-webfont.woff2') format('woff2'),
url('luckiestguy-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}[/code:e86ivakn]