Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Subtitles

Reply
 
Thread Tools Search this Thread Display Modes
Old 31st August 2019, 11:30   #1  |  Link
Aray
Registered User
 
Aray's Avatar
 
Join Date: Sep 2018
Posts: 6
How to ovrd center-align to left if lines starts with dash?



As shown in the figure, the top one is Actual behavior, the bottom one is Expected behavior.

Is there any possibility that two lines begin with dash on SRT or ASS subtitles, it'll be automatically center-aligned to left Just like on Blu-Ray Subtitles?
Aray is offline   Reply With Quote
Old 31st August 2019, 12:26   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
I don't think ASS has a function for that. The simplest way would be to create a 2nd ASS style for those lines (Aegisub offers regex for line selection) and put them into a second style that is bottom-left aligned with a big MarginL (or \pos tags) so that the subtitles are actually in the middle. The problem is that subtitle lines with different lengths would need different MarginLs to be exactly in the middle so in the end it might need a lot of manual corrections to get this done perfectly.

Maybe there is some way to get this perfectly automated in Aegisub but I don't really have a clue about that.
http://docs.aegisub.org/3.2/Automation/
sneaker_ger is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.