summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-11 21:50:21 +0000
committerjstebbins <[email protected]>2015-04-11 21:50:21 +0000
commit6f27f7d0d9d11012cce503052c96946c35a196a8 (patch)
treef50dddbed117f9fcfa41151cd6a85f6d3050b2bc
parent01487d5277eaadf2da3a483aa1d74198050fba44 (diff)
deccc608sub: tweak font size once again
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7085 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/deccc608sub.c4
-rw-r--r--libhb/rendersub.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libhb/deccc608sub.c b/libhb/deccc608sub.c
index dacb064ee..4a5e4af8b 100644
--- a/libhb/deccc608sub.c
+++ b/libhb/deccc608sub.c
@@ -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
diff --git a/libhb/rendersub.c b/libhb/rendersub.c
index 7b306e676..21d039b20 100644
--- a/libhb/rendersub.c
+++ b/libhb/rendersub.c
@@ -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);
}