grub-devel
[Top][All Lists]
Advanced

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

Re: [GITGRUB] New menu interface (implementation)


From: Bean
Subject: Re: [GITGRUB] New menu interface (implementation)
Date: Wed, 23 Sep 2009 20:11:14 +0800

On Wed, Sep 23, 2009 at 7:29 PM, Michal Suchanek <address@hidden> 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/




reply via email to

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