
Sometimes it is useful to print numbers in hex format - add the appropriate specifier. Also support a minimum field width to pad the formatted string with spaces (or zeros if the width is prefixed with '0'). https://bugzilla.gnome.org/show_bug.cgi?id=622597