obsproject/obs-studio

'Text (FreeType 2)' element only reading first line of file (when 'Read from file' is checked)

Open

#7,595 建立於 2022年10月12日

在 GitHub 查看
 (13 留言) (2 反應) (0 負責人)C (9,239 fork)batch import
Good first issue

倉庫指標

Star
 (72,387 star)
PR 合併指標
 (平均合併 35天 12小時) (30 天內合併 52 個 PR)

描述

Operating System Info

Ubuntu 22.04

Other OS

No response

OBS Studio Version

28.0.3

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/VJ5xkLXGk9ICAlaP

OBS Studio Crash Log URL

No response

Expected Behavior

Expected behavior: Each line of the text file would be read, and a multi-line string would be shown.

Current Behavior

Only the first line of the text file is read, and other lines aren't shown. See screenshot:

screenshot

To summarize:

  • I have 'Text(FreeType 2)' set to read a text file. The text file has 4 lines. Only the first line of the file is being rendered.

Steps to Reproduce

  1. Create a text file with multiple lines of text.
  2. Create a 'Text (FreeType 2)' source element
  3. Check "Read from file", and in the 'Text File' field, select your multi-line file.
  4. Observe that only one line of output is shown, regardless of how many lines your actual file has. ...

Anything else we should know?

No response

貢獻者指南