f389c65dbb
* gnu/packages/sdl.scm (sdl-pango): New variable. * gnu/packages/patches/sdl-pango-api_additions.patch: New file. * gnu/packages/patches/sdl-pango-blit_overflow.patch: New file. * gnu/packages/patches/sdl-pango-fillrect_crash.patch: New file. * gnu/packages/patches/sdl-pango-fix-explicit-SDLPango_CopyFTBitmapToSurface.patch: New file. * gnu/packages/patches/sdl-pango-matrix_declarations.patch: New file. * gnu/packages/patches/sdl-pango-sans-serif.patch: New file. * gnu/local.mk (sdl-pango): Reference patches. add
13 lines
535 B
Diff
13 lines
535 B
Diff
Index: SDL_Pango-0.1.2/src/SDL_Pango.c
|
|
===================================================================
|
|
--- SDL_Pango-0.1.2.orig/src/SDL_Pango.c 2007-09-18 15:12:20.736253215 +0200
|
|
+++ SDL_Pango-0.1.2/src/SDL_Pango.c 2007-09-18 15:12:44.621614364 +0200
|
|
@@ -234,7 +234,7 @@
|
|
//! non-zero if initialized
|
|
static int IS_INITIALIZED = 0;
|
|
|
|
-#define DEFAULT_FONT_FAMILY "Sans"
|
|
+#define DEFAULT_FONT_FAMILY "sans-serif"
|
|
#define DEFAULT_FONT_SIZE 12
|
|
#define DEFAULT_DPI 96
|
|
#define _MAKE_FONT_NAME(family, size) family " " #size
|