changeset 8924:e0ec616c5985

Added patch from Tamas Kohegyi to fix subpic placement with freetype
author mswitch
date Sun, 12 Jan 2003 19:32:56 +0000
parents e1910649ff08
children 5c15777f1c07
files libvo/vo_dxr3.c
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_dxr3.c	Sun Jan 12 19:07:10 2003 +0000
+++ b/libvo/vo_dxr3.c	Sun Jan 12 19:32:56 2003 +0000
@@ -1,11 +1,14 @@
 /*
  * vo_dxr3.c - DXR3/H+ video out
  *
- * Copyright (C) 2002 David Holm <dholm@iname.com>
+ * Copyright (C) 2002-2003 David Holm <david@realityrift.com>
  *
  */
 
 /* ChangeLog added 2002-01-10
+ * 2003-01-12:
+ *  Added patch from Tamas Kohegyi to fix subpic placement with freetype.
+ *
  * 2003-01-02:
  *  Added patch from Jens Axboe that makes vo_dxr3 return to previous TV norm
  *   after quiting.
@@ -527,7 +530,11 @@
 
 #ifdef SPU_SUPPORT
 #ifdef HAVE_FREETYPE
-	s_width*=1.5;
+	if (ioval == EM8300_ASPECTRATIO_16_9) {
+		s_width *= 1.5;
+	} else {
+		s_width *= 0.84;
+	}
 #else
 	s_width*=2;
 	s_height*=2;