diff options
| author | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
|---|---|---|
| committer | David Kühling <dvdkhlng@gmx.de> | 2010-09-18 20:47:21 +0200 |
| commit | 4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09 (patch) | |
| tree | 58590463ada82a27eca0889312c32450358249a8 /dgclock/patches/001-use-dejavu-font.patch | |
| download | qipackages-fork-4bfce3b6e2ea095ea3d9f5d2d1018cc0a1e5ce09.tar.gz | |
Major overhaul and cleanup. Support for .ubi image file installations.grafted
Only compile&install a minimum host Gforth for bootstrapping the target
Gforth, removing strange emacs-dependencies that cropped up earlier.
Image file can now be built on the nanonote using 'gforth-update-image'
command. Also, Gforth is now run through a wrapper that calls
'gforth-update-image' automatically, if necessary.
Also first attempts at supporting libcc C-interface libraries pre-compiled on
the host.
Tested to compile on amd64 and i386.
Diffstat (limited to 'dgclock/patches/001-use-dejavu-font.patch')
| -rw-r--r-- | dgclock/patches/001-use-dejavu-font.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dgclock/patches/001-use-dejavu-font.patch b/dgclock/patches/001-use-dejavu-font.patch new file mode 100644 index 0000000..4e58e44 --- /dev/null +++ b/dgclock/patches/001-use-dejavu-font.patch @@ -0,0 +1,17 @@ +diff -ruN dgclock/src/main.c dgclock.mod/src/main.c +--- dgclock/src/main.c 2009-12-21 16:00:00.000000000 +0100 ++++ dgclock.mod/src/main.c 2010-02-10 11:30:11.000000000 +0100 +@@ -60,11 +60,11 @@ + + SDL_ShowCursor(SDL_DISABLE); + +- gTTFFont = TTF_OpenFont ( "mplus-2p-medium.ttf" , 15 ); ++ gTTFFont = TTF_OpenFont ( "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" , 15 ); + if (!gTTFFont) + return -1; + +- gTTFSmall = TTF_OpenFont ( "mplus-2p-medium.ttf" , 10 ); ++ gTTFSmall = TTF_OpenFont ( "/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf" , 10 ); + if (!gTTFSmall) + return -1; + |
