[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly doesn't catch `make-pango-font-tree`
From: |
Jean Abou Samra |
Subject: |
Re: convert-ly doesn't catch `make-pango-font-tree` |
Date: |
Sun, 09 Apr 2023 18:29:55 +0200 |
User-agent: |
Evolution 3.46.4 (3.46.4-1.fc37) |
Le jeudi 06 avril 2023 à 13:46 +0000, Werner LEMBERG a écrit :
> ```
>
> >> 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.
https://gitlab.com/lilypond/lilypond/-/merge_requests/1930 should address this.
signature.asc
Description: This is a digitally signed message part