fxmarty / rikai-mpv

A port of Rikaichamp Japanese dictionary and parser into mpv video player
MIT License
34 stars 4 forks source link

Long subtitle text is getting cut #15

Open brainwo opened 3 months ago

brainwo commented 3 months ago

Seems like this plugin currently only renders up to two lines, making it's impossible to show longer subtitle.

image

fxmarty commented 3 months ago

Hi @brainwo, thanks a lot for giving a try! It's been a while I did not update the repo, I'll give it a shot. I think here what happens is that the subtitle you are using has two lines.

I did not implement line wrapping but it would be nice indeed, some subbers unfortunately do not add enough line splits, especially for small screens :-(

brainwo commented 3 months ago

You are right about that:

251
00:14:30,536 --> 00:14:35,541 
観自在菩薩(かんじざいぼーさー)
行深般若波羅蜜多時(ぎょうじんはんにゃはらみーたーじ) 照見五(しょうけーご)