Skip to contentSkip to conversation

Bug found and fixed. Patch is attached to the letter.

PATCH Vladimir Testov 2 participants 2 messages Dec 4, 2012 – Dec 10, 2012

lore
Share & tools
lore
#0 lore raw

Hello!

I was playing with grub-mkfont utility, trying to make console font with selected size (10 actually).
And there were too much space between strings. (Also, I had to keep utf-8 symbols that are not ascii)
So I faced that -c\--asce option of grub-mkfont does not work at all. This patch fixes the problem.
Now grub-mkconfig -s 10 -c 9 -d 2 -a -o ... ... makes the font I need.

Hope it will be useful.

And hope it will be added to upstream (as well as my previous patch).

Signature · 4 lines
With best regards,
_______________________________
Vladimir Testov, ROSA Laboratory.
www.rosalab.ru
util/grub-mkfont.c +1 -1
diff -Naur grub-2.00/util/grub-mkfont.c grub-new/util/grub-mkfont.c
@@ -1101,7 +1101,7 @@
       arguments->font_info.desc = strtoul (arg, NULL, 0);
       break;
 
-    case 'e':
+    case 'c':
       arguments->font_info.asce = strtoul (arg, NULL, 0);
       break;
 
#1 lore raw
Quoted 10 lines · Vladimir Testov

Hello!

I was playing with grub-mkfont utility, trying to make console font with selected size (10 actually).
And there were too much space between strings. (Also, I had to keep utf-8 symbols that are not ascii)
So I faced that -c\--asce option of grub-mkfont does not work at all. This patch fixes the problem.
Now grub-mkconfig -s 10 -c 9 -d 2 -a -o ... ... makes the font I need.

Committed, thanks.

Quoted 11 lines

Hope it will be useful.

And hope it will be added to upstream (as well as my previous patch).

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Regards
Vladimir 'φ-coder/phcoder' Serbinenko