]> granicus.if.org Git - handbrake/commitdiff
deccc608sub: tweak font size once again
authorjstebbins <jstebbins.hb@gmail.com>
Sat, 11 Apr 2015 21:50:21 +0000 (21:50 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Sat, 11 Apr 2015 21:50:21 +0000 (21:50 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7085 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/deccc608sub.c
libhb/rendersub.c

index dacb064ee4a09d9dd4d9a76b92557189cdf52ced..4a5e4af8bd46fe545d847b60de60fbe491f2db9b 100644 (file)
@@ -880,7 +880,7 @@ static int write_cc_buffer_as_ssa(struct eia608_screen *data,
         // then width of screen is 42 columns (see CEA-708)
         screen_columns = 42;
     }
-    font_size = wb->height * .8 * .066;
+    font_size = wb->height * .8 * .08;
 
     safe_x = 0.1 * wb->width;
     safe_y = 0.1 * wb->height;
@@ -1810,7 +1810,7 @@ static int decccInit( hb_work_object_t * w, hb_job_t * job )
         int width = job->title->geometry.width - job->crop[2] - job->crop[3];
         int safe_height = 0.8 * job->title->geometry.height;
         hb_subtitle_add_ssa_header(w->subtitle, "Courier New",
-                                   .066 * safe_height, width, height);
+                                   .08 * safe_height, width, height);
     }
     // When rendering subs, we need to push rollup subtitles out
     // asap (instead of waiting for a completed line) so that we
index 7b306e676d89201377ecfecbbc8ed8a50e039490..21d039b20286285619d77cf0c462e4d1321f97f7 100644 (file)
@@ -599,7 +599,7 @@ static int cc608sub_post_init( hb_filter_object_t * filter, hb_job_t * job )
     int safe_height = 0.8 * job->title->geometry.height;
     // Use fixed widht font for CC
     hb_subtitle_add_ssa_header(filter->subtitle, "Courier New",
-                               .066 * safe_height, width, height);
+                               .08 * safe_height, width, height);
     return ssa_post_init(filter, job);
 }