Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NDIND-0006Pa-8E for mharc-grub-devel@gnu.org; Wed, 25 Nov 2009 08:57:35 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDIN9-0006LY-1X for grub-devel@gnu.org; Wed, 25 Nov 2009 08:57:31 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDIN1-0006FZ-Ss for grub-devel@gnu.org; Wed, 25 Nov 2009 08:57:28 -0500 Received: from [199.232.76.173] (port=56410 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDIN0-0006Ea-7n for grub-devel@gnu.org; Wed, 25 Nov 2009 08:57:22 -0500 Received: from mail-pw0-f47.google.com ([209.85.160.47]:56815) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDIMz-0007Q1-U7 for grub-devel@gnu.org; Wed, 25 Nov 2009 08:57:22 -0500 Received: by pwi9 with SMTP id 9so5520689pwi.26 for ; Wed, 25 Nov 2009 05:57:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=aiy5/UciEFGc+cON4fL79gfHPk4+4kRxljx3do6fQgE=; b=Ls/5i7pXQEadcYtd9/fzPgO7UHudXnKFtj+eRNA46teKfR/z2z0avgOjuA5iHYu6BC vtEkkLNhvCnl0vd0yhlkU136P4nb6UvxiTb5qzf2/aA/sAkxqr5521IZBue2CIME6itR sc7V8qBqkfTmDuklh1KG+PQB9U4tc2bOiz6VY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=s20PdXlV5SwbDjweUvbmXMRgKkmWfAsBe1IRSwaKbxFG+JIdSDrRMiRXDh/+WNtnlL ZAFzsFpHfD5crWuFR4Agv/2QIcQV8XE3GNfPuE9RBom+c9+21LIqfyfHBx9IAAQ2YIU5 QeKxRjdUWuUYdNOC98JzlkuAwrzcn4QqVQsak= MIME-Version: 1.0 Received: by 10.143.21.36 with SMTP id y36mr904226wfi.211.1259157438336; Wed, 25 Nov 2009 05:57:18 -0800 (PST) In-Reply-To: <4B0D16D1.70300@gmail.com> References: <20091124121027.GA317@thorin> <20091124173555.GA32105@thorin> <20091124110646.42f051d6@svelte> <4B0C3762.9000700@gmail.com> <20091124232059.GA5332@thorin> <4B0D07BB.9060400@gmail.com> <4B0D16D1.70300@gmail.com> Date: Wed, 25 Nov 2009 21:57:18 +0800 Message-ID: <86dc1cfc0911250557i71443457mafb50aaf54cf389d@mail.gmail.com> From: feng shu To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: fonts for gfxmenu, help needed X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Wed, 25 Nov 2009 13:57:31 -0000 2009/11/25 Vladimir '=CF=86-coder/phcoder' Serbinenko : > Michal Suchanek wrote: >> >> The difference is that the font is only a bitmap whereas scaling >> inside grub can do blending which should give much better results than >> scaling bitmap into another bitmap. >> >> > What do you mean by blending? Do you mean pixels with alpha channels? >>> The best way to choose between pre-scaling and scaling in grub is >>> benchmarking. Multiple fonts take longer to load but scaling even with >>> caching is likely to cause more performance hit. >>> How much fonts does an author need? We need either decrease number of >>> fonts simultaneously used or have faster font loader (both in preferenc= e). >>> As Robert said most important is to get things going and theme creators >>> can use other free fonts as well >>> >> >> Typically people want at the very least >> >> =C2=A0- serif font >> =C2=A0- sans-serif font >> =C2=A0- multiple sizes of the above so that the menu can have a larger >> title / be scaled to different screen sizes >> >> Sure, some would want their exact font in which the logo of their >> distribution is writen but this is outside of scope of Grub. >> >> >>>> =C2=A0- there is a problem with Simplified Chinese/Traditional >>>> Chinese/Japanese. Some of the glyphs used by these writing systems >>>> have the same unicode codepoint but are slightly different in each. To >>>> get these rendered correctly you need special font for each. Blame the >>>> Unicode people. >>>> >>>> >>>> >>> Let's not get into Unihan flamewar. There are other problems with other >>> languages which are more serious. Here are few of them: >>> 1) combining diacritics. >>> 2) ligatures. Important for indic languages >>> 3) context variants. Important for Arabic writing system. >>> 4) bidi. Important for Hebrew and Arabic writing system. >>> >>> Generally current gfxterm is pretty much unsuited for any of these 4 >>> problems. And gotoxy is pretty ambiguous in bidi context >>> Few useful links: >>> http://en.wikipedia.org/wiki/Help:Multilingual_support >>> http://fr.wikipedia.org/wiki/Wikip%C3%A9dia:Unicode/Test/arabe >>> >>> >> >> Not being able to use combining diacritics sucks. Does that mean that >> grub won't be able to draw decomposed Unicode strings? >> > I haven't checked. But I suppose it doesn't since it stores one > codepoint per on-screen place >> Either way the four points above are things that gfxterm simply does >> not support > It may need a major changes to support :( And these changes may > propagate through whole terminal system (gotoxy concept is flawed) >> whereas Unihan flamewars are inherent feature of Unicode >> > You seem have missed variant selectors > (last paragraph of > http://en.wikipedia.org/wiki/Unihan#Graphemes_versus_glyphs) > And we're back to multichar per on-screen place problem >> and the gfxterm technically should be able to display CJK languages >> given a good enough font. >> >> Also if worse comes to worst Indic, Arabic or Hebrew can be feasibly >> written in Latin, Chinese cannot. >> > pinyin. I know it's disagreable to read for native speakers, but it's > similar for Arabic. show grub menu with pinyin? it is very very stupid. > In worst case we can just say Japanese people to install Japanese fonts > only and bear with Chinese having a bit wrong rendering and vice-versa. >> Thanks >> >> Michal >> >> >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> > > > -- > Regards > Vladimir '=CF=86-coder/phcoder' Serbinenko > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > >