On my MSI Z77A-G45, GetFontInfo() returns ERR_NOT_FOUND all the time, but we can still get our glyph information. The only reason we run GetFontInfo() is to get the font height, so this patch finds the font height using the incredibly cunning algorithm of choosing the largest font height of all the glyphs if GetFontInfo() returns an error. You can view, comment on, or merge this pull request online at:
https://github.com/ipxe/ipxe/pull/46 -- Commit Summary -- * [efi] Get font height even if GetFontInfo() doesn't work -- File Changes -- M src/interface/efi/efi_fbcon.c (27) -- Patch Links -- https://github.com/ipxe/ipxe/pull/46.patch https://github.com/ipxe/ipxe/pull/46.diff --- Reply to this email directly or view it on GitHub: https://github.com/ipxe/ipxe/pull/46
_______________________________________________ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel