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

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Apr 19 21:45:33 CEST 2006


On Wednesday 19 April 2006 18:44, 陆然 wrote:
> 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.

Arial is the default according to specification. You can use 
fontconfig=yes
font=<font family>
to change this behavior. Attached version also uses fontconfig=no, font=<path> 
ahead of Arial.

Other things you mentioned are also fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-ass.patch.bz2
Type: application/x-bzip2
Size: 22200 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060419/d3ff097f/attachment.bin>


More information about the MPlayer-dev-eng mailing list