From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NECP0-0000Ap-Qy for mharc-grub-devel@gnu.org; Fri, 27 Nov 2009 20:47:10 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NECOy-0000A0-Qe for grub-devel@gnu.org; Fri, 27 Nov 2009 20:47:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NECOu-00008N-5I for grub-devel@gnu.org; Fri, 27 Nov 2009 20:47:08 -0500 Received: from [199.232.76.173] (port=44618 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NECOu-00008K-2Z for grub-devel@gnu.org; Fri, 27 Nov 2009 20:47:04 -0500 Received: from mail-qy0-f178.google.com ([209.85.221.178]:52541) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NECOu-0003hw-0b for grub-devel@gnu.org; Fri, 27 Nov 2009 20:47:04 -0500 Received: by qyk8 with SMTP id 8so920213qyk.24 for ; Fri, 27 Nov 2009 17:47:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=sCJXejGhakeQG4865bhWQu6LrFxmez+2Ov55Qr1WANI=; b=j1/jhRAnVu4UvzJerpApzzJah5UjlZbhWYDAy+YCHngJb03hx+1jGBSTxRExyVTvHO j9nWyhGTBzrBL82M1qKQQSixbjSdX3+9CQqv6r0BC4jHJHXnP6f//CqZmtU4nlKz7QSM 4IHjY8TPpnl9hTgIZ9hGKyW64qaf/Qh4E8FXw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Oqv/UbcU+0f0kadCWNybXn+smhlke2GDTxWm4bL4XOzRapNwJ+i1r1x7qnYhdJGyyV jCSNXfzzQjd/k0IoG8lfKwupHVx3NgJCdgNs2NASfqEtmEG5l94XdC9P8/bKWDMILQy6 e6fM11nA/Fr7L5qf08xgLJTLqiJT8NekHQ2ks= Received: by 10.224.110.212 with SMTP id o20mr855281qap.151.1259372822607; Fri, 27 Nov 2009 17:47:02 -0800 (PST) Received: from ?192.168.1.5? (c-24-128-82-101.hsd1.ma.comcast.net [24.128.82.101]) by mx.google.com with ESMTPS id 26sm5737583qwa.10.2009.11.27.17.47.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 27 Nov 2009 17:47:01 -0800 (PST) Message-ID: <4B108113.5010407@gmail.com> Date: Fri, 27 Nov 2009 20:46:59 -0500 From: Qianqian Fang User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: The development of GNU GRUB References: <4B0E062F.6000000@gmail.com> <1259226689.2847.3.camel@fz.local> <4B0E9E51.4090803@gmail.com> <4B0F21C8.3@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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: Sat, 28 Nov 2009 01:47:09 -0000 Michal Suchanek wrote: > Thanks for these tips. I guess wider by one px is acceptable for an > alternate font, the fonts need not be displayed both at the same time. > I am not sure if lower quality glyphs of correct shape are preferred > over higher quality Chinese glyphs, though. I guess it would also > depend on reader preference but it would be nice to hear the opinion > of somebody familiar with Japanese. > Using different fonts for different language makes life easier. > For me the Song/Mincho variant fonts seem more readable at small > sizes. Although the serifs aren't clearly visible they often add > weight to the stroke ends and make them easier to recognize. However, > this may be matter of preference/reader familiarity with the > language/overall font quality/... > > I think that there is not much need for smaller fonts than the default > 16px/12pt Unifont. It would be nice addition to have a font for > fine-print but I am personally more interested in larger font sizes > for captions or simple menus on high resolution screens. > > In the larger sizes the difference between different font styles is > more visible. > I misunderstood the call. You want to have fonts larger than 12pt, not smaller, as we usually concern. That's fine, actually that is a lot easier to handle. I don't know what sizes you prefer, you can find bitmap resources at typical sizes at 24px/32px/48px. Indeed, using freetype/autohint, the rasterization of the popular CJK fonts may entirely usable at these sizes. In the following links, I experimented to hint/instruct/rasterize the common CJK fonts, and I think the results are quite usable: Hei-style: WQY Micro Hei@24px: http://wenq.org/upload/microhei_24px.png WQY Micro Hei@32px: http://wenq.org/upload/microhei_32px.png Song-style: Japanese Mincho@24px (efont f24): http://wenq.org/upload/efont_micho_24px.png Chinese Song@32px (uming): http://wenq.org/upload/uming_32px.png Except the efont 24px, all screenshots were made by rasterizing vector fonts with freetype2 with autohints. Here are the steps to reproduce: 1. open a TTF/TTC files in fontconfig, navigate to CJK zone (U4E00-U9FCB) 2. select tens to hundreds of glyphs, select menu Hint\Autohint 3. then, goto menu Element\Font Info...\PS Private, hit Add and add multiple PS hints, include StdHW and StdVW, use the guessed values 4. select menu Hint\AutoInstruct 5. select menu Element\Bitmap Strikes Available\, type whatever pixel sizes you want in the 3rd box, check freetype, and click ok 6. now from menu View, select the strike you just generated As I mentioned earlier, if you want to produce Japanese Hei-style Kanji bitmaps, you can apply the above procedures to DroidSansJapanese. And of course, the bigger the size, the better the results. Let me know if you need any additional information.