Mulit color per line utils? Do I need to use images?

I’m working on a 64x64 adafruit display with the alexeden/rpi-led-matrix library using the nodejs bindings. Dealing with some free(): invalid pointer and corrupted size vs. prev_size issues but it’s working most of the time. Using an RPI 4 with 2GB RAM.

Curious if anyone else is using this or similar to create text-based output with multiple colors per line. I’m not seeing anything available with the LayoutUtils convenience methods to change character colors on the same line, so I think I’ll have to resort to rendering a bitmap image to do that?

It also seems like line breaks are also hard to come by with the BPD fonts - I’m hacking line breaks by extracting the first lines[0] element of the output of LayoutUtils.textToLines(), so at least I won’t get unintended wrapping.

A lot to learn! Thanks in advance for any pointers.

So, that’s a totally different answer, but on Arduino, there is

check the the demos at https://photos.google.com/share/AF1QipOqQ1PkkSf7vbvKSloIhk14d53tOQfP7mIgaautiXZ1uVIEFWy6UeX8CqeBz7_sOA?key=MGxaSmxjclJsYlI4WEh0Zml2RmNRWkVXT1lEeHp3
starting from https://photos.google.com/share/AF1QipOqQ1PkkSf7vbvKSloIhk14d53tOQfP7mIgaautiXZ1uVIEFWy6UeX8CqeBz7_sOA/photo/AF1QipPO2N4nu_mP-oawge4pEq5YDw7xs04Pc4PpWPF2?key=MGxaSmxjclJsYlI4WEh0Zml2RmNRWkVXT1lEeHp3

If this is what you need, then you can run FastLED NeoMatrix/LEDMatrix on top of rPi with Marc's Blog: arduino - Running Arduino code with 2D FastLED, Adafruit::GFX, and LEDMatrix displays on Linux