diff --git a/Makefile.am b/Makefile.am index 8cb222e..74e9262 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,6 @@ -NULL = SUBDIRS = src -DIST_SUBDIRS = $(SUBDIRS) extras share +DIST_SUBDIRS = $(SUBDIRS) extras EXTRA_DIST = \ bootstrap \ diff --git a/configure.ac b/configure.ac index 852ee33..52b2c65 100644 --- a/configure.ac +++ b/configure.ac @@ -96,6 +96,5 @@ AC_OUTPUT([ src/vbulletin/Makefile src/xanga/Makefile extras/Makefile - share/Makefile ]) diff --git a/share/Makefile.am b/share/Makefile.am deleted file mode 100644 index a1da097..0000000 --- a/share/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ - -NULL = -EXTRA_DIST = \ - font_authimage.png \ - font_linuxfr.png \ - font_phpbb.png \ - font_slashdot.png \ - font_vbulletin.png \ - font_freesans_24_09AZ.bmp \ - font_comic_24_az_messed.bmp \ - font_comic_32_az.bmp \ - font_freemonobold_24_az.bmp \ - font_freemonobold_32_az.bmp \ - font_freesans_24_09AZ.bmp \ - font_freesansbold_32_az.bmp \ - font_freesansbold_36_az_messed.bmp \ - font_stencil_23_AZ.bmp \ - font_stencil_24_AZ.bmp \ - x_font_comic_24_az_messed.bmp \ - x_font_comic_32_az.bmp \ - x_font_freemonobold_24_az.bmp \ - x_font_freemonobold_32_az.bmp \ - x_font_freesansbold_32_az.bmp \ - x_font_freesansbold_36_az_messed.bmp \ - $(NULL) - diff --git a/src/authimage/Makefile.am b/src/authimage/Makefile.am index ddb0916..f36b92c 100644 --- a/src/authimage/Makefile.am +++ b/src/authimage/Makefile.am @@ -1,6 +1,10 @@ +DECODER = authimage + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font.png diff --git a/src/authimage/decoder.c b/src/authimage/decoder.c index 916409c..bf17635 100644 --- a/src/authimage/decoder.c +++ b/src/authimage/decoder.c @@ -29,7 +29,7 @@ char *decode_authimage(struct image *img) if(!font) { - font = font_load_fixed("font_authimage.png", + font = font_load_fixed(DECODER, "font.png", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"); if(!font) exit(-1); diff --git a/share/font_authimage.png b/src/authimage/font.png similarity index 100% rename from share/font_authimage.png rename to src/authimage/font.png diff --git a/src/clubic/Makefile.am b/src/clubic/Makefile.am index ddb0916..c97b0ad 100644 --- a/src/clubic/Makefile.am +++ b/src/clubic/Makefile.am @@ -1,6 +1,10 @@ +DECODER = clubic + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font.png diff --git a/src/clubic/decoder.c b/src/clubic/decoder.c index a5f8ff5..160cdc1 100644 --- a/src/clubic/decoder.c +++ b/src/clubic/decoder.c @@ -52,7 +52,7 @@ static void find_glyphs(struct image *img) if(!font) { - font = font_load_variable("font_clubic.png", "0123456789"); + font = font_load_variable(DECODER, "font.png", "0123456789"); if(!font) exit(1); } diff --git a/share/font_clubic.png b/src/clubic/font.png similarity index 100% rename from share/font_clubic.png rename to src/clubic/font.png diff --git a/src/common.h b/src/common.h index 5b3b51a..7ee2dc1 100644 --- a/src/common.h +++ b/src/common.h @@ -65,9 +65,9 @@ int getpixel(struct image *img, int x, int y, int *r, int *g, int *b); int setpixel(struct image *img, int x, int y, int r, int g, int b); /* font operations */ -struct font *font_load_fixed(char *file, char *chars); -struct font *font_load_variable(char *file, char *chars); -void font_free(struct font *font); +struct font *font_load_fixed(char const *, char const *, char const *); +struct font *font_load_variable(char const *, char const *, char const *); +void font_free(struct font *); /* image filters */ void filter_flood_fill(struct image *img, int x, int y, int r, int g, int b); diff --git a/src/font.c b/src/font.c index 9b6284b..659b0ff 100644 --- a/src/font.c +++ b/src/font.c @@ -17,16 +17,22 @@ #include "config.h" #include "common.h" -struct font *font_load_fixed(char *file, char *chars) +struct font *font_load_fixed(char const *decoder, char const *file, + char const *chars) { char fontname[BUFSIZ]; struct font *font; struct image *img; int i; - sprintf(fontname, "%s/%s", share, file); + sprintf(fontname, "src/%s/%s", decoder, file); img = image_load(fontname); if(!img) + { + sprintf(fontname, "%s/%s/%s", share, decoder, file); + img = image_load(fontname); + } + if(!img) { fprintf(stderr, "%s: cannot load font %s\n", argv0, fontname); return NULL; @@ -50,7 +56,8 @@ struct font *font_load_fixed(char *file, char *chars) return font; } -struct font *font_load_variable(char *file, char *chars) +struct font *font_load_variable(char const *decoder, char const *file, + char const *chars) { char fontname[BUFSIZ]; struct font *font; @@ -59,9 +66,14 @@ struct font *font_load_variable(char *file, char *chars) int x, y, i; int r, g, b; - sprintf(fontname, "%s/%s", share, file); + sprintf(fontname, "src/%s/%s", decoder, file); img = image_load(fontname); if(!img) + { + sprintf(fontname, "%s/%s/%s", share, decoder, file); + img = image_load(fontname); + } + if(!img) { fprintf(stderr, "%s: cannot load font %s\n", argv0, fontname); return NULL; diff --git a/src/java/Makefile.am b/src/java/Makefile.am index ddb0916..df6a833 100644 --- a/src/java/Makefile.am +++ b/src/java/Makefile.am @@ -1,6 +1,8 @@ +DECODER = java + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" diff --git a/src/linuxfr/Makefile.am b/src/linuxfr/Makefile.am index ddb0916..ef3442e 100644 --- a/src/linuxfr/Makefile.am +++ b/src/linuxfr/Makefile.am @@ -1,6 +1,10 @@ +DECODER = linuxfr + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font.png diff --git a/src/linuxfr/decoder.c b/src/linuxfr/decoder.c index 2240331..edd4a05 100644 --- a/src/linuxfr/decoder.c +++ b/src/linuxfr/decoder.c @@ -29,7 +29,7 @@ char *decode_linuxfr(struct image *img) if(!font) { - font = font_load_fixed("font_linuxfr.png", + font = font_load_fixed(DECODER, "font.png", "abcdefghijklmnopqrstuvwxyz" "ABCDEFGHIJKLMNOPQRSTUVWXYZ" "0123456789"); diff --git a/share/font_linuxfr.png b/src/linuxfr/font.png similarity index 100% rename from share/font_linuxfr.png rename to src/linuxfr/font.png diff --git a/src/livejournal/Makefile.am b/src/livejournal/Makefile.am index ddb0916..a456b09 100644 --- a/src/livejournal/Makefile.am +++ b/src/livejournal/Makefile.am @@ -1,6 +1,8 @@ +DECODER = livejournal + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" diff --git a/src/livejournal/decoder.c b/src/livejournal/decoder.c index 9182aee..872c184 100644 --- a/src/livejournal/decoder.c +++ b/src/livejournal/decoder.c @@ -58,7 +58,7 @@ static void find_glyphs(struct image *img) if(!font) { - font = font_load_variable("x_font_freesansbold_32_09az.bmp", + font = font_load_variable(DECODER, "x_freesansbold_32_09az.bmp", "0123456789abcdefghijklmnopqrstuvwxyz"); if(!font) exit(1); diff --git a/src/lmt/Makefile.am b/src/lmt/Makefile.am index ddb0916..a421c1f 100644 --- a/src/lmt/Makefile.am +++ b/src/lmt/Makefile.am @@ -1,6 +1,10 @@ +DECODER = lmt + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = freesans_24_09AZ.bmp diff --git a/src/lmt/decoder.c b/src/lmt/decoder.c index 5fb8529..eebe13d 100644 --- a/src/lmt/decoder.c +++ b/src/lmt/decoder.c @@ -55,7 +55,7 @@ static void find_glyphs(struct image *img) if(!font) { - font = font_load_variable("font_freesans_24_09AZ.bmp", + font = font_load_variable(DECODER, "freesans_24_09AZ.bmp", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"); filter_smooth(font->img); if(!font) diff --git a/share/font_freesans_24_09AZ.bmp b/src/lmt/freesans_24_09AZ.bmp similarity index 100% rename from share/font_freesans_24_09AZ.bmp rename to src/lmt/freesans_24_09AZ.bmp diff --git a/src/paypal/Makefile.am b/src/paypal/Makefile.am index ddb0916..6c9f54d 100644 --- a/src/paypal/Makefile.am +++ b/src/paypal/Makefile.am @@ -1,6 +1,10 @@ +DECODER = paypal + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = stencil_23_AZ.bmp stencil_24_AZ.bmp diff --git a/src/paypal/decoder.c b/src/paypal/decoder.c index 19b63b6..7fd672a 100644 --- a/src/paypal/decoder.c +++ b/src/paypal/decoder.c @@ -47,8 +47,8 @@ static void find_glyphs(struct image *img) static struct font *fonts[FONTS]; static char *files[] = { - "font_stencil_23_AZ.bmp", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", - "font_stencil_24_AZ.bmp", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", + "stencil_23_AZ.bmp", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", + "stencil_24_AZ.bmp", "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ", }; int x, y, i = 0, f; int r, g, b; @@ -59,7 +59,8 @@ static void find_glyphs(struct image *img) { if(!fonts[f]) { - fonts[f] = font_load_variable(files[f * 2], files[f * 2 + 1]); + fonts[f] = font_load_variable(DECODER, + files[f * 2], files[f * 2 + 1]); if(!fonts[f]) exit(1); } diff --git a/share/font_stencil_23_AZ.bmp b/src/paypal/stencil_23_AZ.bmp similarity index 100% rename from share/font_stencil_23_AZ.bmp rename to src/paypal/stencil_23_AZ.bmp diff --git a/share/font_stencil_24_AZ.bmp b/src/paypal/stencil_24_AZ.bmp similarity index 100% rename from share/font_stencil_24_AZ.bmp rename to src/paypal/stencil_24_AZ.bmp diff --git a/src/phpbb/Makefile.am b/src/phpbb/Makefile.am index ddb0916..60a5c4f 100644 --- a/src/phpbb/Makefile.am +++ b/src/phpbb/Makefile.am @@ -1,6 +1,10 @@ +DECODER = phpbb + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font.png diff --git a/src/phpbb/decoder.c b/src/phpbb/decoder.c index f353a87..66a9916 100644 --- a/src/phpbb/decoder.c +++ b/src/phpbb/decoder.c @@ -31,7 +31,7 @@ char *decode_phpbb(struct image *img) if(!font) { - font = font_load_fixed("font_phpbb.png", + font = font_load_fixed(DECODER, "font.png", "ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789"); if(!font) exit(-1); diff --git a/share/font_phpbb.png b/src/phpbb/font.png similarity index 100% rename from share/font_phpbb.png rename to src/phpbb/font.png diff --git a/src/scode/Makefile.am b/src/scode/Makefile.am index ddb0916..cd10722 100644 --- a/src/scode/Makefile.am +++ b/src/scode/Makefile.am @@ -1,6 +1,8 @@ +DECODER = scode + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" diff --git a/src/slashdot/Makefile.am b/src/slashdot/Makefile.am index ddb0916..ed8b062 100644 --- a/src/slashdot/Makefile.am +++ b/src/slashdot/Makefile.am @@ -1,6 +1,10 @@ +DECODER = slashdot + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font.png diff --git a/src/slashdot/decoder.c b/src/slashdot/decoder.c index 552ff82..ddc9569 100644 --- a/src/slashdot/decoder.c +++ b/src/slashdot/decoder.c @@ -190,7 +190,8 @@ static void find_glyphs(struct image *img) if(!font) { - font = font_load_variable("font_slashdot.png", "abcdefgijkmnpqrstvwxyz"); + font = font_load_variable(DECODER, "font.png", + "abcdefgijkmnpqrstvwxyz"); if(!font) exit(1); } diff --git a/share/font_slashdot.png b/src/slashdot/font.png similarity index 100% rename from share/font_slashdot.png rename to src/slashdot/font.png diff --git a/src/ticketmaster/Makefile.am b/src/ticketmaster/Makefile.am index ddb0916..8d52c13 100644 --- a/src/ticketmaster/Makefile.am +++ b/src/ticketmaster/Makefile.am @@ -1,6 +1,8 @@ +DECODER = ticketmaster + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" diff --git a/src/tickets/Makefile.am b/src/tickets/Makefile.am index ddb0916..13f17c1 100644 --- a/src/tickets/Makefile.am +++ b/src/tickets/Makefile.am @@ -1,6 +1,10 @@ +DECODER = tickets + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font1.png font2.png font3.png font4.png font5.png font6.png font7.png font8.png diff --git a/src/tickets/decoder.c b/src/tickets/decoder.c index 42e39f5..3c6f595 100644 --- a/src/tickets/decoder.c +++ b/src/tickets/decoder.c @@ -34,8 +34,8 @@ char *decode_tickets(struct image *img) if(!fonts[i]) { char buf[BUFSIZ]; - sprintf(buf, "font_tickets%i.png", i + 1); - fonts[i] = font_load_variable(buf, "0123456789"); + sprintf(buf, "font%i.png", i + 1); + fonts[i] = font_load_variable(DECODER, buf, "0123456789"); if(!fonts[i]) exit(-1); } diff --git a/share/font_tickets1.png b/src/tickets/font1.png similarity index 100% rename from share/font_tickets1.png rename to src/tickets/font1.png diff --git a/share/font_tickets2.png b/src/tickets/font2.png similarity index 100% rename from share/font_tickets2.png rename to src/tickets/font2.png diff --git a/share/font_tickets3.png b/src/tickets/font3.png similarity index 100% rename from share/font_tickets3.png rename to src/tickets/font3.png diff --git a/share/font_tickets4.png b/src/tickets/font4.png similarity index 100% rename from share/font_tickets4.png rename to src/tickets/font4.png diff --git a/share/font_tickets5.png b/src/tickets/font5.png similarity index 100% rename from share/font_tickets5.png rename to src/tickets/font5.png diff --git a/share/font_tickets6.png b/src/tickets/font6.png similarity index 100% rename from share/font_tickets6.png rename to src/tickets/font6.png diff --git a/share/font_tickets7.png b/src/tickets/font7.png similarity index 100% rename from share/font_tickets7.png rename to src/tickets/font7.png diff --git a/share/font_tickets8.png b/src/tickets/font8.png similarity index 100% rename from share/font_tickets8.png rename to src/tickets/font8.png diff --git a/src/vbulletin/Makefile.am b/src/vbulletin/Makefile.am index ddb0916..efd3817 100644 --- a/src/vbulletin/Makefile.am +++ b/src/vbulletin/Makefile.am @@ -1,6 +1,10 @@ +DECODER = vbulletin + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = font.png diff --git a/src/vbulletin/decoder.c b/src/vbulletin/decoder.c index d7f74a2..093f4d6 100644 --- a/src/vbulletin/decoder.c +++ b/src/vbulletin/decoder.c @@ -29,7 +29,7 @@ char *decode_vbulletin(struct image *img) if(!font) { - font = font_load_fixed("font_vbulletin.png", + font = font_load_fixed(DECODER, "font.png", "2346789ABCDEFGHJKLMNPRTWXYZ"); if(!font) exit(-1); diff --git a/share/font_vbulletin.png b/src/vbulletin/font.png similarity index 100% rename from share/font_vbulletin.png rename to src/vbulletin/font.png diff --git a/src/xanga/Makefile.am b/src/xanga/Makefile.am index ddb0916..37382f3 100644 --- a/src/xanga/Makefile.am +++ b/src/xanga/Makefile.am @@ -1,6 +1,22 @@ +DECODER = xanga + noinst_LIBRARIES = libdecoder.a libdecoder_a_SOURCES = decoder.c -libdecoder_a_CPPFLAGS = -I$(srcdir)/.. +libdecoder_a_CPPFLAGS = -I$(srcdir)/.. -DDECODER=\"$(DECODER)\" + +EXTRA_DIST = \ + comic_24_az_messed.bmp \ + comic_32_az.bmp \ + freemonobold_24_az.bmp \ + freemonobold_32_az.bmp \ + freesansbold_32_az.bmp \ + freesansbold_36_az_messed.bmp \ + x_comic_24_az_messed.bmp \ + x_comic_32_az.bmp \ + x_freemonobold_24_az.bmp \ + x_freemonobold_32_az.bmp \ + x_freesansbold_32_az.bmp \ + x_freesansbold_36_az_messed.bmp diff --git a/share/font_comic_24_az_messed.bmp b/src/xanga/comic_24_az_messed.bmp similarity index 100% rename from share/font_comic_24_az_messed.bmp rename to src/xanga/comic_24_az_messed.bmp diff --git a/share/font_comic_32_az.bmp b/src/xanga/comic_32_az.bmp similarity index 100% rename from share/font_comic_32_az.bmp rename to src/xanga/comic_32_az.bmp diff --git a/src/xanga/decoder.c b/src/xanga/decoder.c index 2fa5cc2..d10e7f8 100644 --- a/src/xanga/decoder.c +++ b/src/xanga/decoder.c @@ -120,13 +120,13 @@ static void find_glyphs(struct image *img) static struct font *fonts[FONTS]; static char *files[] = { - "x_font_freemonobold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", - "x_font_freemonobold_24_az.bmp", "abcdefghijklmnopqrstuvwxyz", - "x_font_freesansbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", - //"x_font_freeserifbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", - "x_font_comic_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", - "x_font_comic_24_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz", - "x_font_freesansbold_36_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz", + "x_freemonobold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", + "x_freemonobold_24_az.bmp", "abcdefghijklmnopqrstuvwxyz", + "x_freesansbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", + //"x_freeserifbold_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", + "x_comic_32_az.bmp", "abcdefghijklmnopqrstuvwxyz", + "x_comic_24_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz", + "x_freesansbold_36_az_messed.bmp", "abcdefghijklmnopqrstuvwxyz", }; struct image *tmp; int x, y, i = 0, f; @@ -138,7 +138,8 @@ static void find_glyphs(struct image *img) { if(!fonts[f]) { - fonts[f] = font_load_variable(files[f * 2], files[f * 2 + 1]); + fonts[f] = font_load_variable(DECODER, + files[f * 2], files[f * 2 + 1]); if(!fonts[f]) exit(1); //filter_smooth(fonts[f]->img); diff --git a/share/font_freemonobold_24_az.bmp b/src/xanga/freemonobold_24_az.bmp similarity index 100% rename from share/font_freemonobold_24_az.bmp rename to src/xanga/freemonobold_24_az.bmp diff --git a/share/font_freemonobold_32_az.bmp b/src/xanga/freemonobold_32_az.bmp similarity index 100% rename from share/font_freemonobold_32_az.bmp rename to src/xanga/freemonobold_32_az.bmp diff --git a/share/font_freesansbold_32_az.bmp b/src/xanga/freesansbold_32_az.bmp similarity index 100% rename from share/font_freesansbold_32_az.bmp rename to src/xanga/freesansbold_32_az.bmp diff --git a/share/font_freesansbold_36_az_messed.bmp b/src/xanga/freesansbold_36_az_messed.bmp similarity index 100% rename from share/font_freesansbold_36_az_messed.bmp rename to src/xanga/freesansbold_36_az_messed.bmp diff --git a/share/x_font_comic_24_az_messed.bmp b/src/xanga/x_comic_24_az_messed.bmp similarity index 100% rename from share/x_font_comic_24_az_messed.bmp rename to src/xanga/x_comic_24_az_messed.bmp diff --git a/share/x_font_comic_32_az.bmp b/src/xanga/x_comic_32_az.bmp similarity index 100% rename from share/x_font_comic_32_az.bmp rename to src/xanga/x_comic_32_az.bmp diff --git a/share/x_font_freemonobold_24_az.bmp b/src/xanga/x_freemonobold_24_az.bmp similarity index 100% rename from share/x_font_freemonobold_24_az.bmp rename to src/xanga/x_freemonobold_24_az.bmp diff --git a/share/x_font_freemonobold_32_az.bmp b/src/xanga/x_freemonobold_32_az.bmp similarity index 100% rename from share/x_font_freemonobold_32_az.bmp rename to src/xanga/x_freemonobold_32_az.bmp diff --git a/share/x_font_freesansbold_32_az.bmp b/src/xanga/x_freesansbold_32_az.bmp similarity index 100% rename from share/x_font_freesansbold_32_az.bmp rename to src/xanga/x_freesansbold_32_az.bmp diff --git a/share/x_font_freesansbold_36_az_messed.bmp b/src/xanga/x_freesansbold_36_az_messed.bmp similarity index 100% rename from share/x_font_freesansbold_36_az_messed.bmp rename to src/xanga/x_freesansbold_36_az_messed.bmp