From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: incoming font engine update
Date: Fri, 02 Jan 2009 18:16:42 +0200 [thread overview]
Message-ID: <495E3DEA.80308@nic.fi> (raw)
In-Reply-To: <494F8FC0.8050107@nic.fi>
Vesa Jääskeläinen wrote:
> Hi All,
>
> I am about to integrate Colin's new Font Engine with additional changes
> to gfxterm.
>
> This means that current font tool chain will be obsolete and there will
> be new font commands to load fonts and so on. These will be detailed in
> more detail in later emails about the change. Side effects will be that
> font file format will change thus invaliding old fonts and it will
> affect font sizes too. Principal idea is to convert BDF fonts to GRUB 2
> fonts. Normally used GNU Unifont is already provided in BDF form.
>
> This will open the needed path for GRUB 2 Graphical Menu developed by
> Colin. There are sill some patches that will need attention, but
> basically almost all ground work is after that ready.
>
> Next I will do some cleanup for the patch and try to commit it withing
> couple of days.
Couple of days went and now patch finally went in. I have updated
gfxterm part of the wiki to match new font enngine:
http://grub.enbug.org/gfxterm
As a temporary workaround Java is being used to convert fonts. This
means that it would be wise to have Java SDK & VM installed when
executing make. During build process it looks for /usr/src/unifont.bdf
and if found converts it automatically to ascii.pf2 and unicode.pf2
(Previously those were ascii.pff and unicode.pff).
loadfont command can be used to load PF2 fonts.
lsfonts command can be used to list loaded fonts.
However there is a slight incompleteness in unifont.bdf that does not
feature name nor point size. And we get "Unknown -1" as a output for
default unifont.bdf font.
You are also free to experiment with other BDF fonts. gfxterm has been
updated to try make every font terminal compatible. It looks for every
ASCII font found and then determines default font width from there and
uses it to determine glyph spacing. When graphical menu is integrated in
there font spacing will be what ever is configured in glyphs.
next prev parent reply other threads:[~2009-01-02 16:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-22 13:01 incoming font engine update Vesa Jääskeläinen
2008-12-22 21:41 ` jude ui
2009-01-02 16:16 ` Vesa Jääskeläinen [this message]
2009-01-05 23:27 ` Vesa Jääskeläinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=495E3DEA.80308@nic.fi \
--to=chaac@nic.fi \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.