[MPlayer-dev-eng] [PATCH] SSA/ASS subtitles support

陆然 hephooey at gmail.com
Wed Apr 19 16:44:05 CEST 2006


Hi,

On Wednesday 19 April 2006 02:36, Evgeniy Stepanov wrote:

> Here is a better patch. Features and improvements:
> * Filter options:
> font-size-multiplier:line-spacing:top-margin:bottom-margin No font size
> multiplier by default.
> * External subs file name is taken from -sub option
> * More precise glyph positioning
> * More tags supported

There might be some regression, a test sub is in the attachment, the old code 
put the sub in the middle of the picture, but with the new code the sub I 
cannot find the sub anywhere.

> * Line breaking for CJK.

When I have a long sentence with only one space in it, the break will 
accumulate at the space, since the code cannot tell if the space has already 
been used as a break.

And two problem about fontconfig: 1. make 'Arial' the default font is not a 
good idea IMHO, all the cjk glyphs are missing. 2. the code use 
strcmp to test if the font provided by fontconfig is the font requested, too 
bad the comparison is case sensitive. If I specify a font 'arial' in the sub 
it will never be found.

-- 
Best Regards,
LR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff.ssa
Type: text/x-objcsrc
Size: 2353 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060419/6620d66c/attachment.bin>


More information about the MPlayer-dev-eng mailing list