Skip to content

当脚本中的英文被替换为中文字符后,一旦制作人员名单部分开始播放,接下来出现的中文字符将在一行中重叠 #10

@HappyRespawnanchor

Description

@HappyRespawnanchor

问题描述

当脚本中的英文被替换为中文字符后,一旦制作人员名单部分开始播放,接下来出现的中文字符将在一行中重叠

复现方法

lyrics = [
    ##########  Page 1  ##########
    lyric("Forms FORM-29827281-12:",            0,      -1,   0),
    lyric("Test Assessment Report",             200,    -1,   0),
    lyric("\00\00\00\00\00\00\00",              400,    - \
          1,   0),  # Keep flushing the buffer
    lyric("",                                   710,    0,    4),  # Music start
    lyric("This was a triumph.",                730,    2,    0),
    lyric("",                                   930,    0,    5),  # Credits start
    lyric("I'm making a note here:",            1123,   2,    0),

修改为

lyrics = [
    ##########  Page 1  ##########
    lyric("Forms FORM-29827281-12:",            0,      -1,   0),
    lyric("Test Assessment Report",             200,    -1,   0),
    lyric("\00\00\00\00\00\00\00",              400,    - \
          1,   0),  # Keep flushing the buffer
    lyric("",                                   710,    0,    4),  # Music start
    lyric("这是一次伟大的胜利。", 730, 2, 0),
    lyric("",                                   930,    0,    5),  # Credits start
    lyric("我要在这儿做点记录:", 1123, 2, 0),

Screenshot_20230408_200226
# Credits start行之后的部分中,中文字符将开始出现重叠情况

临时解决方法

  1. 在中文中添加空格
lyrics = [
    ##########  Page 1  ##########
    lyric("Forms FORM-29827281-12:",            0,      -1,   0),
    lyric("Test Assessment Report",             200,    -1,   0),
    lyric("\00\00\00\00\00\00\00",              400,    - \
          1,   0),  # Keep flushing the buffer
    lyric("",                                   710,    0,    4),  # Music start
    lyric("这是一次伟大的胜利。", 730, 2, 0),
    lyric("",                                   930,    0,    5),  # Credits start
    lyric("我 要 在 这 儿 做 点 记 录 :", 1123, 2, 0),
  1. 删除# Credits start行,缺点为右侧的制作人员名单将消失
lyrics = [
   ##########  Page 1  ##########
   lyric("Forms FORM-29827281-12:",            0,      -1,   0),
   lyric("Test Assessment Report",             200,    -1,   0),
   lyric("\00\00\00\00\00\00\00",              400,    - \
         1,   0),  # Keep flushing the buffer
   lyric("",                                   710,    0,    4),  # Music start
   lyric("这是一次伟大的胜利。", 730, 2, 0),
   lyric("我要在这儿做点记录:", 1123, 2, 0),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions