How do I scroll text in specific areas using text-scroller?

I really love this library!

This video has a total size of 128 pixels wide by 32 pixels high.
Is there a way to scroll text in an area measuring 80 pixels wide by 16 pixels high in the bottom-right corner?

first, you don’t give remotely enough information. C++, python?
if it’s a video, generate the video with your text with any video editor, nothing to do with this library.
More generally, you’ll mostly get support about specifically of the library and talking to panels. Anything about filling a framebuffer is considered basic programming not related to this lib and you’re more likely to get help in a board related to the language you’re planning on using, or nowdays, you can get pretty good results from googel gemini or chatgpt

This is possible using a double buffer. The general principle is this: first, you scroll the text in the desired area, and then, without updating the buffer, redraw the rest.

After that, you send the buffer to the screen.

The visual effect will be like scrolling in the desired area and a static image around it.

I wanted to ask if it’s possible to set the display area using the utils/text-scroller command.

sudo ./text-scroller -f ../fonts/9x18.bdf -i input.txt *******

I was wondering if the ***** part could be used to specify the display area or the section to show.

you’re asking questions on what the code does, have you tried looking at the code itself? it shows what it does and you can modify it to do what you need, if not.

To see text-scroller available commands try to invoke it without any option. You will see a short usage info.