Fix the font size selection for recovery mode
shamu has a 560dpi density, which is between xxhdpi and xxxhdpi. It deserves the large font (18x32), otherwise it falls back to use the small one and makes it mostly unreadable under recovery mode. Amend the list to include 560dpi and 400dpi that are higher than xhdpi. Ideally we should map string formats back to numbers for easy comparison (and to handle any high but odd density values). Change-Id: Ie08d9ce5e1c8850ff30a79bcbfd1b89e971b7e07
This commit is contained in:
parent
011a50e4e1
commit
abbc911632
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ endif
|
|||
# can be overridden for a particular device by putting a font.png in
|
||||
# its private recovery resources.
|
||||
|
||||
ifneq (,$(filter xxxhdpi xxhdpi xhdpi,$(recovery_density)))
|
||||
ifneq (,$(filter xxxhdpi 560dpi xxhdpi 400dpi xhdpi,$(recovery_density)))
|
||||
recovery_font := $(call include-path-for, recovery)/fonts/18x32.png
|
||||
else
|
||||
recovery_font := $(call include-path-for, recovery)/fonts/12x22.png
|
||||
|
|
Loading…
Reference in a new issue