[efi] Work around broken GetFontInfo() implementations
authorMichael Brown <mcb30@ipxe.org>
Thu, 10 Mar 2016 18:06:26 +0000 (18:06 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 10 Mar 2016 18:09:59 +0000 (18:09 +0000)
commite303a6b387628d4c65d1085f66a5d97855755ace
treed30d106765976c6b335dd9162a80fad9c5e42a26
parente44f6dcb8994a3c5c29b16aacd97ac095f4588c6
[efi] Work around broken GetFontInfo() implementations

Several UEFI platforms are known to return EFI_NOT_FOUND when asked to
retrieve the system default font information via GetFontInfo().  Work
around these broken platforms by iterating over the glyphs to find the
maximum height used by a printable character.

Originally-fixed-by: Jonathan Dieter <jdieter@lesbg.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/interface/efi/efi_fbcon.c