[Mplayer-cvslog] CVS: main mplayer.c,1.646,1.647

Filip Kalinski CVS filon at mplayerhq.hu
Mon Jan 6 13:27:43 CET 2003


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv561

Modified Files:
	mplayer.c 
Log Message:
Update font scale after changing pancan.
It makes fonts keep scale when they are set to be proportional to width.


Index: mplayer.c
===================================================================
RCS file: /cvsroot/mplayer/main/mplayer.c,v
retrieving revision 1.646
retrieving revision 1.647
diff -u -r1.646 -r1.647
--- mplayer.c	5 Jan 2003 15:39:16 -0000	1.646
+++ mplayer.c	6 Jan 2003 12:27:39 -0000	1.647
@@ -2561,6 +2561,11 @@
 	  vo_osd_progbar_type=OSD_PANSCAN;
 	  vo_osd_progbar_value=vo_panscan*256;
 	  vo_osd_changed(OSDTYPE_PROGBAR);
+#ifdef HAVE_FREETYPE
+	  if (subtitle_autoscale == 2)
+	    // force scaling font to movie width
+	    force_load_font = 1;
+#endif
         }
 #endif
        }



More information about the MPlayer-cvslog mailing list