Submitted font glyphs for sdvx (#1)

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2 2 years ago
parent 5bddf887a0
commit 1cbf2db0a4
  1. 1
      readers/SoundVoltexReader.java
  2. 30
      readers/fonts/sdvx_EXScore
  3. 30
      readers/fonts/sdvx_littleScore
  4. 30
      readers/fonts/sdvx_noteCount
  5. 12
      readers/fonts/testFont
  6. BIN
      sdvx4.png
  7. 10
      sigPlace.java
  8. BIN
      test.png

@ -2,7 +2,6 @@ package readers;
import java.awt.Color; import java.awt.Color;
import java.awt.Graphics2D; import java.awt.Graphics2D;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException; import java.io.IOException;
import java.nio.file.Path; import java.nio.file.Path;
import java.nio.file.Paths; import java.nio.file.Paths;

@ -0,0 +1,30 @@
9
11
011111110111001111110000011110000011110000011110000011110000011110000011110000011110000011011111111
2
11
1111111111111111111111
0
0
8
11
1111111011111111000000110000001100000011000111100001111000000011000000110000001111111111
8
11
0000111100011111001110110011001101110011111000111111111111111111000000110000001100000011
8
11
1111111111111111110000001100000011111110111111110000001100000011000000110000001111111111
9
11
011111111111111111110000000110000000111111110111111111110000011110000011110000011110000011111111111
8
11
1111111111111111000000110000011000000110000011100000110000011100000110000001100000110000
0
0
9
11
011111110111111111110000011110000011110000011110000011111111111011111111000000011000000011111111111

@ -0,0 +1,30 @@
33
30
000000000001111111111111111111110000000000011111111111111111111110000000000111111111111111111111110000000001111111111111111111111110000000001111111111111111111111110000000111111111111111111111111110000000111111111111111111111111111000001111111111111111111111111111000011110000000000000000111111111000111110000000000000000111111111001111110000000000000000111111111011111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111110111111110000000000000000111111100111111110000000000000000111111000111111110000000000000000111110000111111111111111111111111111100000111111111111111111111111111000000111111111111111111111111110000000111111111111111111111111000000000111111111111111111111110000000000111111111111111111111100000000000111111111111111111111000000000000
16
30
000000011111111000000011111111100000011111111110000011111111111000011111111111100111111111111110111111111111111011111111111111100000000111111110000000011111111100000001111111110000000111111111000000011111111100000001111111110000000111111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111100000000111111110000000011111111000000001111111000000000111111100000000011111110000000001111111000000000111111100000000011111110
31
30
111111111111111111111111000000011111111111111111111111111000001111111111111111111111111100000111111111111111111111111111000011111111111111111111111111111001111111111111111111111111111100111111111111111111111111111111011111111111111111111111111111110000000000000000000000111111111000000000000000000000011111111100000000000000000000001111111110000000000011111100000111111111000000111111111111000011111111100000011111111111110001111111110000011111111111111100111111111000011111111111111111011111111100011111111111111111111111111110011111111111111111111111111111011111111111111111111111111111111111111000000001111111111111111111111100000000000000000000000111111110000000000000000000000011111111000000000000000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
30
30
111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111110000000111111111111111111111111000000111111111111111111111111100000000000000000000000000111110000000000000000000000000111111100000000000000000000000111111111000000000011111111111111111111000000001111111111111111111111000000011111111111111111111111000000111111111111111111111111000001111111111111111111111111000011111111111111110111111111000111111111111111100111111111001111111111111111000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111000000000000000000000111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111000000000111111111111111111100000000000111111111111111111000000000000111111111111111110000000000000
33
30
000000000000011111111111111000000000000000001111111111111111000000000000000001111111111111111000000000000000011111111111111111000000000000001111111111111111111000000000000011111111111111111111000000000000011111111111111111111000000000000111111111111111111111000000000001110000000000111111111000000000011110000000000111111111000000000011110000000000111111111000000000111110000000000111111111000000001111110000000000111111111000000011111110000000000111111111000000111111110000000000111111111000000111111110000000000111111111000000111111110000000000111111111000000111111110000000000111111111000000111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000011111111111110000000000000000000011111111000000000000000000000000011111111000000000000000000000000011111110000000
0
0
33
30
000000111111111111111111100000000000001111111111111111111100000000000011111111111111111111110000000000111111111111111111111111000000001111111111111111111111111100000001111111111111111111111111100000011111111111111111111111111110000111111111111111111111111111111000111111110111111110000000000000000111111110000000000000000000000000111111110000000000000000000000000111111110001111111111111111000000111111111111111111111111111100000111111111111111111111111111110000111111111111111111111111111111000111111111111111111111111111111000111111111111111111111111111111100111111111111111111111111111111110111111111111111111111111111111110111111110000000001111111111111111111111110000000000000000111111111111111110000000000000000111111111111111110000000000000000111111111111111111111111111111111111111111011111111111111111111111111111110001111111111111111111111111111100000111111111111111111111111111000000011111111111111111111111110000000001111111111111111111111100000000000111111111111111111110000000
31
31
1111111111111111111111111111000111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111110011111111111111111111111111111001111111111111111111111111111100111111111111111111111111111100011111111111111111111111111100000000111111111111111111111110000000000000000000011111111110000000000000000000001111111111000000000000000000001111111111000000000000000000001111111111100000000000000000000111111111100000000000000000000111111111110000000000000000000011111111110000000000000000000001111111111000000000000000000001111111111000000000000000000000111111111100000000000000000000111111111100000000000000000000011111111100000000000000000000011111111100000000000000000000011111111110000000000000000000001111111110000000000000000000001111111110000000000000000000000111111111000000000000000000000011111111000000000000000000000011111111100000000000000000000011111111100000000000000000000001111111100000000000000000000001111111110000000000000000
32
30
000000111111111111111111111111110000011111111111111111111111111100001111111111111111111111111111000111111111111111111111111111110011111111111111111111111111111100111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111100000000000000111111111111111110000000000000000111111111111111100000000000000001111111111111111000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000011111111111111111111111000000000000000011111111111111110000000000000000111111111111111100000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111011111111111111111111111111111100011111111111111111111111111110000111111111111111111111111111000011111111111111111111111111000000
33
30
000000000000011111111111110000000000000000001111111111111111000000000000000001111111111111111100000000000000011111111111111111110000000000001111111111111111111111000000000011111111111111111111111100000000011111111111111111111111110000000111111111111111111111111111000001110000000000000000111111111000011110000000000000000111111111000011110000000000000000111111111000111110000000000000000111111111011111110000000000000000111111111011111110001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111100111111111111111111111111111111000111111111111111111111111111110000111111111000000000000000000000000111111111000000000000000000000000111111111000000011111111111111111111111111000000011111111111111111111111110000000011111111111111111111111100000000011111111111111111111111000000000011111111111111111111111000000000011111111111111111111100000000000011111111111111111111000000

@ -0,0 +1,30 @@
10
13
0011111100011111111011111100111100000011110000001111000000111100000011110000001111000000111100000011110000001111000000110111111110
2
13
11111111111111111111111111
9
13
111111110111111111000000011000000011000000011000000011011111111111111110110000000110000000110000000110000000111111111
9
13
111111110111111111000000011000000011000000011000000011000111110000111110000000011000000011000000011000000011111111111
9
13
000011111000011011000110011001110011001100011011100011011000011111000011111111111011111111000000011000000011000000011
9
13
111111111111111111110000000110000000110000000111111110111111111000000011000000011000000011000000011000000011111111111
10
13
0111111111111111111111000000001100000000110000000011111111101111111111110000001111000000111100000011110000001111100000111111111111
9
13
111111111111111111000000011000000110000000110000001110000001100000001100000011000000011000000111000000110000001110000
10
13
0111111110111111111111111100111100000011110000001111000000110111111110011111111011000000111100000011110000001111000000111111111111
10
13
0111111110111111111111000000111100000011110000001111000000111100000011111111111101111111110000000011000000001100000000111111111111

@ -13,18 +13,18 @@
0 0
0 0
53
51
001111111111111111111111111111111111111111111110000000111111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111100111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111100011111111111111111111111111111111111111111111111111000011111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111100011111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111110011111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110001111111111111000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000011111111111110000000000111111111100010000000000000000111111111111000000000111111111111111111000000000000001111111111110000000011111111111111111111000000000000011111111111100000001111111111111111111111000000000000111111111111000000111111111111111111111111000000000001111111111110000011111111111111111111111111000000000011111111111100000011111111111111111111111111000000000111111111111000001111111111111111111111111111000000001111111111110000111111111111111111111111111111000000011111111111100011111111111111111111111111111111000000111111111111001111111111111111111111111111111111000001111111111110111111111111111111111111111111111111000011111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111111000000000000000000000000000011111111111111111111111110000000000000000000000000000000000111111111111111111100000000000000000000000000000000000000111111111111111000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000111111111111111000000000000000000000000000000000011111111111111111110011111111111111111111111111111111111111111111111111100111111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111100011111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111111111111000001111111111111111111111111111111111111111111111100000011111111111111111111111111111111111111111111110000000111111111111111111111111111111111111111111110000000001111111111111111111111111111111111111111111000000000011111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111100000000000
0 0
0 0
0 0
0 0
0 54
0 51
000000000000111111111111111111111000000000000000000000000000000011111111111111111111111111111111111100000000000000000111111111111111111111111111111111111111111100000000001111111111111111111111111111111111111111111100000000011111111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111111100000001111111111111111111111111111111111111111111111100000011111111111111111111111111111111111111111111111100000111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111111111111110001111111111111111111111111111111111111111111111111110011111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111100000000000000000000000000111111111111110111111111111100000000000000000000000000111111111111110111111111111100000000000000000000000000111111111111110111111111111100000000000000000000000000111111111111110111111111111000000111111111111111111111111111111111110111111111111001111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111000000000000000111111111111111111111111110111111111111000000000000000000000000001111111111111110111111111111000000000000000000000000000111111111111110111111111111000000000000000000000000000111111111111110111111111111000000000000000000000000000111111111111110111111111111000000000000000000000000011111111111111110111111111111000000000000000000000111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111100111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111111111111100000111111111111111111111111111111111111111111111111000000111111111111111111111111111111111111111111111110000000111111111111111111111111111111111111111111111100000000111111111111111111111111111111111111111111111000000000111111111111111111111111111111111111111111000000000000
0
0
54 54
51 51
000000000000000000000011111111111111111110000000000000000000000000000000000111111111111111111111100000000000000000000000000000011111111111111111111111110000000000000000000000000000111111111111111111111111111000000000000000000000000001111111111111111111111111111100000000000000000000000011111111111111111111111111111110000000000000000000000111111111111111111111111111111111000000000000000000001111111111111111111111111111111111100000000000000000011111111111111111111111111111111111110000000000000000111111111111111111111111111111111111111000000000000001111111111111111111111111111111111111111100000000000011111111111111111111111111111111111111111110000000000011111111111111111111111111111111111111111110000000000111111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111000000001111100000000000000000000000000111111111111111000000011111100000000000000000000000000111111111111111000000011111100000000000000000000000000111111111111111000000111111100000000000000000000000000111111111111111000001111111000000000000000000000000000111111111111111000011111111000000000000000000000000000111111111111111000111111111000000000000000000000000000111111111111111001111111111000000000000000000000000000111111111111111011111111111000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111100111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111111111111100000111111111111111111111111111111111111111111111110000000111111111111111000000000000000000000000000000100000000111111111111111000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000111111111111111000000000000000000000000000000000111111111111111111111000000000001111111111111111111111111111111111111111111000000000001111111111111111111111111111111111111111111000000000001111111111111111111111111111111111111111110000000000001111111111111111111111111111111111111111100000000000001111111111111111111111111111111111111111000000000000001111111111111111111111111111111111111110000000000000001111111111111111111111111111111111111100000000000000001111111111111111111111111111111111111000000000000000001111111111111111111111111111111111100000000000000000001111111111111111111111111111111111000000000000000000001111111111111111111111111111111100000000000 000000000000000000000011111111111111111110000000000000000000000000000000000111111111111111111111100000000000000000000000000000011111111111111111111111110000000000000000000000000000111111111111111111111111111000000000000000000000000001111111111111111111111111111100000000000000000000000011111111111111111111111111111110000000000000000000000111111111111111111111111111111111000000000000000000001111111111111111111111111111111111100000000000000000011111111111111111111111111111111111110000000000000000111111111111111111111111111111111111111000000000000001111111111111111111111111111111111111111100000000000011111111111111111111111111111111111111111110000000000011111111111111111111111111111111111111111110000000000111111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111000000001111100000000000000000000000000111111111111111000000011111100000000000000000000000000111111111111111000000011111100000000000000000000000000111111111111111000000111111100000000000000000000000000111111111111111000001111111000000000000000000000000000111111111111111000011111111000000000000000000000000000111111111111111000111111111000000000000000000000000000111111111111111001111111111000000000000000000000000000111111111111111011111111111000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111100111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111111111111100000111111111111111111111111111111111111111111111110000000111111111111111000000000000000000000000000000100000000111111111111111000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000111111111111111000000000000000000000000000000000111111111111111111111000000000001111111111111111111111111111111111111111111000000000001111111111111111111111111111111111111111111000000000001111111111111111111111111111111111111111110000000000001111111111111111111111111111111111111111100000000000001111111111111111111111111111111111111111000000000000001111111111111111111111111111111111111110000000000000001111111111111111111111111111111111111100000000000000001111111111111111111111111111111111111000000000000000001111111111111111111111111111111111100000000000000000001111111111111111111111111111111111000000000000000000001111111111111111111111111111111100000000000

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 MiB

@ -81,18 +81,18 @@ public class sigPlace {
final static int TRANSPARENT = new Color(0,0,0,0).getRGB(); final static int TRANSPARENT = new Color(0,0,0,0).getRGB();
public static void main(String[] args) { public static void main(String[] args) {
Path f = Paths.get("sdvx1.png"); Path f = Paths.get("sdvx4.png");
BufferedImage img; BufferedImage img;
try { try {
img = ImageIO.read(f.toFile()); img = ImageIO.read(f.toFile());
Box scoreBox = new Box(458,1075,240,57); Box scoreBox = new Box(188,1294,70,23);
int[] arr = img.getRGB(scoreBox.x, scoreBox.y, scoreBox.w, scoreBox.h, null, 0, scoreBox.w); int[] arr = img.getRGB(scoreBox.x, scoreBox.y, scoreBox.w, scoreBox.h, null, 0, scoreBox.w);
BufferedImage newImg = new BufferedImage(scoreBox.w,scoreBox.h,BufferedImage.TYPE_INT_ARGB); BufferedImage newImg = new BufferedImage(scoreBox.w,scoreBox.h,BufferedImage.TYPE_INT_ARGB);
final ColorRange TARGETCOLOR = new ColorRange(160,255,170,255,190,255); final ColorRange TARGETCOLOR = new ColorRange(200,255,200,255,200,255);
final ColorRange SEEKINGCOLOR = new ColorRange(26,255,53,255,80,255); final ColorRange SEEKINGCOLOR = new ColorRange(120,255,120,255,120,255);
final Color FINALCOLOR = Color.MAGENTA; final Color FINALCOLOR = Color.MAGENTA;
for (int i=0;i<arr.length;i++) { for (int i=0;i<arr.length;i++) {
Color col = new Color(arr[i],true); Color col = new Color(arr[i],true);
@ -108,7 +108,7 @@ public class sigPlace {
} }
newImg.setRGB(0,0,scoreBox.w,scoreBox.h,arr,0,scoreBox.w); newImg.setRGB(0,0,scoreBox.w,scoreBox.h,arr,0,scoreBox.w);
ImageIO.write(newImg,"png",new File("test.png")); ImageIO.write(newImg,"png",new File("test.png"));
Font.TrainFont("testFont","930",newImg); Font.TrainFont("sdvx_noteCount","150",newImg);
} catch (IOException e) { } catch (IOException e) {
// TODO Auto-generated catch block // TODO Auto-generated catch block
e.printStackTrace(); e.printStackTrace();

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 234 B

Loading…
Cancel
Save