lilypond-devel
[Top][All Lists]
Advanced

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

Re: convert-ly doesn't catch `make-pango-font-tree`


From: Werner LEMBERG
Subject: Re: convert-ly doesn't catch `make-pango-font-tree`
Date: Thu, 06 Apr 2023 13:46:13 +0000 (UTC)

>> In my source file I have
>> 
>> ```
>> \version "2.24"
>> 
>> \paper {
>>   fonts = #(make-pango-font-tree
>>             "Linux Libertine O"
>>             "Linux Biolinum O"
>>             "Ubuntu Mono"
>>             (/ (* staff-height pt) 2.5))
>> }
>> ```
>> 
>> `convert-ly` of current git doesn't catch this.
> 
> Well, the rule doesn't catch the nested expression for the factor.

Hmm, I thought that `convert-ly` produces a warning if it finds a
`make-pango-font-tree` call that it cannot convert...

> Maybe I should rewrite it with brace_matcher.

This probably makes sense, yes.

> Is this something you found in a snippet somewhere?

It is in Joram's
https://github.com/joram-berger/visualindex/blob/master/visualindex.ly
file; I don't know where he took it from.


    Werner

reply via email to

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