2011/7/18 Janek Warchoł <lemniskata.bernoull...@gmail.com>: > i don't see anything called "stencil-width" in grob.cc...
78 if (get_property_data ("X-extent") == SCM_EOL) 79 set_property ("X-extent", Grob::stencil_width_proc); The C++ name is Grob::stencil_width; the addition of _proc uses the exported scheme version. > I don't want to read the value of extent, i want to modify how it's > calculated in case of noteheads. The extent comes directly from the font (i.e., using the bounding box of each glyph). > 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. No, the problem is that the code doesn't account for differences in font-size between heads; all the hard-coded shifts it calculates (split equally between heads; heads move away from each other by the same amount) are based on the assumption that meshing notes have the same font-size. Cheers, Neil _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel