Problem Description
When web fonts are placed on global layers a preview compilation can cause the web fonts to be incorrectly rendered and the editor to crash.
Attach a Capx
[attachment=0:2zxfj1n8][/attachment:2zxfj1n8]
Description of Capx
The capx contains 7 layouts, each with 7 layers. Layers 0 to 3 are set global in Layout 1. Layout 1 contains a very large number of copies of a single text object (the only way I could force the crash to occur consistently), with lots of copies of the text object on each of the global layers.
Steps to Reproduce Bug
- Run one of the layouts (not layout 1)
- Observe the result
- If the compilation doesn't render incorrectly (with default font showing in the browser) and the editor doesn't crash, try selecting a different layout - this seems to be exacerbated if you switch between these layouts before running (? maybe just me)
Observed Result
The web fonts are not rendered correctly and the editor crashes.
Expected Result
The web fonts should render correctly, and the editor should not crash.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
W8.1 x64
Construct 2 Version ID
r190