[MPlayer-users] MPlayer not loading correct font
Evgeniy Stepanov
eugeni.stepanov at gmail.com
Sat May 3 12:21:49 CEST 2008
On Saturday 03 May 2008 01:36:40 Vladimir Mosgalin wrote:
> Hi Evgeniy Stepanov!
>
> On 2008.05.01 at 15:45:39 +0400, Evgeniy Stepanov wrote next:
> > > SVN 26624 gives me this error:
> > >
> > > [ass] fontconfig: Selected font family is not the requested one:
> > > 'Ottawa' != 'Ottawa Bold'
> > >
> > > Looks like it's still not working.
> >
> > Why, Ottawa is a correct font for 'Ottawa Bold'. It is just a warning
> > that font name does not match _exactly_.
> >
> > Maybe you are working with r26623, not 26624 ? R26623 fixes font
> > selection, r26624 removes the warning.
>
> Any idea on what this means (using latest svn)?
>
> [ass] fontconfig: Выбранный шрифт не совпадает с запрошенным: 'Arial' !=
> 'Arial Narrow'
>
> subtitle piece:
> [V4+ Styles]
> Style: KonominiBike,Arial
> Narrow,21,&H00000000,&H00000000,&H00000000,&H00000000,1,0,0,0,100,120,0,0,1
>,0,0,2,20,20,30,0
>
> [Events]
> Dialogue:
> 0,0:00:01.20,0:00:04.11,KonominiBike,,0000,0000,0000,,{\fs26\frz-88.8\fscy1
>00\pos(420,310)}Temporaryschool this way
>
> $ fc-match 'Arial Narrow'
> arialn.ttf: "Arial Narrow" "Narrow"
>
>
> PS thanks for the fixes, now mplayer still prints something like
> [ass] fontconfig: Выбранный шрифт не совпадает с запрошенным:
> 'LaurenScript' != 'LaurenScript Regular'
>
> because the font isn't 'LaurenScript Regular', but 'LaurenScript' with
> style='Regular', but actually picks LaurenScript for rendering instead
> of Sans.
I've added some extra debug prints, try with the latest svn and -v option.
For (Arial Narrow, 200, 0) the corresponding fc-match line would be:
fc-match ":family=Arial Narrow:family=Arial:weight=200:slant=0:outline=1".
More information about the MPlayer-users
mailing list