[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent ly:stencil-rotate to modify dimensions

From: David Kastrup
Subject: Re: How to prevent ly:stencil-rotate to modify dimensions
Date: Mon, 12 Mar 2018 01:37:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Torsten Hämmerle <address@hidden> writes:

> Hi Harm,
> Thanks for the background information, that'd be a valuable improvement.
> Thomas Morley-2 wrote
>> Using your code with the following example:
>> \markup
>>   \override #'(box-padding . 0)
>>   \box
>>   \override #'(slant-angle . 40)
>>   \slanted
>>   \musicglyph #"clefs.G"
>> results in a not matching boundingbox as well.
> Yes, I know, but this code was meant for text in the first place and it's
> quite common for slanted characters to stick out of their bounding boxes to
> the left to the right. Unfortunately, there are no slanted bounding boxes
> (the are always upright"
> But the main reason behind is that 
> \slanted "one two three" 
> should give the same result as 
> \slanted { "one" "two" "three" }

Uh, no?

\slanted "one two three"

should likely give the same result as

\slanted \line { "one" "two" "three" }


\slanted { "one" "two" "three" }

is exactly equivalent to

{ \slanted "one" \slanted "two" \slanted "three" }

and is connected with unslanted spaces.

> and when separately applying \slanted to "one", "two", and "three", a
> widened box would lead to a wider spacing.

This _is_ separately applying \slanted to "one", "two", and "three".

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]