On Jul 18, 2011, at 8:00 PM, Janek Warchoł wrote:

> 2011/7/18 Joe Neeman <joenee...@gmail.com>:
>> 2011/7/17 Janek Warchoł <lemniskata.bernoull...@gmail.com>:
>>> I've searched in note-head.cc, note-column.cc, note-heads-engraver.cc
>>> but found nothing...
>> 
>> I believe it defaults to ly:grob::stencil-width (probably in grob.cc).
> 
> 2011/7/17 Neil Puttock <n.putt...@gmail.com>:
>> 2011/7/17 Janek Warchoł <lemniskata.bernoull...@gmail.com>:
>>> I've searched in note-head.cc, note-column.cc, note-heads-engraver.cc
>>> but found nothing...
>> 
>> You don't need to know this (though if you're curious, any grob
>> without a default is set to ly:grob::stencil-width; see the
>> constructor in grob.cc).
> 
> i don't see anything called "stencil-width" in grob.cc...
> 
>> If you want to know the extent, just use Grob::extent ().
> 
> I don't want to read the value of extent, i want to modify how it's
> calculated in case of noteheads.
> I suppose that noteheads X-extent is wrongly calculated now.  Judging
> by this 
> http://lilypond.googlecode.com/issues/attachment?aid=-4756087064344904294&name=test.png&token=22aa1208ff6775e1780efcedc7e7e841&inline=1
> , all noteheads are assigned the same X-extent, even though the glyphs
> have different widths.
> Or maybe i don't understand how it works...
> 
> thanks,
> Janek


The issue is in the metafont file: see line 160ish in feta-noteheads.mf.

Cheers,
MS
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to