Text Spacing Messing Up

For some reason, the line spacing in some text that I have keeps getting messed up. Recent text I add is fine, but looking back at text I added previous while working on the project, the line spacing is way off. For example, text at the start of the video has line spacing set to 100% (default) but the lines are way far apart. Scroll through the timeline, the text spacing is still set to default but the lines are closer. Go to the end to the most recent text and the lines are where they should be. The only thing I can think is that it gets messed up whenever I restart the app, but I don't know why that would be. Making the line spacing smaller affects all the text so the text that is fine gets too small, etc.

Comments

  • edited February 10

    Assuming you are using Hitfilm Pro, and it is Hitfilm Pro version 6 and you are using the text effect in Hitfilm Pro 6 and not a text layer then...

    This is a known bug in 6, 6.1 and 6.2. Where extra line carriage returns (line feed) (CR, LF, CRLF) are added on file saves. If you edit the text you will see that extra line feeds. You can delete them to get back to good. However on a save of the project, extra lines may get added. The bug is intermittent but frequent. I have only seen this happen on text with multiple lines. Single line text does not get the line repeat bug.

    This is kinda a showstopper if using multi-line text in the text effect. Constantly re-editing the multi-line text is not pretty. You could use a text layer but that can be very inconvenient.

    There are other issues with the text effect. Font support is bad and font use (bold, italic, etc) is bad. Same for credit roll as I think they use the same text engine. The opposite is a text layer with better supports fonts and does font type utilization properly.

    If my assumptions are incorrect then you need to be specific as to exactly what you are doing.

     

  • The project file saves the text effect as text with a carriage return and line feed. With a save and load new carriage returns show up for each line. At least on windows.

    It appears the CR is being loaded and saved as a character of text. Qt has a file opening mode that has extra handling for new lines. https://github.com/qt/qtbase/blob/v5.6.3/src/corelib/io/qiodevice.cpp#L285

Sign in to comment