* util/grub-mkfont.c: Downgrade warnings about unhandled features

to debug.
This commit is contained in:
Vladimir Serbinenko 2014-01-29 23:41:48 +01:00
parent 3beabdc8e4
commit ba424f37a9
2 changed files with 13 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2014-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkfont.c: Downgrade warnings about unhandled features
to debug.
2014-01-29 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/term/at_keyboard.c: Tolerate missing keyboard.

View file

@ -516,7 +516,7 @@ process_cursive (struct gsub_feature *feature,
}
if (grub_be_to_cpu16 (lookup->flag) & ~GSUB_RTL_CHAR)
{
printf (_("Unsupported substitution flag: 0x%x\n"),
grub_util_info ("unsupported substitution flag: 0x%x",
grub_be_to_cpu16 (lookup->flag));
}
switch (feattag)
@ -577,7 +577,8 @@ process_cursive (struct gsub_feature *feature,
There are 2 coverage specifications: list and range.
This warning is thrown when another coverage specification
is detected. */
printf (_("Unsupported coverage specification: %d\n"), covertype);
fprintf (stderr,
_("Unsupported coverage specification: %d\n"), covertype);
}
}
}
@ -616,7 +617,8 @@ add_font (struct grub_font_info *font_info, FT_Face face, int nocut)
grub_uint32_t feattag
= grub_be_to_cpu32 (features->features[i].feature_tag);
if (feature->params)
printf (_("WARNING: unsupported font feature parameters: %x\n"),
fprintf (stderr,
_("WARNING: unsupported font feature parameters: %x\n"),
grub_be_to_cpu16 (feature->params));
switch (feattag)
{
@ -647,7 +649,7 @@ add_font (struct grub_font_info *font_info, FT_Face face, int nocut)
if (!grub_isgraph (str[j]))
str[j] = '?';
/* TRANSLATORS: It's gsub feature, not gsub font. */
printf (_("Unknown gsub font feature 0x%x (%s)\n"),
grub_util_info ("Unknown gsub font feature 0x%x (%s)",
feattag, str);
}
}