[MPlayer-dev-eng] subfont autoscale 2

Filip Kalinski filon at pld.org.pl
Fri Feb 7 22:56:40 CET 2003


On Fri, 7 Feb 2003 09:00:25 +0100
Gabucino <gabucino at mplayerhq.hu> wrote:

> mplayer.c line 2710
> 
> #ifdef HAVE_FREETYPE
>           if (subtitle_autoscale == 2)
>             // force scaling font to movie width
>             force_load_font = 1;
> #endif                 
> 
> I.e. when using panscan. Well setting autoscale to 2 makes it reload, but
> with no changes! So this only slows down the panscan process with this
> option. Explanation? Shouldn't this decrease the font size according to
> the panscanned area?
> 

No.
Size of the font will be computed later,  in read_font_desc_ft, called
from load_font_ft with _new_ movie dimensions.

sub.c:

if (!vo_font || force_load_font) {
    force_load_font = 0;
    load_font_ft(dxs, dys);
}

-- 
Filip Kalinski <filon at pld.org.pl>


More information about the MPlayer-dev-eng mailing list