lilypond-devel
[Top][All Lists]
Advanced

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

Is there any use for the 'char' stencil command?


From: Knut Petersen
Subject: Is there any use for the 'char' stencil command?
Date: Sun, 27 Jun 2021 20:11:45 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

Hi everybody!

We have a stencil command 'char'.  Normally grep is a good friend, but grepping 
for 'char' gives a looong list of possible matches even if you add some 
restrictions ;-))

So I decided to try a brutal search method and changed the current definition 
of 'char' to

  (define (char font i) (ly:error (_ "Unsupported stencil command 'char'")))

in scm/output-ps.scm. But 'make doc' succeeded. So it's clear that we do not 
use the 'char' stencil command during the generation of all our docs. Otoh we 
certainly do not exercise every possible code path during 'make doc'.

Is the char stencil really an unused artifact that might be removed or did I 
overlook something?

Knut



reply via email to

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