mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 17:19:22 +00:00
2008-07-23 Robert Millan <rmh@aybabtu.com>
* 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.
This commit is contained in:
1 parent
18eeaf04d7
commit
12ccdb75a9
3 files changed
+19
-3
No files matched your search
+6
-1
@@ -143,11 +143,16 @@ partmap.lst: $(PARTMAPFILES)
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user