Release notes
Changelog
Version 1.49.0
Released 20 Dec 2023
Enhancement | Improved inline RTL text positioning and punctuation wrapping |
Enhancement | Made the inspector show an empty style object for elements without inline styles that can be used to easily add new styles |
Enhancement | Added finish , cancel and commitStyles from the WAAPI |
Enhancement | Unity plugin is now compiled against .Net Standard 2.0 to ensure cross-platform .Net profile support |
Enhancement | Adjusted the Switch sample renderer to work with the latest (18.0.1) SDK |
Enhancement | Trimmed trailing zeros from stringified property values |
Enhancement | Improved the warning message when using fonts that weren’t loaded |
EnhancementUnreal Engine | Add abort resource request handling |
Fix | Fixed RTL text being drawn a bit to the right making it stick out of its element bounding box |
Fix | Fixed font-fit not working correctly when using preserve whitespace mode |
Fix | Fixed wrongly rendered newline characters as spaces when using preserve whitespace mode |
Fix | Fixed visual artifacts left over from drawing squares while the font isn’t loaded for complex text |
Fix | Fixed wrongly positioned background-color when using cohinline with text-align |
Fix | Fixed words drawn in incorrect order when displaying right-to-left languages |
Fix | Fixed positioning of nested elements after wrapped text in cohinline |
Fix | Fixed RTL direction in cohinline for nested texts |
Fix | Fixed incorrect punctuation wrapping with cohinline |
Fix | Fixed text wrap when using a mix of languages and punctuation |
Fix | Fixed negative letter-spacing sometimes cutting text |
Fix | Fixed asserts during GC tracing |
Fix | Fixed support for paths with spaces in sony_strip_debug_symbols.bat |
FixUnreal Engine | Remove unused AtlasManager callbacks |
FixUnreal Engine | Procedural sound replay warning |
API | Trimmed trailing zeros from stringified property values. This may break code comparing style values as strings |
Migration guide
Trailing zeroes in stringified property values
Starting with this release, trailing zeroes from stringified property values are removed. Code that compares property values with strings may need to be modified. For example, the test code may need to be changed from:
engine.on('LiveReloadSingleDirTestEnd', function() {
let style = getComputedStyle(document.querySelector('.square'));
let greenColor = 'rgba(0, 128, 0, 1.000000)';
assert.equal(style.backgroundColor, greenColor);
});
to
engine.on('LiveReloadSingleDirTestEnd', function() {
let style = getComputedStyle(document.querySelector('.square'));
let greenColor = 'rgba(0, 128, 0, 1)';
assert.equal(style.backgroundColor, greenColor);
});