add md_khmurabi_10.ttf as arial-replacement
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 23 Dec 2005 00:59:15 +0000 (00:59 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 23 Dec 2005 00:59:15 +0000 (00:59 +0000)
configure.ac
data/Makefile.am
data/fonts/Makefile.am [new file with mode: 0644]
data/fonts/md_khmurabi_10.ttf [new file with mode: 0644]
main/enigma.cpp

index 3179c57..1077c1f 100644 (file)
@@ -43,6 +43,7 @@ TUXBOX_APPS_GETTEXT
 AC_OUTPUT([
 Makefile
 data/Makefile
 AC_OUTPUT([
 Makefile
 data/Makefile
+data/fonts/Makefile
 data/countries/Makefile
 lib/Makefile
 lib/actions/Makefile
 data/countries/Makefile
 lib/Makefile
 lib/actions/Makefile
index 4c54ac7..8b077b3 100644 (file)
@@ -1,6 +1,6 @@
 AUTOMAKE_OPTIONS = gnu
 
 AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS = countries
+SUBDIRS = countries fonts
 
 installdir = $(DATADIR)/enigma2
 
 
 installdir = $(DATADIR)/enigma2
 
diff --git a/data/fonts/Makefile.am b/data/fonts/Makefile.am
new file mode 100644 (file)
index 0000000..8f84543
--- /dev/null
@@ -0,0 +1,6 @@
+AUTOMAKE_OPTIONS = gnu
+
+installdir = $(FONTDIR)
+
+install_DATA = \
+       *.ttf
diff --git a/data/fonts/md_khmurabi_10.ttf b/data/fonts/md_khmurabi_10.ttf
new file mode 100644 (file)
index 0000000..2e8af5f
Binary files /dev/null and b/data/fonts/md_khmurabi_10.ttf differ
index 4f538e4..b6c5730 100644 (file)
@@ -177,7 +177,7 @@ int main(int argc, char **argv)
        ePtr<gLCDDC> my_lcd_dc;
        gLCDDC::getInstance(my_lcd_dc);
 
        ePtr<gLCDDC> my_lcd_dc;
        gLCDDC::getInstance(my_lcd_dc);
 
-       fontRenderClass::getInstance()->AddFont(FONTDIR "/arial.ttf", "Regular", 100);
+       fontRenderClass::getInstance()->AddFont(FONTDIR "/md_khmurabi_10.ttf", "Regular", 100);
 
        eWidgetDesktop dsk(eSize(720, 576));
        eWidgetDesktop dsk_lcd(eSize(132, 64));
 
        eWidgetDesktop dsk(eSize(720, 576));
        eWidgetDesktop dsk_lcd(eSize(132, 64));