ThaUnknown / jassub

Displays subtitles in .ass format via JavaScript. Supports all SSA/ASS features, easily integrates with HTML5 videos.
https://thaunknown.github.io/jassub
MIT License
79 stars 13 forks source link

device pixel density not calculated for canvas width #19

Closed ThibaultNocchi closed 1 year ago

ThibaultNocchi commented 1 year ago

Hello, I'm trying to implement your lib instead of libass in Jellyfin Vue.

I'm facing a styling problem with the default font, text is too tight on Safari iPad and iPhone.

image

Do you happen to know if it is possible to fix it on my side? Parameters? Another font?

Thank you!

ThaUnknown commented 1 year ago

uuuuuuuuhhh.....? what the fuck?

ThibaultNocchi commented 1 year ago

Same thing happens on the simple demo: image

ThaUnknown commented 1 year ago

yeah this is probably my fault, i'm gonna have a lot of fun debugging this I guess

ThaUnknown commented 1 year ago

fixed in 1.5.1

ThibaultNocchi commented 1 year ago

Thank you :)