- update libass to
0.17.0, notably including support forLayoutRes{X,Y}headers among others - fix copyright and licence notices
- deprecate support for manually decompressing brotli subtitles. Might be fully removed in the next release. See 4.1.0’s
README.mdfor what to use instead. - add new
wasm-blendrendering mode which is faster than the old default ofjs-blend - change default rendering mode to
wasm-blend - unify rendering mode options into a
renderModesetting. DeprecatelossyRenderoption, this mode can now be selected via therenderModeoption. - parse and use embedded fonts
- add
fallbackFontto override the default fallback - add
lazyFileLoadingto opt-in to loading files, in particular fonts, lazily; requires a compatible server configuration - add
prescaleFactor,prescaleHeightLimitandmaxRenderHeightoptions to control performance-quality trade-offs - add
dropAllAnimations - various bugfixes
Version of included libraries:
- brotli: 1.0.9
- libexpat: 2.5.0
- fontconfig: 2.14.1
- freetype: 2.12.1
- fribidi: 1.0.12
- harfbuzz: 5.3.1
- libass: 0.17.0
Note: the attached libass-wasm-4.1.0.tgz is the binary release identical to what was uploaded to npm.