Fix alignment of HWID on firmware screens and bitmap viewer.

BUG=chrome-os-partner:12701
TEST=Disable the 'clean' step in the Makefile and
run 'make' in newbitmaps directory. Use the bitmap_viewer to
verify the HWID is correctly aligned when compared with the "Model"
text.

Change-Id: Icd3977f50461492a0999059ccd4982d16a373dce
Reviewed-on: https://gerrit.chromium.org/gerrit/30453
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
Commit-Ready: Dave Parker <dparker@chromium.org>
Tested-by: Dave Parker <dparker@chromium.org>
This commit is contained in:
Dave Parker
2012-08-15 14:00:01 -07:00
committed by Gerrit
parent 06e8e90018
commit 12ef75d84d
7 changed files with 12 additions and 5 deletions

View File

@@ -62,8 +62,8 @@ class BmpBlock(object):
if "$HWID.rtol" in images:
print "WARNING: ignoring $HWID.rtol font blob"
# TODO(hungte) Replace this by rendering with font block.
images["$HWID"] = os.path.join(self.libdir,'current_hwid.bmp')
images["$HWID.rtol"] = os.path.join(self.libdir, 'current_hwid.bmp')
images["$HWID"] = 'hwid_placeholder.bmp'
images["$HWID.rtol"] = 'hwid_placeholder.bmp'
screens = thing["screens"]
assert isinstance(screens, dict)