Inconsistent webfont sizes

Discussion and feedback on Construct 2

Post » Sun Dec 28, 2014 6:20 pm

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.
B
19
S
5
Posts: 27
Reputation: 2,031

Post » Mon Dec 29, 2014 3:46 am

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.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,018


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests