diff --git a/src/main/java/com/yutou/bilibili/Tools/AssTools.java b/src/main/java/com/yutou/bilibili/Tools/AssTools.java index e476661..653326f 100644 --- a/src/main/java/com/yutou/bilibili/Tools/AssTools.java +++ b/src/main/java/com/yutou/bilibili/Tools/AssTools.java @@ -55,15 +55,15 @@ public class AssTools { addBuilder("Original Script: 本字幕由@yutou生成"); addBuilder("ScriptType: v4.00+"); addBuilder("Collisions: Normal"); - addBuilder("PlayResX: 560"); - addBuilder("PlayResY: 420"); + addBuilder("PlayResX: 1920"); + addBuilder("PlayResY: 1080"); addBuilder("Timer: 10.0000"); addBuilder(""); addBuilder("[V4+ Styles]"); addBuilder("Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, "); addBuilder("MarginL, MarginR, MarginV, Encoding"); - addBuilder("Style: Fix,Microsoft YaHei UI,25,&H66FFFFFF,&H66FFFFFF,&H66000000,&H66000000,1,0,0,0,100,100,0,0,1,2,0,2,20,20,2,0"); - addBuilder("Style: R2L,Microsoft YaHei UI,25,&H66FFFFFF,&H66FFFFFF,&H66000000,&H66000000,1,0,0,0,100,100,0,0,1,2,0,2,20,20,2,0"); + addBuilder("Style: Fix,Microsoft YaHei UI,45,&H66FFFFFF,&H66FFFFFF,&H66000000,&H66000000,1,0,0,0,100,100,0,0,1,2,0,2,20,20,2,0"); + addBuilder("Style: R2L,Microsoft YaHei UI,45,&H66FFFFFF,&H66FFFFFF,&H66000000,&H66000000,1,0,0,0,100,100,0,0,1,2,0,2,20,20,2,0"); addBuilder(""); addBuilder("[Events]"); addBuilder("Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text"); @@ -130,7 +130,7 @@ public class AssTools { new DecimalFormat("00").format(m), new DecimalFormat("00").format(s)); float x1, x2; - x1 = 560 + (danmuData.getDanmu().length() * 12.5f); + x1 = 1920 + (danmuData.getDanmu().length() * 12.5f); x2 = 0 - (danmuData.getDanmu().length() * 12.5f); String ass = String.format("Dialogue: 0,%s,%s,R2L,,20,20,2,,{\\move(%.1f,%d,%.1f,%d)\\c&%s\\alpha&H%s}%s", @@ -149,9 +149,9 @@ public class AssTools { private void addY() { - y += 25; - if (y >= 420) { - y = 25; + y += 30; + if (y >= 1080) { + y = 30; } }