Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subtitle styles are broken #10

Open
enter-a-random-username opened this issue Dec 11, 2023 · 2 comments
Open

Subtitle styles are broken #10

enter-a-random-username opened this issue Dec 11, 2023 · 2 comments

Comments

@enter-a-random-username

Color is missing and format has errors based on Validator (tried rescale-subtitles true/false - was no difference)

Before

[V4+ Styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Noto San,30,&H00FFFFFF,&H000000FF,&H00000000,&H501D0032,0,0,0,0,100,100,1,0,1,1.5,0,2,0,0,30,1

After Sushi.Net

[v4+ styles]
Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding
Style: Default,Noto Sans,30,&H00FFFFFF,&H000000FF,,&H501D0032,0,0,0,0,100,100,,0,1,1.5,0,2,0000,0000,0030,1

Issues

  • OutlineColour value is gone
  • Spacing value is gone (Validator - Skipping style value "" with non-numerical value for style field Spacing https://validator.subtitledpro.com/ )
@enter-a-random-username enter-a-random-username changed the title Subtitle styles are borken Subtitle styles are broken Dec 11, 2023
@maxpiva
Copy link
Owner

maxpiva commented Dec 11, 2023 via email

@Sawtaytoes
Copy link

Sawtaytoes commented Feb 7, 2024

I just ran into this issue as well. Is there a workaround other than copying back in the Styles section manually into each generated file?

Actually, that just seems to make the subtitles really small if the source is a different resolution from the destination file.

You'd need to copy over the Styles and replace these two lines in an ASS file with the original source resolution:

PlayResX: 640
PlayResY: 480

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants