Inconsistent webfont sizes

0 favourites
  • 2 posts
From the Asset Store
220 Food Sprites in 16x16 pixel size. Perfect for items for a retro style game.
  • I have been working on a game that uses webfonts to style the in-game dialog. I have tested the game on Chrome, Firefox, Node Webkit, Mac, and iOS (in-browser), and aside from some slight text bolding on Firefox that can be attributed to different HTML5 implementation standards, the font rendering was consistent.

    But today I tried running the game on another computer (one running Windows 8, where I previously relied on Windows 7), and suddenly all the webfonts appeared smaller. A font size of 20 on the old PC would appear as around 16 on the new one. This was true for Firefox, Chrome, and Node Webkit, and didn't seem affected by window size or desktop resolution. I can make some screenshots, if necessary.

    Any idea what's going on here? I'm probably going to make the jump to spritefonts to avoid future headaches, but it would be good to know what the source of this discrepancy is.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • yes. webfonts are not related tot he C2 engine. They are not embedded in the engine. they are part of the fonts that are related to websites, renderers and OS. If your making a Game use SpriteFont, if your making an app, then try to package a font with your program.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)