summaryrefslogtreecommitdiff
path: root/debian/patches/0003-bdf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/0003-bdf.patch')
-rw-r--r--debian/patches/0003-bdf.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/patches/0003-bdf.patch b/debian/patches/0003-bdf.patch
new file mode 100644
index 0000000..428e153
--- /dev/null
+++ b/debian/patches/0003-bdf.patch
@@ -0,0 +1,15 @@
+Author: Colin Watson <cjwatson@ubuntu.com>
+Description: Try .bdf files in gfxboot-font.
+
+diff -Naurp gfxboot.orig/gfxboot-font.c gfxboot/gfxboot-font.c
+--- gfxboot.orig/gfxboot-font.c
++++ gfxboot/gfxboot-font.c
+@@ -845,7 +845,7 @@ char *search_font(char *font_path, char
+ char *font_name = NULL;
+ char *cur_path, *sep;
+ struct stat sbuf;
+- static char *suffix[] = { "", ".ttf", ".pfa", ".pfb", ".pcf.gz" };
++ static char *suffix[] = { "", ".ttf", ".pfa", ".pfb", ".pcf.gz", ".bdf" };
+
+ if(!font_path || !name) return NULL;
+