Love Live Reader attempts to convert multiple glyphs like ITG Reader, add pre-checks

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 3 years ago
parent 92efb3da51
commit 0f1f6b075c
  1. BIN
      bin/ArcadeReader$1.class
  2. BIN
      bin/ArcadeReader.class
  3. BIN
      bin/readers/Reader.class
  4. BIN
      bin/sigPlace.class
  5. BIN
      bin/sigServer.class
  6. 12
      readers/LoveLiveReader.java
  7. BIN
      sigPlace.jar

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -315,10 +315,14 @@ public class LoveLiveReader extends Reader{
case 9:{
Font f = Font.FONT_LOVELIVE_PCT;
List<Glyph> glyphs = Glyph.split(cutImg);
glyphs.remove(glyphs.size()-3);
glyphs.remove(glyphs.size()-1);
String res = f.convertGlyphs(glyphs);
return res.substring(0,glyphs.size()-1)+"."+res.substring(glyphs.size()-1,glyphs.size());
if (glyphs.size()>3) {
glyphs.remove(glyphs.size()-3);
glyphs.remove(glyphs.size()-1);
String res = f.convertGlyphs(glyphs);
return res.substring(0,glyphs.size()-1)+"."+res.substring(glyphs.size()-1,glyphs.size());
} else {
return "";
}
}
}
return "";

Binary file not shown.
Loading…
Cancel
Save