[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[1725] 2008-07-23 Robert Millan <address@hidden>
From: |
Robert Millan |
Subject: |
[1725] 2008-07-23 Robert Millan <address@hidden> |
Date: |
Tue, 22 Jul 2008 22:23:46 +0000 |
Revision: 1725
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=1725
Author: robertmh
Date: 2008-07-22 22:23:45 +0000 (Tue, 22 Jul 2008)
Log Message:
-----------
2008-07-23 Robert Millan <address@hidden>
* Makefile.in (UNICODE_ARROWS, UNICODE_LINES): New variables (they
define the codes for arrows and lines used for the menu).
(ascii.pff): Generate fonts for $(UNICODE_ARROWS) and $(UNICODE_LINES)
as well.
* util/update-grub_lib.in (font_path): Prefer ascii.pff over complete
fonts, because the latter are too slow.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/Makefile.in
trunk/grub2/util/update-grub_lib.in
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2008-07-21 10:40:01 UTC (rev 1724)
+++ trunk/grub2/ChangeLog 2008-07-22 22:23:45 UTC (rev 1725)
@@ -1,3 +1,13 @@
+2008-07-23 Robert Millan <address@hidden>
+
+ * Makefile.in (UNICODE_ARROWS, UNICODE_LINES): New variables (they
+ define the codes for arrows and lines used for the menu).
+ (ascii.pff): Generate fonts for $(UNICODE_ARROWS) and $(UNICODE_LINES)
+ as well.
+
+ * util/update-grub_lib.in (font_path): Prefer ascii.pff over complete
+ fonts, because the latter are too slow.
+
2008-07-21 Bean <address@hidden>
* kern/i386/pc/startup.S (gate_a20_try_bios): Change test order for
Modified: trunk/grub2/Makefile.in
===================================================================
--- trunk/grub2/Makefile.in 2008-07-21 10:40:01 UTC (rev 1724)
+++ trunk/grub2/Makefile.in 2008-07-22 22:23:45 UTC (rev 1725)
@@ -143,11 +143,16 @@
ifeq (, $(UNIFONT_HEX))
else
pkgdata_DATA += unicode.pff ascii.pff
+
+# Arrows and lines are needed to draw the menu, so we always include them
+UNICODE_ARROWS=0x2190-0x2193
+UNICODE_LINES=0x2501-0x251B
+
unicode.pff: $(UNIFONT_HEX)
ruby $(srcdir)/util/unifont2pff.rb $(UNIFONT_HEX) > $@
ascii.pff: $(UNIFONT_HEX)
- ruby $(srcdir)/util/unifont2pff.rb 0-127 $(UNIFONT_HEX) > $@
+ ruby $(srcdir)/util/unifont2pff.rb 0x0-0x7f $(UNICODE_ARROWS)
$(UNICODE_LINES) $(UNIFONT_HEX) > $@
endif
all-local: $(PROGRAMS) $(PKGLIB) $(PKGDATA) $(SCRIPTS) $(MKFILES)
Modified: trunk/grub2/util/update-grub_lib.in
===================================================================
--- trunk/grub2/util/update-grub_lib.in 2008-07-21 10:40:01 UTC (rev 1724)
+++ trunk/grub2/util/update-grub_lib.in 2008-07-22 22:23:45 UTC (rev 1725)
@@ -131,8 +131,9 @@
font_path ()
{
for dir in ${pkgdatadir} /boot/grub /usr/share/grub ; do
- # Prefer complete fonts over incomplete ones.
- for basename in unicode unifont ascii ; do
+ # FIXME: We prefer ascii because loading complete fonts is too slow (and
+ # we don't yet provide the gettext magic that would make unicode useful).
+ for basename in ascii unicode unifont ; do
path="${dir}/${basename}.pff"
if is_path_readable_by_grub ${path} > /dev/null ; then
echo "${path}"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [1725] 2008-07-23 Robert Millan <address@hidden>,
Robert Millan <=