[MPlayer-users] MPlayer not loading correct font

Krzysztof Duchnowski amidk75 at gmail.com
Sat May 3 23:44:05 CEST 2008


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).

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.mozilla.com/firefox/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/



More information about the MPlayer-users mailing list