Text appears differently in editor versus in browser

Bugs will be moved here once resolved.

Post » Fri Jan 06, 2017 4:46 pm

Problem Description
The text appears differently in Construct2 versus in the browser. There is vastly more space between lines in the editor, but the browser isn't spaced.

In Construct2: https://drive.google.com/file/d/0BxrM_L ... sp=sharing

In browser: https://drive.google.com/file/d/0BxrM_L ... sp=sharing

Attach a Capx
https://drive.google.com/file/d/0BxrM_L ... sp=sharing

Description of Capx
My freelance recreation of Star Defender game from STEM Fuse GameIT using the same assets.

Steps to Reproduce Bug
  • Make a text box with these settings.
  • Observe appearance in editor.
  • Observe different appearance in browser.

Observed Result
The text appears differently.

Expected Result
The text appears the same.

Affected Browsers
  • Chrome: YES
  • FireFox: YES
  • Internet Explorer: YES

Operating System and Service Pack
Windows 7 Professional 64-bit Service Pack 1 Version 6.1 Build 7601

Construct 2 Version ID
Construct 2 Release r239 https://www.scirra.com/construct2/releases/r239
B
6
S
1
Posts: 14
Reputation: 380

Post » Fri Jan 06, 2017 10:57 pm

The links appear to be broken and somehow clicking "Edit Post" creates a brand new post so here's the links

In Construct2: https://drive.google.com/file/d/0BxrM_LAQGwWyZ0hXU3BaeHYyX00/view?usp=sharing

In browser: https://drive.google.com/file/d/0BxrM_LAQGwWyTy1pd1kzZG8yQkE/view?usp=sharing

Attach a Capx

https://drive.google.com/file/d/0BxrM_LAQGwWyT0l3UndRME8yeFk/view?usp=sharing
B
6
S
1
Posts: 14
Reputation: 380

Post » Thu Jan 19, 2017 5:18 pm

Closing as won't fix - I'm afraid there's not much we can do about this. All browsers and OSs have their own text rendering engines, and they are all slightly different. You can't rely on an exact text representation. You have to design games to allow a bit of variation in the text rendering.
Scirra Founder
B
402
S
238
G
89
Posts: 24,632
Reputation: 196,031


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests