Quantcast
Channel: Support - Pimoroni Buccaneers
Viewing all articles
Browse latest Browse all 6851

Scroll pHAT HD 3x5 font change

$
0
0

@skolem wrote:

Hello. I made a clock with Scroll pHAT HD using the 3x5 font. But the font is not monospaced and the digits jump around when the number 1 is displayed. I want to fix this. I guess I need to change the number 1 in the following file

github

from

0x00000031: [[0xff],
             [0xff],
             [0xff],
             [0xff],
             [0xff]],

to

0x00000031: [[0x00,0xff,0x00],
             [0x00,0xff,0x00],
             [0x00,0xff,0x00],
             [0x00,0xff,0x00],
             [0x00,0xff,0x00]],

But I cannot find in my system which file to change. I tried to change

/usr/lib/python3/dist-packages/scrollphathd/fonts/font3x5.py

but it has no effect. Any ideas?

Posts: 4

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6851

Trending Articles