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 3179c57a6d1986269cdfdb2ac3bbe69254be29a7..1077c1f3ed4378eff0c542816c186d88c81b6002 100644 (file)
@@ -43,6 +43,7 @@ TUXBOX_APPS_GETTEXT
 AC_OUTPUT([
 Makefile
 data/Makefile
+data/fonts/Makefile
 data/countries/Makefile
 lib/Makefile
 lib/actions/Makefile
index 4c54ac783f2afc0eacba69bdf62cdec0659c9571..8b077b39e464e40a45ca35d4e9c77adbcd174343 100644 (file)
@@ -1,6 +1,6 @@
 AUTOMAKE_OPTIONS = gnu
 
-SUBDIRS = countries
+SUBDIRS = countries fonts
 
 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 4f538e46fd70bd844cf92aa31c7ca3bbadab1b1b..b6c5730490acb8c3a048e355db867c3d65fd01bd 100644 (file)
@@ -177,7 +177,7 @@ int main(int argc, char **argv)
        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));