On Wed, Sep 23, 2009 at 7:29 PM, Michal Suchanek <hramr...@centrum.cz> wrote:
> IIRC traditionally X is used for height and m for width.
>
> Either way it is a unit that is not the same when measured vertically
> and horizontally, and it is not possible to draw a square using this
> unit.
>
> Also when you want to make a box that accomodates n lines of text you
> need a unit for line-height. That is, you need to take into account
> the maximum rise of characters like ÅÕṌṎ, and maximum fall of
> characters like ᶘɀ and also include some space between the lines so
> that they do not merge visually.
>
> I guess it would be quite common to either display a box that can
> accommodate a piece of text or a box that fits the most lines of text
> possible in a given space so it would be useful to have units for
> that.

Hi,

Height includes ascent, descent and leading, the value is the same for
all characters, we only need to choose the reference character for
width calculation.

-- 
Bean

gitgrub home: http://github.com/grub/grub/
my fork page: http://github.com/bean123/grub/


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to