blinkseb Wrote:Well, there's no font size calculation for ASS/SSA subtitles. Font-size in point is specified directly in the file, and used without changes. (See line 1410 in STS.cpp (project 'subtitles'). I'll look at it tuesday!
EDIT: I had a look, and it seems that's subtitles font size didn't match between dsplayer and dvdplayer. I've tried with an old south park episode, and dsplayer was too small. Damn! If you want to test it more, you're more than welcome :p
It seems that there're some issues with mpc video dec.
The auto refresh rate is labeled 'Adjust display refresh rate to match video'. It works fine on Vista+, but apparently not on XP. Please disable it if it's activated!
Hi Seb,
I did some more investigation of the font size issue in dsplayer and discovered another problem (as well as the solution, which will fix the problem with the SSA subtitle font size as well). Previously I said that font size for plain text subtitles is matched between dsplayer and dvdplayer, after the last revision r30385. However, this is not true if you are not using the default Windows display setting of 96 dpi. When I switched to 144 dpi (150%) in Windows, the font size for plain text subtitles is again much bigger in dsplayer, but unchanged in dvdplayer.
The solution: (I hope you don't mind me posting it here but the change is only a few characters):
1. Remove the "//" at the start of line 47 of RTS.cpp (// lf.lfHeight = (LONG)(style.fontSize + 0.5);
2. In line 787 of StreamManager.cpp, change 27.1 / 72.0 to 50.0 / 72.0.
These two changes will make it so that font size in dsplayer the same regardless of Windows display dpi setting (in addition to screen resolution), just like dvdplayer.
Also, this will make the font size for SSA subtitles the same between dsplayer and MPC-HC, in full screen (dsplayer font size was about 50% bigger than MPC-HC's before the change). However, it will not make the font size for SSA subtitles the same between dsplayer and dvdplayer, because dvdplayer ignores the font size, font name, etc. of SSA subtitles (though it will make the font size difference between dsplayer and dvdplayer much smaller than before
).
Regard,