add DejaVu font as a pk3dir
authordiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 23 Jan 2010 15:24:21 +0000 (15:24 +0000)
committerdiv0 <div0@f962a42d-fe04-0410-a3ab-8c8b0445ebaa>
Sat, 23 Jan 2010 15:24:21 +0000 (15:24 +0000)
git-svn-id: svn://svn.icculus.org/nexuiz/trunk@8537 f962a42d-fe04-0410-a3ab-8c8b0445ebaa

data/font-dejavu.pk3dir/font-dejavu.cfg [new file with mode: 0644]
data/font-dejavu.pk3dir/fonts/DejaVuSans-Bold.ttf [new file with mode: 0644]
data/font-dejavu.pk3dir/fonts/DejaVuSansMono.ttf [new file with mode: 0644]
data/quake.rc

diff --git a/data/font-dejavu.pk3dir/font-dejavu.cfg b/data/font-dejavu.pk3dir/font-dejavu.cfg
new file mode 100644 (file)
index 0000000..15f3798
--- /dev/null
@@ -0,0 +1,12 @@
+// must be loaded AFTER config.cfg
+utf8_enable 1
+r_font_disable_freetype 0
+r_font_size_snapping 2
+loadfont console fonts/DejaVuSansMono,gfx/conchars $con_textsize
+loadfont notify fonts/DejaVuSans-Bold,gfx/vera-sans $con_notifysize
+loadfont chat fonts/DejaVuSans-Bold,gfx/vera-sans $con_chatsize
+loadfont centerprint fonts/DejaVuSansMono,gfx/conchars 9
+loadfont infobar fonts/DejaVuSansMono,gfx/conchars 8
+loadfont user0 fonts/DejaVuSans-Bold,gfx/vera-sans 9.6 12 12.8 16
+loadfont user1 fonts/DejaVuSans-Bold,gfx/vera-sans 8 10 14 $sbar_fontsize $sbar_centersize // csqc font
+loadfont user2 fonts/DejaVuSans-Bold,gfx/vera-sans 16 24 32 // csqc bigfont
diff --git a/data/font-dejavu.pk3dir/fonts/DejaVuSans-Bold.ttf b/data/font-dejavu.pk3dir/fonts/DejaVuSans-Bold.ttf
new file mode 100644 (file)
index 0000000..b8f6c3e
Binary files /dev/null and b/data/font-dejavu.pk3dir/fonts/DejaVuSans-Bold.ttf differ
diff --git a/data/font-dejavu.pk3dir/fonts/DejaVuSansMono.ttf b/data/font-dejavu.pk3dir/fonts/DejaVuSansMono.ttf
new file mode 100644 (file)
index 0000000..af80fb7
Binary files /dev/null and b/data/font-dejavu.pk3dir/fonts/DejaVuSansMono.ttf differ
index 01bacb2..78b1b2f 100644 (file)
@@ -8,3 +8,4 @@ stuffcmds
 //startdemos
 //play announcer/male/welcome.ogg
 
+//exec font-dejavu.cfg