summaryrefslogtreecommitdiffstats
path: root/libhb/decutf8sub.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-04-05 20:20:28 +0000
committerjstebbins <[email protected]>2015-04-05 20:20:28 +0000
commit75e81dbbaafa76dfde25343f50563aed8c7776e7 (patch)
tree0a77a01ccc250a10518505ba6df0e122e59e3cee /libhb/decutf8sub.c
parent52f3c7354980d3f0467c7d8db7361d6009ab7d06 (diff)
deccc608sub: fix column alignment issues
Use a fixed width font, and insert hard spaces where necessary to allign columns correctly in multi-line CCs. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7061 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decutf8sub.c')
-rw-r--r--libhb/decutf8sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/decutf8sub.c b/libhb/decutf8sub.c
index 27b14b640..29c90383d 100644
--- a/libhb/decutf8sub.c
+++ b/libhb/decutf8sub.c
@@ -37,7 +37,7 @@ static int decutf8Init(hb_work_object_t *w, hb_job_t *job)
// Generate generic SSA Script Info.
int height = job->title->geometry.height - job->crop[0] - job->crop[1];
int width = job->title->geometry.width - job->crop[2] - job->crop[3];
- hb_subtitle_add_ssa_header(w->subtitle, width, height);
+ hb_subtitle_add_ssa_header(w->subtitle, "Arial", width, height);
return 0;
}