[MPlayer-dev-eng] [PATCH] SSA/ASS subtitles support
Vladimir Mosgalin
mosgalin at VM10124.spb.edu
Thu Apr 20 07:50:36 CEST 2006
Hi ??????!
On 2006.04.20 at 10:20:20 +0800, ?????? wrote next:
> On Thursday 20 April 2006 03:45, Evgeniy Stepanov wrote:
> > 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.
>
> With windows this is ok since it will fallback to other fonts if the required
> glyph cannot be found in Arial. Can this be achieved in mplayer? Anyway the
> current behavior is good enough IMHO.
I always thought that it's one of the main purpuses of fontconfig, to
calculate the best matching font for the symbols that don't exist in
current...
I don't know fontconfig, but looking at the docs, it looks like you need
to call FcFontRenderPrepare or something like that and get a a list of
similar fonts to the one selected and use it.
Without fontconfig, this task is impossible for sure.
--
Vladimir
More information about the MPlayer-dev-eng
mailing list