Hello.
I'm using a MAX7219 dot matrix display, 8x8 pixels, 4 daisy chained.
I want to display some numbers on it. I can use 7x7 pixel font, so 4 digits will fit.
But I want to use 6x7 pixel font, so can fit 5 digits on screen.
Each letter graphics are stored in 6 bit codes, like this, for number 8

001110
011011
011011
001110
011011
011011
001110

But data to MAX7219 is being sent into 8 bit increments. So if I send it directly, there will be big gaps and each bit displayed only on single 8x8 matrix. So I need to add these 6 bits to each other, and then split them again into 8 bits. Like this:

001110 001110 001110 001110 should become
00111000 11100011 10001110
Any ideas?