Werner LEMBERG <[email protected]> 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
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel