Root/dgclock/patches/001-use-dejavu-font.patch

1diff -ruN dgclock/src/main.c dgclock.mod/src/main.c
2--- dgclock/src/main.c 2009-12-21 16:00:00.000000000 +0100
3+++ dgclock.mod/src/main.c 2010-02-10 11:30:11.000000000 +0100
4@@ -60,11 +60,11 @@
5     
6     SDL_ShowCursor(SDL_DISABLE);
7     
8- gTTFFont = TTF_OpenFont ( "mplus-2p-medium.ttf" , 15 );
9+ gTTFFont = TTF_OpenFont ( "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" , 15 );
10     if (!gTTFFont)
11         return -1;
12     
13- gTTFSmall = TTF_OpenFont ( "mplus-2p-medium.ttf" , 10 );
14+ gTTFSmall = TTF_OpenFont ( "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" , 10 );
15     if (!gTTFSmall)
16         return -1;
17     
18

Archive Download this file



interactive