]> git.donarmstrong.com Git - lilypond.git/commit
Fix check for `utf-8-string' in output modules
authorPatrick McCarty <pnorcks@gmail.com>
Mon, 7 Sep 2009 08:23:26 +0000 (01:23 -0700)
committerPatrick McCarty <pnorcks@gmail.com>
Mon, 7 Sep 2009 19:08:42 +0000 (12:08 -0700)
commitf29f941793df7e4ef047e73d04f47ebc428c775e
treeb2fd8aa3ed7fc682f212038a14660d96a5cedb5e
parent47f47855069bfb739a9027089b7fa276db1b21ad
Fix check for `utf-8-string' in output modules

When checking for `utf-8-string', we must not include the "warning"
definitions (set at runtime) for backends without `utf-8-string'.

An additional check is therefore necessary in order to ignore module
variables bound to lambda expressions.

All of the stencil expression procedures defined in output-*.scm create
variable<->symbol bindings, and has_utf8_string should be true in these
cases.  But the variable<->#f bindings should not count, because they
are set at runtime.

This commit adds an additional check to disclude the variable<->#f
bindings.
lily/pango-font.cc