]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/HiiDatabase: Remove the incorrect calculation of font baseline
authorDandan Bi <dandan.bi@intel.com>
Tue, 31 May 2016 09:52:19 +0000 (17:52 +0800)
committerStar Zeng <star.zeng@intel.com>
Mon, 6 Jun 2016 06:08:31 +0000 (14:08 +0800)
commitd2970bbc1d88dbde480e7eef57f3ddcedd39ad08
tree6b6b57dba9e0731b75a1efa834d5575764d4ab5a
parent0672c2cdfebd35af3e68fe0b54408852bf314759
MdeModulePkg/HiiDatabase: Remove the incorrect calculation of font baseline

When add Font Package, the cell in EFI_HII_FONT_PACKAGE_HDR
contains the measurement of the widest and tallest characters
in the font. The measurement may be not absolutely correct,
so when use this cell information to calculate the baseline may
cause incorrect result. Besides this calculation is not necessary.
So remove it now.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdeModulePkg/Universal/HiiDatabaseDxe/Font.c