lilypond-devel
[Top][All Lists]
Advanced

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

Re: Guidelines for bounding boxes?


From: David Kastrup
Subject: Re: Guidelines for bounding boxes?
Date: Fri, 14 Aug 2009 21:27:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>>> However, we need a mechanism to improve the more critical cases.
>> 
>> Maybe attaching some "ghost characters" without actual content to
>> the glyphs might be possible, where the total outline is determined
>> by overlaying all the bounding boxes?
>
> This is a very nice idea!  For example, the
>
>
>         |
>         |
>         | _
>         |/ \
>         |__/
>
>
> glyph could be composed of two glyphs: The first holds the complete
> shape but its metrics box only consists of the bowl.  The second one
> is an empty box, firmly attached on the top, which exactly covers the
> stem:
>
>        ++
>        ||
>        ||
>        ++-+
>        |  |
>        +--+
>
> Some glyphs, however, like the `sharp' accidental, would need one main
> box and four attached ghost boxes: I fear that too many ghost boxes
> would dramatically increase the processing time of lilypond...

I think that the two boxes

      111111
      1    1
   222+2222+222
   2  1    1  2
   222+2222+222
      1    1
      111111

should suffice for most practical purposes...

-- 
David Kastrup





reply via email to

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