From 9d070730ded98aebe99cbc284112a9ebc25cffb8 Mon Sep 17 00:00:00 2001 From: Bill Robinson Date: Sun, 12 Jun 2011 15:46:56 +0100 Subject: [PATCH] Windows fixes. --- lib/ftgl.lisp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/ftgl.lisp b/lib/ftgl.lisp index 74b6fa2..f93b76b 100644 --- a/lib/ftgl.lisp +++ b/lib/ftgl.lisp @@ -54,7 +54,10 @@ (define-foreign-library ftgl (:unix (:or "libftgl" "libftgl.so.2")) + (:win32 "ftgl.dll") (t (:default "libftgl"))) + + (use-foreign-library ftgl) (defctype font :pointer) @@ -192,10 +195,12 @@ #+unix #P"/usr/share/fonts/**/*.ttf" #+unix #P"/usr/X11/share/fonts/**/FreeSans.ttf" #+unix #P"/usr/X11/share/fonts/**/*.ttf" - #+win32 #P"/WIN*/Fonts/verdana.ttf" + #+win32 #P"/Win*/Fonts/verdana.ttf" + #+win32 #P"/Win*/Fonts/*.ttf" #+win32 #P"/WIN*/Fonts/*.ttf" #+darwin #P"/Library/Fonts/Arial.ttf" - #+darwin #P"/Library/Fonts/*.ttf") + #+darwin #P"/Library/Fonts/*.ttf" + #P"*.ttf") "A list of pathnames that should match to at least one TTF font. Patches Welcome.") -- 2.11.4.GIT