Werner LEMBERG <w...@gnu.org> writes: > Dear LilyPonders, > > > I can get the extents of a grob with `ly:grob-extent`. What is the > corresponding Scheme function to set the extents? > > Or to ask in a different way: At the time when properties are > processed and you have to manipulate stencils, changing the stencil of > a grob doesn't change the extents of this grob, AFAICS.
You are not supposed to change stencils at all. They are not entities with identity. It's like asking how to change the exponent of a floating point number. Whatever ability on the machine level exists for that, it does not make sense to export an interface. > How can I adjust the extents at this stage to fit the dimensions of > the stencil (even if LilyPond no longer needs and/or uses the values > for positioning)? Create a new stencil with different dimensions and use that. -- David Kastrup