lilypond-user
[Top][All Lists]
Advanced

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

Re: feature request: abs-fontsize available for all text grobs


From: David Kastrup
Subject: Re: feature request: abs-fontsize available for all text grobs
Date: Tue, 23 Jul 2013 12:58:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Jan-Peter Voigt <address@hidden> writes:

> Thank you again, David ... nice ...
> one more question: The symbol list is meant for (list /interface/
> /property/)?
> I still use (ly:grob-set-property! grob sym val) and catch interface
> and property with car and cadr respectivly. Or is there another
> way/use in 2.17?

In 2.17, font-interface.font-size is the same as
#'(font-interface font-size) for a symbol-list? argument, so one has
nicer syntactic sugar for override-like commands.

>> If you want an interface to the internals, it can look like
>>
>> \allowGrobCallback font-interface.font-size
>>
>> as a context mod.  Something like
>>
>> allowGrobCallback =
>> #(define-scheme-function (parser location syms) (symbol-list?)
>>    #{ \with { \consists #(make-engraver ...


-- 
David Kastrup




reply via email to

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