mifi/editly

Chinese can not wraps lines automatically

HeftyKoo opened this issue · 0 comments

  • I have tried with the newest version of editly: npm i -g editly or npm i editly@latest
  • I have tried ffmpeg newest stable version
  • I have searched for existing issues

json5:

{
  outPath: './chinese.mp4',
  clips: [
    {
      duration: 3,
      layers: [
        { type: 'image', path: './assets/img1.jpg'},
        { type: 'subtitle', text: '这是一段文字,这是一段文字来试试文字的切换这是一段文字,这是一段文字来试试文字的切换这是一段文字,这是一段文字来试试文字的切换', backgroundColor: 'rgba(0,0,0,0.5)' },
      ]
    }
  ]
}

Here is the result:

20230504202348_rec_