On 2/16/19, 7:22 PM, "edes" <e...@gmx.net> wrote:

    
    Hello, list.
    
    Some time ago I reported a bug with modern-straight and flat flags, and it
    was accepted as issue 5412:
    
    https://sourceforge.net/p/testlilyissues/issues/5412/
    
    I only have a very basic knowledge of lilypond, but I assume that this
    problem happens at the font level, and that there is no way to improve the
    output by tweaking the lilypond code?

It turns out that the straight family of  flags is actually implemented in 
scheme.

The file is scm/flag-styles.scm

The thicknesses are hard-coded at lines 111 (modern-straight-flag), 117 
(old-straight-flag), and 122 (flat-flag).

The names of the variables (which show up only as numbers in these calls) are 
found at line 60.

Unfortunately, at this point there does not appear to be any grob property for  
the thickness, so there is not a straightforward override.  You'll need to edit 
the scheme file.  Or, you could define your own straight flag style by copying 
(and altering) one of the flag definitions.
    
If you get some better numbers, and especially if you have some evidence from 
nicely-engraved scores, it's likely that we would replace the defaults.

Thanks,

Carl
    

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to