fill-line currently only considers the extents of the stencils, not
their position relative to the X-origin; with the patch, they are
shifted according to the first stencil argument.
(if (null? (remove ly:stencil-empty? orig-stencils))
empty-stencil
- (stack-stencils-padding-list X
- RIGHT fill-space-normal line-stencils))))
+ (ly:stencil-translate-axis
+ (stack-stencils-padding-list X
+ RIGHT fill-space-normal line-stencils)
+ (- (car (ly:stencil-extent (car stencils) X)))
+ X))))
(define-markup-command (line layout props args)
(markup-list?)