lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Experimental support for woff fonts in svg. (issue1428042)


From: pnorcks
Subject: Re: Experimental support for woff fonts in svg. (issue1428042)
Date: Thu, 17 Jun 2010 20:11:03 +0000

On 2010/06/17 20:04:53, Neil Puttock wrote:
On 2010/06/17 19:49:26, Patrick McCarty wrote:

> Adding the following code fixes the memory leak Neil refers to,
though there
> might be a better way.
>
> (if (ly:get-option 'svg-woff)
>     (module-define! (ly:outputter-module outputter) 'paper #f))

Ah, that's cute. :)

I was searching throught the Guile reference for something like
`module-undefine!'.

Oh yeah, I forgot about the undocumented `module-remove!' that I
discovered a while back:

(if (ly:get-option 'svg-woff)
  (module-remove! (ly:outputter-module outputter) 'paper))

http://codereview.appspot.com/1428042/show



reply via email to

[Prev in Thread] Current Thread [Next in Thread]