David Kastrup wrote
>> And, additionally, it is perfectly common for a (true) slanted/italic
>> character to protrude out of its box.
>
> So?
Ahm, yes, of course. Otherwise, you'd never get a decent letter-spacing
without thousands of kerning exceptions.
As a last attempt, this is an example of
Torsten Hämmerle writes:
> David Kastrup wrote
>> Torsten Hämmerle <
>
>> torsten.haemmerle@
>
>> > writes:
>> [...]
>>> 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 th
David Kastrup wrote
> Torsten Hämmerle <
> torsten.haemmerle@
> > writes:
> [...]
>> 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 sl
Hi Torsten,
Thanks for the confirmation. That obviously explains the observed behaviour
very simply.
Not intuitive to me. I would have thought the stencil was rotated in this
case about its axis of symmetry. But I guess lily[ond does not really know
the item, just a stencil, is a 'circle' with sp
Torsten Hämmerle 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
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
2018-03-11 15:27 GMT+01:00 Torsten Hämmerle :
> Hi Harm,
>
> David is right - it's the bounding box being rotated. As bounding boxes can
> only have heights and widths in vertical and horizontal direction (there
> isn't even such a thing as an italic slant in LilyPond), the resulting new
> bounding
Hi Andrew,
The bounding box of a circle actually is a square.
But, after rotation, the resulting markup/stencil will have a new bounding
box (with vertical height and horizontal width) large enough to contain the
original bounding box (all objects are considered as boxes, no matter what
their actu
Hi Torsten,
I think Harm and I would assume the bounding box for a circle is a square,
which is the root of the confusion. Why is it a rectangle for a circle?
Andrew
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/list
Hi Harm,
David is right - it's the bounding box being rotated. As bounding boxes can
only have heights and widths in vertical and horizontal direction (there
isn't even such a thing as an italic slant in LilyPond), the resulting new
bounding box's height and width increases.
I usually solve this
Thomas Morley writes:
> Hi all,
>
> let's say I've a stencil, which I want to rotate around it's center.
> For the example below I choosed make-circle-stencil, because a circle
> center-rotated _should_ always look equal.
> Though, applying ly:stencil-rotate modifies the dimensions of said
> circ
Hi Harm,
It's interesting to observe how the bounding box increases in size as you
increase the angle and then decreases again as you go to 90 degrees.
Clearly lilypond does not display the mathematical nicety of Postscript. As
to 'why?' - isn't this a bug or defect?
Andrew
_
12 matches
Mail list logo