/usr/share/common-lisp/source/mcclim/Experimental/freetype/mcclim-truetype.asd is in cl-mcclim 0.9.6.dfsg.cvs20100315-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | ;;;; -*- Lisp -*-
#|
The mcclim-truetype system extends the CLX backend with antialiased font
rendering in 100% Common Lisp (no foreign code), using the XRender
extension and the libraries zpb-ttf and cl-vectors.
To autoload mcclim-truetype after mcclim, link this file to a
directory in your asdf:*central-registry* and add the following to
your lisp's init file:
(defmethod asdf:perform :after ((o asdf:load-op)
(s (eql (asdf:find-system :clim-clx))))
(asdf:oos 'asdf:load-op :mcclim-freetype))
|#
(defpackage :mcclim-truetype-system (:use :cl :asdf))
(in-package :mcclim-truetype-system)
(defsystem :mcclim-truetype
:depends-on (:clim-clx :mcclim :zpb-ttf :cl-vectors :cl-paths-ttf :cl-aa)
:serial t
:components
((:file "truetype-package")
(:file "xrender-fonts")
(:file "fontconfig")
(:file "mcclim-native-ttf")))
(defmethod perform :after ((o load-op) (s (eql (asdf:find-system :mcclim-truetype))))
"Detect fonts using fc-match"
(let ((autoconfig (find-symbol (symbol-name '#:autoconfigure-fonts) :mcclim-truetype)))
(unless autoconfig
(error "Couldn't find autoconfigure-fonts. This shouldn't happen."))
(funcall autoconfig)))
|