[MPlayer-users] ssa-subs: is it possible to "override" certain fonts?
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Tue Sep 26 22:11:53 CEST 2006
On Tuesday 26 September 2006 19:35, Loren Merritt wrote:
> On Tue, 26 Sep 2006, Evgeniy Stepanov wrote:
> > On Tuesday 26 September 2006 13:00, Gábor Farkas wrote:
> >> hi,
> >>
> >>
> >> is it somehow possible to override the font-names specified in the
> >> ssa-subs?
> >>
> >> for example, i'd like to somehow tell mplayer to use "Sans" when the ssa
> >> file says "Arial". is this possible?
> >
> > Of course.
> > -ass-force-style <StyleName>.FontName=Sans
> > or, to use Sans for all styles,
> > -ass-force-style FontName=Sans
>
> That works on the global styles, but doesn't override individual lines
> with {\fnArial}
True.
It can be solved with a rule in FontConfig's config file, but you may still
want Arial in other applications. AFAIK, there is no such thing as a
per-application fonts configuration.
One solution is to read rules from ~/.mplayer/fonts.conf at startup if it
exists. Any other ideas ?
More information about the MPlayer-users
mailing list