[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting an override into a markup function
From: |
David Kastrup |
Subject: |
Re: Getting an override into a markup function |
Date: |
Sat, 26 Sep 2015 03:27:15 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Simon Albrecht <address@hidden> writes:
> On 26.09.2015 01:05, Michael Gerdau wrote:
>> While following this thread I've copied the various solutions into
>> a growing file. Interstingly with all three proposed solution one after
>> another the final resulting PDF is roted by 90 degree as well.
>>
>> Commenting out any of the 4 \markup (or note) lines does not rotate
>> the PDF, but with all it does.
>>
>> Why is that so ?
>
> A completely weird-in-appearance bug. I boiled it down to the following:
> Iff
> – the markup string has more than fifteen(!) characters
> – and is called more than three times,
> the resulting .pdf will be rotated. It happens with all integer
> multiples of 90 degrees and it’s only the PS backend which is
> concerned.
> <https://sourceforge.net/p/testlilyissues/issues/4621/>
Sounds to me like GhostScript is keeping statistics about the character
orientations and the most frequent orientation ends up as that of the
paper (maybe it's only a drawing optimization that unintentionally
bleeds into the result?).
So I suspect that the other page material (tagline?) makes up for
something around 50 characters.
Music engraving by LilyPond 2.17.28—www.lilypond.org
52 characters, minus 4 spaces. Whoever thought the tagline was
important?
--
David Kastrup