[Top][All Lists]

[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: Mon, 10 Aug 2009 09:02:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

>> Are there any guidelines LilyPond adheres to for creating bounding
>> boxes?
> No.
>> For example, when I adjusted the bbox for the \eyeglasses markup
>> command, I _underestimated_ the bbox.  Should I have slightly
>> _overestimated_ instead?  Attached is a PNG displaying the bbox.
> I think overestimation is better.
>> Also, in the case of Metafont glyphs, there doesn't appear to be a
>> clear convention: some bounding boxes are underestimated, but others
>> are overestimated.
> What you call `bounding boxes' aren't real bboxes but the metrics
> boxes of the glyphs.  In case of the bass clef, for example, the top
> shape is treated as with many other rounded glyphs in normal fonts:
> The `overshoot' sticks out.  On the other hand, the height has been
> enlarged so that it covers the staff vertically.

One has to keep in mind that Metafont does not permit more than 16
different heights per font (something like that, I don't remember the
exact details).

David Kastrup

reply via email to

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