The x_offset and y_offset fields in PangoGlyphGeometry should not
be included in the advance. That is, they only affect the position
of their glyph.
(cherry picked from commit
8c4f3056c4217dc3b7f0c077c3f0e3673b5f90ee)
grestore
} bind def
-/print_glyphs % dx dy glyph print_glyphs
+/print_glyphs % w dx dy glyph print_glyphs
{
{
- currentpoint %dx dy glyph x0 y0
- 3 2 roll %dx dy x0 y0 glyph
- glyphshow % dx dy x0 y0
- moveto % dx dy
- rmoveto
+ currentpoint %w dx dy glyph x0 y0
+ 5 2 roll %w x0 y0 dx dy glyph
+ 3 1 roll %w x0 y0 glyph dx dy
+ rmoveto %w x0 y0 glyph
+ glyphshow %w x0 y0
+ moveto %w
+ 0 rmoveto
}repeat
}bind def
%end music-drawing-routines.ps
(define (glyph-spec w x y g)
(let ((prefix (if (string? g) "/" "")))
- (ly:format "~4f ~4f ~a~a"
- (+ w x) y
+ (ly:format "~4f ~4f ~4f ~a~a"
+ w x y
prefix g)))
(ly:format