diff options
author | Diogo Ferreira <diogo@underdev.org> | 2016-01-19 14:24:08 +0000 |
---|---|---|
committer | Diogo Ferreira <diogo@underdev.org> | 2016-01-19 14:24:08 +0000 |
commit | e406b65d73a4841afc4c0b619fe8e776f05937b0 (patch) | |
tree | 474ae9b18cd2a5f68fd2a701f9097c6b736f2294 /healthd | |
parent | 2d0a7c1201734dd910407a2061ccb4dbe9ab8fea (diff) | |
download | system_core-e406b65d73a4841afc4c0b619fe8e776f05937b0.zip system_core-e406b65d73a4841afc4c0b619fe8e776f05937b0.tar.gz system_core-e406b65d73a4841afc4c0b619fe8e776f05937b0.tar.bz2 |
charger_mode: Set font as 'log'
The 'log' font is more pleasant and is density aware, which makes
the battery percentage render using the correct size.
Change-Id: I88adddb28a5d8956cfefac2173ed2620957553bc
Ticket: CYNGNOS-1543
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/healthd_mode_charger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp index 1b6e216..7c999b3 100644 --- a/healthd/healthd_mode_charger.cpp +++ b/healthd/healthd_mode_charger.cpp @@ -448,6 +448,7 @@ static void update_screen_state(struct charger *charger, int64_t now) } gr_init(); + gr_set_font("log"); gr_font_size(&char_width, &char_height); #ifndef CHARGER_DISABLE_INIT_BLANK |