trezor-firmware icon indicating copy to clipboard operation
trezor-firmware copied to clipboard

Model R: bigger fonts for PIN and other input methods

Open grdddj opened this issue 3 years ago • 4 comments

The middle character in choice should be 64 font size, the side ones 32.

It might eat a lot of flash space, export just the necessary characters, or try to somehow reuse already existing fonts (sizes 8 and 16 - maybe just "multiplying" them by four)

image

grdddj avatar Jul 25 '22 08:07 grdddj

somehow reuse already existing fonts (sizes 8 and 16 - maybe just "multiplying" them by four)

this is the way to go.

matejcik avatar Jul 25 '22 08:07 matejcik

Magnification supported in a4b8248 and used in 85fc691

I am very interested in how much flash space has the transformation logic eaten, I have not yet looked.

Couple letters still have some small inconsistencies, for example image image

grdddj avatar Jul 28 '22 07:07 grdddj

I am very interested in how much flash space has the transformation logic eaten, I have not yet looked.

Seems it did not make a big difference, around 2kb, which is negligible compared to including all those big fonts.

grdddj avatar Jul 28 '22 08:07 grdddj

As agreed with @matejcik, the magnification could be put directly into already existing rendering logic

grdddj avatar Jul 28 '22 12:07 grdddj