- 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.md
for what to use instead. - add new
wasm-blend
rendering mode which is faster than the old default ofjs-blend
- change default rendering mode to
wasm-blend
- unify rendering mode options into a
renderMode
setting. DeprecatelossyRender
option, this mode can now be selected via therenderMode
option. - parse and use embedded fonts
- add
fallbackFont
to override the default fallback - add
lazyFileLoading
to opt-in to loading files, in particular fonts, lazily; requires a compatible server configuration - add
prescaleFactor
,prescaleHeightLimit
andmaxRenderHeight
options 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.