[STUMP] ttf-fonts module

Michael Raskin <[email protected]>
Newsgroups gmane.comp.window-managers.stumpwm.devel
Message-ID <[email protected]>
>I've created a new branch "font-module" where I'm trying to factorize
>font rendering with truetype fonts into a module.  This way it shouldn't
>be hard to support anti-aliased fonts in lisp distributions that
>support them, while maintaining compatibility with distributions that
>don't (ie ECL).  It will also allow us to write a freetype module that
>does the same thing with otf fonts.  
>
>I need some help as my asdf skills are a little wanting.  As I
>understand it, font-rendering.lisp in stumpwm defines some generic
>functions, and then some concrete implementations for xlib fonts.  I
>factored out the ttf code into contrib/utils/ttf-fonts.lisp.  Now these
>symbols are ttf-fonts::symbol-name instead of just symbol-name.  Is
>there an accepted way to tell lisp that the methods in the ttf-fonts
>package are the concrete implementations of the generic methods defined
>in font-rendering.lisp?

I think you need to specify that your :ttf-fonts package imports 
ttf-fonts::symbol-name from the :stumpwm package.

The simplest way, though, is just to use

(defmethod ttf-fonts::symbol-name …





_______________________________________________
Stumpwm-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.