[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
- Guidelines for bounding boxes?, Patrick McCarty, 2009/08/09
- Re: Guidelines for bounding boxes?, Werner LEMBERG, 2009/08/10
- Re: Guidelines for bounding boxes?,
David Kastrup <=
- Re: Guidelines for bounding boxes?, Werner LEMBERG, 2009/08/10
- Re: Guidelines for bounding boxes?, Werner LEMBERG, 2009/08/10
- Re: Guidelines for bounding boxes?, Marek Klein, 2009/08/10
- Re: Guidelines for bounding boxes?, Werner LEMBERG, 2009/08/10
- Re: Guidelines for bounding boxes?, Mark Polesky, 2009/08/10
- Re: Guidelines for bounding boxes?, Werner LEMBERG, 2009/08/10
- Re: Guidelines for bounding boxes?, Mark Polesky, 2009/08/10
- Re: Guidelines for bounding boxes?, Han-Wen Nienhuys, 2009/08/10
- Re: Guidelines for bounding boxes?, Mark Polesky, 2009/08/11
- Re: Guidelines for bounding boxes?, Han-Wen Nienhuys, 2009/08/11