diff options
author | Danny Lin <danny@kdrag0n.dev> | 2021-10-05 21:02:19 -0700 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-05-07 00:20:58 +0800 |
commit | 521bc0a65378c3f61f7ebe6dd040ffcda1d371e0 (patch) | |
tree | 21e908c67136ca2902505445f03553c83c9bd7ed /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 3d6216f6dd5574d6e0b8af91619f69275b34d01b (diff) |
SystemUI: Update lock screen clock typography for Inter font
In my opinion, geometric 6 and 9 glyphs look better when used in a
large, prominent number-focused context, similar to Google Sans Clock on
stock. Our default font, Inter, support this in the form of font
features; we just need to enable it. Font features need to be changed
here (not res-keyguard/font/clock.xml) because they differ by clock
type.
This also fixes an issue where some times cause uneven width mismatches
between the top and bottom lines of the large clock.
Small clock:
- pnum (proportional numbers; default for Inter, but it doesn't hurt
to leave the AOSP flag)
- cv03 (geometric 6)
- cv04 (geometric 9)
Large clock:
- tnum (tabular numbers; fixes mismatching widths in large clock)
- cv03 (geometric 6)
- cv04 (geometric 9)
Change-Id: Ieb2ad15417454d05abc5f33b11f7364e97b4e365
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions