[MPlayer-users] MPlayer not loading correct font

Evgeniy Stepanov eugeni.stepanov at gmail.com
Sun May 4 15:01:51 CEST 2008

On Sunday 04 May 2008 01:44:05 Krzysztof Duchnowski wrote:
> Evgeniy Stepanov pisze:
> >>  On 2008.05.03 at 20:46:07 +0400, Evgeniy Stepanov wrote next:
> >>> Libass does not set FC_STYLE, only FC_WEIGHT. So, something like "Arial
> >>> Narrow Bold" won't work (will select Arial Narrow Regular).
> >>
> >> I.e. ass specification guarantees to specify bold/italic only by flags,
> >> not by name? It's just that ssa specification says "The fontname as used
> >> by Windows. Case-sensitive", and "Arial Bold" font naming style is
> >> sometimes used in windows. Not that I doubt you're know what you're
> >> doing, just interested ;)
> >
> > Such font names are sometimes used in ASS. Spefication says nothing about
> > which weight indication should take preference, either from font name, or
> > from Bold field. So I'm ignoring the first one :)
> >
> > It might be a good idea to extract style from a font name (Can it work
> > reliably? There seems to be a lot of different styles, just check
> > fc-list) and pass it to fontconfig. On the other hand, full compatibility
> > with windows font selection is probably unreachable, and our current
> > situation seems ok.
> You don't understand I see.
> It's not style, this "Arial Bold". It's font name itself and that is the
> font. It's bolder in the regular style than "Arial" with bold style and
> it have bold style witch is as "Arial" double/triple bolded.
> And quite the fonts have it that. They are separate fonts from it's
> oryginal state (dunno why  it's made italics font version if this same
> font have italics style but that how it is).

What I don't really understand is the exact meaning of font name as used in 
SSA/ASS. Is it a family, a family + style, or something else? For example, 
if, as you say, there is an Arial Bold font with Bold style, could 'Arial 
Bold Bold' be used there?

Earlier in this thread Ottawa Bold font was mentioned. It is specified in the 
script as 'Ottawa Bold', but the attached font file, the one that is supposed 
to match, is 'Ottawa' family font with 'Bold' style. This shows that at least 
in some cases style could be used as a part of a font name.

More information about the MPlayer-users mailing list