Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NDH0c-00030R-5S for mharc-grub-devel@gnu.org; Wed, 25 Nov 2009 07:30:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NDH0a-000303-Ro for grub-devel@gnu.org; Wed, 25 Nov 2009 07:30:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NDH0Y-0002zP-9F for grub-devel@gnu.org; Wed, 25 Nov 2009 07:30:07 -0500 Received: from [199.232.76.173] (port=34861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NDH0Y-0002zJ-1R for grub-devel@gnu.org; Wed, 25 Nov 2009 07:30:06 -0500 Received: from fg-out-1718.google.com ([72.14.220.156]:10495) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NDH0X-0006M5-I7 for grub-devel@gnu.org; Wed, 25 Nov 2009 07:30:05 -0500 Received: by fg-out-1718.google.com with SMTP id l26so3077705fgb.12 for ; Wed, 25 Nov 2009 04:30:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to :content-type:content-transfer-encoding; bh=ZgBhv4kniSj4erJp3i2ZGz7Zs/NWzXFHRujGKV9r9bY=; b=qI8613v/u4W1+vz7Uhn/mDwY1tWz1lkDRrRN0sx0ElSeguayZBX5ASrc5XeuFv6D8F MeF6pneOWzfRW7O+9N92pV98Ch3gDC2arlS/wNhKqO1YnEGilCP864TQzQN80kJByhyE ZRJxYoq6yeM8L1Td8zlXQg+3/cFviKXFIVcjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type :content-transfer-encoding; b=NYO6OetJHfSxOmCLPwa538uGAHzSR9bJ4S77cNtZJas63TNkwsM5rsEig2i5r27+Kd mJcjZH4PetPpFg0YiPkLYCnkTvXiWex2RFKmklIgsQROrsMZnbi1/3oGnGGGrOrecTxg 0Gh5eAb3hRibc2bpI4xoCsWJu1D8ULta4Eew8= MIME-Version: 1.0 Sender: hramrach@gmail.com Received: by 10.239.139.89 with SMTP id s25mr803039hbs.113.1259152204069; Wed, 25 Nov 2009 04:30:04 -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> From: Michal Suchanek Date: Wed, 25 Nov 2009 13:29:43 +0100 X-Google-Sender-Auth: 2afb8834a1efdaf9 Message-ID: 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 12:30:09 -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? I mean that you can render the font bitmap in its native size to a 32bit surface and use the bilinear scaling feature to resize that, for example. The advantage of on-the-fly scaling is that you really need only a single font, the differently sized glyphs are created as needed. The disadvantage over native fonts of different sizes is, of course, lower quality. If you render the glyph to a differently sized bitmap with some nearest-fit algorithm (because there isn't really any option here) the result would be vastly inferior I would expect. As fonts are bitmaps this is the only option for scaling in grub-mkfont. > 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 That doesn't really help. There isn't really a canonical reading every Chinese speaking person is supposed to understand, and even if you choose one as the standard it's not possible to derive the meaning of a word from the reading but it is possible from the Chinese character. Hebrew and Arabic use letters that correspond to consonants so anybody who knows the language and Latin alphabet should be able to read a Latin transcription, though possibly with gritting teeth. > similar for Arabic. > 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. Yes, that's certainly a possibility but one has to be aware of this limitation and perhaps mention it somewhere. Thanks Michal