X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;ds=sidebyside;f=gacela_ttf.lisp;h=1d9aec72239cea4d9cd28e26deeae48fd8a9cb91;hb=6a3d1ffb69036e6d4f1c239fd7d52f9bfc48d50c;hp=9d8c0c57b39457194f39c132c76e8f644d556d2a;hpb=8f452e676ff1c49ad238f9ed43d834af67896c46;p=gacela.git diff --git a/gacela_ttf.lisp b/gacela_ttf.lisp index 9d8c0c5..1d9aec7 100644 --- a/gacela_ttf.lisp +++ b/gacela_ttf.lisp @@ -14,7 +14,11 @@ ;;; You should have received a copy of the GNU General Public License ;;; along with this program. If not, see . -(in-package :gacela) + +(eval-when (compile load eval) + (when (not (find-package 'gacela)) (make-package 'gacela :nicknames '(gg) :use '(lisp))) + (in-package 'gacela :nicknames '(gg) :use '(lisp))) + (defun load-font (font-file &key (size 40) (encoding ft_encoding_unicode) static) (let* ((key (make-resource-font :filename font-file :encoding encoding))