From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1WrSmd-0007Or-Ke for mharc-grub-devel@gnu.org; Mon, 02 Jun 2014 10:00:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrSmW-0007Az-PR for grub-devel@gnu.org; Mon, 02 Jun 2014 10:00:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WrSmQ-0004cA-V3 for grub-devel@gnu.org; Mon, 02 Jun 2014 10:00:08 -0400 Received: from mail-la0-x229.google.com ([2a00:1450:4010:c03::229]:43270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WrSmQ-0004b0-Nw for grub-devel@gnu.org; Mon, 02 Jun 2014 10:00:02 -0400 Received: by mail-la0-f41.google.com with SMTP id e16so2640370lan.28 for ; Mon, 02 Jun 2014 07:00:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=5M1jwkvmaVBG/51wAAosrs2RDYxYHKfZiMaH/KomVA0=; b=R0nmZBRe8bww0dvGsdTt1IMh39pT/iU+aWoo/+N/CQrUlTp8CJMFqVUz1+bSUhFyQC HEhOO1uLH0h8TRhdauTKRh2Bb/vzjkdv7ASOSqZACMFaEbSehs9xpUp71OotuyiIuqGz /4GXR5U90ch6X3EqxxHhWB3aMB2Ywc6WYcxpX9O4CiWr2DwjyEngbKL2hjXpb8J62aeD +B5WaoYISz+xD2KGdILaK5qYNZ0vHyF8NQefjcctinlf7hUXt07TAikUecVXTkZPthjV B1bMO763eItHmL1q3PTIVVnbUpFXgDEbRjR/purqSdCN5FToU+aysq9Znkwkh48D7vP4 0R7g== X-Received: by 10.112.40.101 with SMTP id w5mr26833865lbk.19.1401717601450; Mon, 02 Jun 2014 07:00:01 -0700 (PDT) Received: from opensuse.site (ppp37-190-15-130.pppoe.spdop.ru. [37.190.15.130]) by mx.google.com with ESMTPSA id n3sm11259038lan.3.2014.06.02.07.00.00 for (version=SSLv3 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 02 Jun 2014 07:00:00 -0700 (PDT) Date: Mon, 2 Jun 2014 17:59:59 +0400 From: Andrey Borzenkov To: The development of GNU GRUB Subject: Re: Grub2 theme bug with relative numeric values for boot_menu? Message-ID: <20140602175959.70ab0329@opensuse.site> In-Reply-To: <5383BDEB.8000801@prpcompany.com> References: <5383BDEB.8000801@prpcompany.com> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.22; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::229 Cc: grub-dev@prpcompany.com X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 14:00:14 -0000 В Mon, 26 May 2014 18:19:23 -0400 John Hupp пишет: > I'm trying to make my theme completely resolution-independent. You can > see a current screen shot at Post your Grub 2 Themes > > Pictures are blocked for guests. > Grub responded well to % values for the numeric values in the progress > bar and labels. Also OK with %'s for boot_menu properties top, left, > height, width. > > But I'm getting bad behavior with item_height and the other properties. > For a 1024x768 grub display and an original setting of item_height = 26, > I can't get equivalent output unless I set item_height = 27% > These properties do not even understand proportional units. If you are using modified grub which adds support for it, please post patch, otherwise it is impossible to make any useful comment. > So item_height seems to be referencing a parent with a height of about > 96, rather than 768. > > This is in a VMWare Player environment running Lubuntu 14.04. > > Is this a known problem, or is there an explanation/workaround? > > (I also realized as I got into this that I will run into a problem with > different aspect ratios, so other than creating at least two themes for > the commonest aspect ratios, I'd be interested in a tip there as well if > there is a solution.)