|
|
a85e8e |
From 84dc1cb8eccdebe6529cf9e60f830fb6c57c7706 Mon Sep 17 00:00:00 2001
|
|
|
a85e8e |
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a85e8e |
Date: Wed, 29 Jan 2014 23:41:48 +0100
|
|
|
a85e8e |
Subject: [PATCH 050/260] * util/grub-mkfont.c: Downgrade warnings about
|
|
|
a85e8e |
unhandled features to debug.
|
|
|
a85e8e |
|
|
|
a85e8e |
---
|
|
|
a85e8e |
ChangeLog | 9 +++++++++
|
|
|
a85e8e |
util/grub-mkfont.c | 14 ++++++++------
|
|
|
a85e8e |
2 files changed, 17 insertions(+), 6 deletions(-)
|
|
|
a85e8e |
|
|
|
a85e8e |
diff --git a/ChangeLog b/ChangeLog
|
|
|
a85e8e |
index a49f5f1f4..9837c7f8d 100644
|
|
|
a85e8e |
--- a/ChangeLog
|
|
|
a85e8e |
+++ b/ChangeLog
|
|
|
a85e8e |
@@ -1,3 +1,12 @@
|
|
|
a85e8e |
+2014-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a85e8e |
+
|
|
|
a85e8e |
+ * util/grub-mkfont.c: Downgrade warnings about unhandled features
|
|
|
a85e8e |
+ to debug.
|
|
|
a85e8e |
+
|
|
|
a85e8e |
+2014-01-29 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
a85e8e |
+
|
|
|
a85e8e |
+ * grub-core/term/at_keyboard.c: Tolerate missing keyboard.
|
|
|
a85e8e |
+
|
|
|
a85e8e |
2014-01-29 Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com>
|
|
|
a85e8e |
|
|
|
a85e8e |
* .gitignore: add missing files and .exe variants.
|
|
|
a85e8e |
diff --git a/util/grub-mkfont.c b/util/grub-mkfont.c
|
|
|
a85e8e |
index 3cb02ad5c..3de07ee9c 100644
|
|
|
a85e8e |
--- a/util/grub-mkfont.c
|
|
|
a85e8e |
+++ b/util/grub-mkfont.c
|
|
|
a85e8e |
@@ -516,8 +516,8 @@ process_cursive (struct gsub_feature *feature,
|
|
|
a85e8e |
}
|
|
|
a85e8e |
if (grub_be_to_cpu16 (lookup->flag) & ~GSUB_RTL_CHAR)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
- printf (_("Unsupported substitution flag: 0x%x\n"),
|
|
|
a85e8e |
- grub_be_to_cpu16 (lookup->flag));
|
|
|
a85e8e |
+ grub_util_info ("unsupported substitution flag: 0x%x",
|
|
|
a85e8e |
+ grub_be_to_cpu16 (lookup->flag));
|
|
|
a85e8e |
}
|
|
|
a85e8e |
switch (feattag)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
@@ -577,7 +577,8 @@ process_cursive (struct gsub_feature *feature,
|
|
|
a85e8e |
There are 2 coverage specifications: list and range.
|
|
|
a85e8e |
This warning is thrown when another coverage specification
|
|
|
a85e8e |
is detected. */
|
|
|
a85e8e |
- printf (_("Unsupported coverage specification: %d\n"), covertype);
|
|
|
a85e8e |
+ fprintf (stderr,
|
|
|
a85e8e |
+ _("Unsupported coverage specification: %d\n"), covertype);
|
|
|
a85e8e |
}
|
|
|
a85e8e |
}
|
|
|
a85e8e |
}
|
|
|
a85e8e |
@@ -616,7 +617,8 @@ add_font (struct grub_font_info *font_info, FT_Face face, int nocut)
|
|
|
a85e8e |
grub_uint32_t feattag
|
|
|
a85e8e |
= grub_be_to_cpu32 (features->features[i].feature_tag);
|
|
|
a85e8e |
if (feature->params)
|
|
|
a85e8e |
- printf (_("WARNING: unsupported font feature parameters: %x\n"),
|
|
|
a85e8e |
+ fprintf (stderr,
|
|
|
a85e8e |
+ _("WARNING: unsupported font feature parameters: %x\n"),
|
|
|
a85e8e |
grub_be_to_cpu16 (feature->params));
|
|
|
a85e8e |
switch (feattag)
|
|
|
a85e8e |
{
|
|
|
a85e8e |
@@ -647,8 +649,8 @@ add_font (struct grub_font_info *font_info, FT_Face face, int nocut)
|
|
|
a85e8e |
if (!grub_isgraph (str[j]))
|
|
|
a85e8e |
str[j] = '?';
|
|
|
a85e8e |
/* TRANSLATORS: It's gsub feature, not gsub font. */
|
|
|
a85e8e |
- printf (_("Unknown gsub font feature 0x%x (%s)\n"),
|
|
|
a85e8e |
- feattag, str);
|
|
|
a85e8e |
+ grub_util_info ("Unknown gsub font feature 0x%x (%s)",
|
|
|
a85e8e |
+ feattag, str);
|
|
|
a85e8e |
}
|
|
|
a85e8e |
}
|
|
|
a85e8e |
}
|
|
|
a85e8e |
--
|
|
|
a85e8e |
2.13.0
|
|
|
a85e8e |
|