grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] GSoC #10 new font engine


From: Colin D Bennett
Subject: [PATCH] GSoC #10 new font engine
Date: Mon, 1 Sep 2008 09:27:53 -0700

This patch introduces a re-written font engine that supports fonts of
arbitrary sizes as well as proportional fonts.  The font file format
used is a new format created for GRUB called PFF2 (nominal .pf2 file
extension) -- perhaps this stands for portable font file format version
2...

Font metrics are provided, such as getting the width of a glyph or a
string, and getting the ascent and descent of a font.  For more
information on the font format and how the ascent, descent, and
baseline relate, see <http://grub.gibibit.com/New_font_format>.

The VBE driver now blits glyphs using the bitmap blit functionality,
for potentially much better performance than the old glyph blit
method.  A new video color format (1-bit color) was added to support
this, as well as a new blit format (1-bit packed bitmap).

The font tools (BDF->PFF2 font converter, and BDF/PFF2 viewer) are
written in Java and are coming in the next patch.

Regards,
Colin

Attachment: 10_font-engine.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]