git » fp-git.git » commit 6a4c1a5

Moved to another repository. Replaced by the new font storing system

author ecalot
2005-01-27 18:05:57 UTC
committer ecalot
2005-01-27 18:05:57 UTC
parent 404a6661305d39f1866a68635a29232e8daedc6f

Moved to another repository. Replaced by the new font storing system

stuff/modtools/font/fonts.bmp +0 -0
stuff/modtools/font/fonts.png +0 -0
stuff/modtools/font/raw2text.c +0 -40
stuff/modtools/font/test.c +0 -26

diff --git a/stuff/modtools/font/fonts.bmp b/stuff/modtools/font/fonts.bmp
deleted file mode 100644
index ffc1300..0000000
Binary files a/stuff/modtools/font/fonts.bmp and /dev/null differ
diff --git a/stuff/modtools/font/fonts.png b/stuff/modtools/font/fonts.png
deleted file mode 100644
index 782936b..0000000
Binary files a/stuff/modtools/font/fonts.png and /dev/null differ
diff --git a/stuff/modtools/font/raw2text.c b/stuff/modtools/font/raw2text.c
deleted file mode 100644
index 8ef64b0..0000000
--- a/stuff/modtools/font/raw2text.c
+++ /dev/null
@@ -1,40 +0,0 @@
-#include <stdio.h>
-
-int main(int a, char** b) {
-	FILE* fp;
-	char c,o;
-	int i,j,g;
-	char *chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890 -:.;,<>\\/*!\"$%&/()=@^`[]'\"-_";
-	char* s;
-	int pos_x[92] = {0, 7, 14, 21, 28, 34, 40, 47, 54, 59, 66, 74, 80,
-		89, 96, 103, 110, 117, 124, 131, 138, 145, 152, 161, 168, 175, 184,
-		191, 198, 205, 212, 219, 225, 232, 239, 242, 247, 254, 257, 266, 
-		273, 280, 287, 294, 301, 308, 314, 321, 328, 337, 344, 351, 358,
-		365, 372, 379, 387, 394, 401, 408, 415, 422, 429, 433, 438, 441,
-		444, 448, 452, 458, 464, 473, 482, 490, 493, 499, 507, 516, 525,
-		534, 539, 544, 549, 556, 563, 568, 573, 578, 582, 588, 593, 600};
-	fp=fopen("raw","rb");
-	s=chars;
-	g=0;
-	while (*s) {
-		printf("Character '%c':\n/",*s);
-		for (i=pos_x[g]+1;i<pos_x[g+1];i++) printf ("-");
-		printf("\\\n");
-		for (j=2;j<11;j++) {
-			printf("|");
-			fseek(fp,600*j+pos_x[g]+1,SEEK_SET);
-			for (i=pos_x[g]+1;i<pos_x[g+1];i++) {
-				c=getc(fp);
-				o=c?'O':' ';
-				printf ("%c",o);
-			}
-			printf("|\n");
-		}
-		printf("\\");
-		for (i=pos_x[g]+1;i<pos_x[g+1];i++) printf ("-");
-		printf("/\n\n");
-		g++;
-		s++;
-	}
-	return 0;
-}
diff --git a/stuff/modtools/font/test.c b/stuff/modtools/font/test.c
deleted file mode 100644
index f1a5670..0000000
--- a/stuff/modtools/font/test.c
+++ /dev/null
@@ -1,26 +0,0 @@
-
-#include <SDL/SDL.h>
-#include "../include/output.h"
-
-/* Test outputDrawText
- *
- * Compililar con : 
- * gcc -o test_text output.c test.c `sdl-config --libs --cflags` -I../include
- */
-int main (int argc, char *argv[])
-{
-	outputInit ();
-	outputDrawText (10, 0, "Texto \"Hola\" tiene %d pixels de largo", outputGetTextWidth("Hola"));
-	
-	outputDrawText (55, 20, "ABCD 123456 &/$#    000", 26);
-	
-	outputDrawMessage (36,"hola, que %s.", "tal");
-
-	outputUpdateScreen();
-
-	SDL_Delay (5000);
-
-	outputStop();
-	return 0;
-}
-