[MPlayer-dev-eng] Re: [PATCH] SSA/ASS subtitles support
Rich Felker
dalias at aerifal.cx
Mon Jun 19 00:23:30 CEST 2006
On Sun, Jun 18, 2006 at 09:05:19PM +0400, Evgeniy Stepanov wrote:
> On Sunday 18 June 2006 17:38, Rich Felker wrote:
> > Why not just bypass fontconfig? I don't even have fontconfig and I'm
> > quite happy with the way MPlayer works.
>
> How exactly ? I've got font family, weight and slant values and need to get a
> font with most close characteristics. Ok, embedded subs often go with
> embedded fonts, I can open them all with FreeType and read their parameters.
> But what should I do if the script wants some standard font like Helvetica ?
Open all the fonts in the MPlayer fonts dir and read their
characteristics? Anyway IMO it's nonsense for a file to request a font
by name unless the font is embedded. How else can it expect it to be
present?
> Reimplement fontconfig ?
Since fontconfig is obviously deficient (cannot read from non-files)
and also ugly bloatware, this is not such a bad idea as long as you do
it right. However much less than fontconfig is needed...
> > > For mkv_sh_sub_t definition.
> >
> > Should be some way to fix this to be demuxer-independent.
>
> It can be moved to demux_stream_t. Probably the same should be done with
> VobSub.
Sounds like a good idea.
Rich
More information about the MPlayer-dev-eng
mailing list