All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: fonts for gfxmenu, help needed
@ 2009-11-26  4:38 Qianqian Fang
  2009-11-26  9:11 ` Felix Zielcke
  0 siblings, 1 reply; 43+ messages in thread
From: Qianqian Fang @ 2009-11-26  4:38 UTC (permalink / raw)
  To: grub-devel

hi list

My friend brought me attention to this thread, and
I am very glad to see a better CJK support is now
on the agenda of grub. As a Chinese font developer,
I am willing to help, share information or build
fonts for this specific need.

I wasn't really following how fonts were used in grub,
and still had the (wrong) impression that only 256
glyphs are allowed for each file. After opening the
overlay_2009-07-19 tarball, I saw large files such as
unifont are included, so, I guess now grub is able
to handle the full unicode (or BMP) fonts including
CJK ones, is this correct? do they have to be bitmaps?

If the answers to my above questions are "yes", then
I think you may consider a customized version
of "WenQuanYi Bitmap Song" [1], which is a multi-strike
bitmap font containing >27000 Chinese Han glyphs
at 9pt,10pt,10.5pt,11pt and 12pt sizes. The Latin
part of this font are not "monospaced", but we
can either merge it with other mono Latin fonts
(GPL compatible), or use fallback to get around it.

I saw you already have the later version of
GNU Unifont installed, if that's the case, then
you can skip the 12pt of WenQuanYi Bitmap Song,
because most of the CJK glyphs in Unifont 5.1
were ported from WQY's bitmap font last year by
Paul Hardy [2].

About format, I don't know if you can use ttf
file, or SFNT ttf file (with only embedded bitmaps).
WQY Bitmap Song has an SFNT TTF version [3]. It appears
that freetype2 works fine with it, but fontconfig
has difficulties. Using SFNT TTF, the uncompressed
font size is about 3M (with 9,10,11,12pt),which
is fairly lightweight.

If grub happens to be able to process vector
ttf fonts, I would recommend DroidSansFallback [4]
or the derived WenQuanYi Micro Hei [5]. They both
covers a huge span of languages, and the second one
have a lot more CJK glyphs and both proportional
and monospaced species.

Please let me know if you have any further comments,

Qianqian


[1] http://wenq.org/enindex.cgi?BitmapSong_en
[2] http://unifoundry.com/unifont.html
[3] http://sourceforge.net/projects/wqy/files/wqy-bitmapfont-pkgsrc/0.8.1/
[4] 
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=data/fonts;hb=HEAD
[5] http://wenq.org/enindex.cgi?MicroHei%28en%29



*From*: 	Michal Suchanek
*Subject*: 	Re: fonts for gfxmenu, help needed
*Date*: 	Wed, 25 Nov 2009 17:04:59 +0100

------------------------------------------------------------------------

2009/11/25 feng shu <address@hidden>:
>/ 2009/11/25 Vladimir 'Ï-coder/phcoder' Serbinenko <address@hidden>:/
>/> Michal Suchanek wrote:/

>/>>/
>/>> 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./
>

I guess most people in Europe simply don't understand that pinyin is
unreadable.

Fortunately, displaying Chinese characters should be well within the
capabilities of current gfxterm although the font is likely poor
quality.

Any testers who can tell the difference between commonly used Chinese
fonts and GNU Unifont are welcome.

Thanks

Michal








^ permalink raw reply	[flat|nested] 43+ messages in thread
* fonts for gfxmenu, help needed
@ 2009-11-24 12:10 Robert Millan
  2009-11-24 15:27 ` Michal Suchanek
  0 siblings, 1 reply; 43+ messages in thread
From: Robert Millan @ 2009-11-24 12:10 UTC (permalink / raw)
  To: grub-devel


Hi,

Help is needed in order to provide the last bit that will make gfxmenu
functional: fonts of multiple sizes.

The sample tarball at http://grub.gibibit.com/files/overlay_2009-07-19.tar.gz
includes a set of prebuilt fonts.  They were built using a Java utility
which ended up being replaced with grub-mkfont in our repository.

In order to provide the basic infrastructure so that theme authors can
begin developing their artwork, we need GRUB to build fonts from the original
unifont files (unifont.bdf or unifont.pcf.gz).

Can someone figure out appropiate parameters for grub-mkfont, such that
when applied on unifont.bdf or unifont.pcf.gz they will output suitable
PF2 font files?  A font file is suitable if it can be used to replace the
prebuilt ones in overlay_2009-07-19.tar.gz and its themes can still use
them.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



^ permalink raw reply	[flat|nested] 43+ messages in thread

end of thread, other threads:[~2009-12-05 21:51 UTC | newest]

Thread overview: 43+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-26  4:38 fonts for gfxmenu, help needed Qianqian Fang
2009-11-26  9:11 ` Felix Zielcke
2009-11-26 15:27   ` Qianqian Fang
2009-11-26 22:14     ` Michal Suchanek
2009-11-27  0:48       ` Qianqian Fang
2009-11-27  0:51         ` Qianqian Fang
2009-11-27  9:42         ` Michal Suchanek
2009-11-28  1:46           ` Qianqian Fang
2009-11-28 21:53             ` Michal Suchanek
2009-11-28 22:33               ` Qianqian Fang
2009-11-28 22:43               ` Qianqian Fang
2009-11-29 11:19                 ` Michal Suchanek
2009-11-29 16:14                   ` Qianqian Fang
2009-11-29 16:23                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-29 17:10                       ` Qianqian Fang
2009-11-29 19:36                         ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-30  2:15                           ` Qianqian Fang
2009-11-30  9:44                     ` Michal Suchanek
2009-11-30 15:24                       ` Qianqian Fang
2009-11-30 16:10                         ` Michal Suchanek
2009-12-05 21:50                           ` Michal Suchanek
  -- strict thread matches above, loose matches on Subject: below --
2009-11-24 12:10 Robert Millan
2009-11-24 15:27 ` Michal Suchanek
2009-11-24 17:35   ` Robert Millan
2009-11-24 19:06     ` Colin D Bennett
2009-11-24 19:43       ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-24 23:20         ` Robert Millan
2009-11-25  9:01           ` Michal Suchanek
2009-11-25 10:32             ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-25 11:12               ` Michal Suchanek
2009-11-25 11:36                 ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-25 12:29                   ` Michal Suchanek
2009-11-25 13:17                     ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-25 13:57                   ` feng shu
2009-11-25 16:04                     ` Michal Suchanek
2009-11-25 17:42                       ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-25 21:51                         ` Michal Suchanek
2009-11-26  2:58                         ` feng shu
2009-11-26  3:11                       ` feng shu
2009-11-25 11:15           ` Michal Suchanek
2009-11-25 11:38             ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-24 18:12   ` Vladimir 'φ-coder/phcoder' Serbinenko
2009-11-24 18:29     ` Felix Zielcke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.