Log in

View Full Version : Avisynth not recognizing newlines?


cayblood
12th December 2009, 11:26
I'm running the latest stable release of avisynth (2.5.8 built in Dec 2008) yet when I create subtitles it doesn't seem to accept the slash-N literal as a newline:


text = VersionString + "\nTesting1\nTesting2"
SubTitle(text)


This code produces a single line with the slash-Ns appearing as text. Is this right?

Gavino
12th December 2009, 11:44
For Subtitle to recognise "\n" as newline, you have to set the lsp argument:
SubTitle(text, lsp=0)