Text rendering on XCB: how to draw more than 255 characters efficiently?
"Vincent P. Ellis" <[email protected]> Fri, 29 Mar 2019 05:18:18 +0100
| Newsgroups | gmane.comp.freedesktop.xcb |
|---|---|
| Message-ID | <trinity-dfed9266-2b58-4de9-b3ba-52e158f49d68-1553833098733@3c-app-mailcom-lxa10> |
I've been experimenting with xcb and xcb_image_text_8 lately, but found the 255 character limit disturbing. Is there any other way, through an extension maybe, of sending bigger string datatypes to XCB? I'm working on a textbox component for a text editor, but I'm having to wrap strings manually, a then manipulating x/y as necessary with multiple calls to xcb_image_text_8. Depending on the screensize, and the amount of text, I think it would be more efficient to just render all the text myself and send a pixmap representing all text that has to be rendered inside the textbox. Vincent Ellis C/C++ Technician [email protected] El Paso, TX _______________________________________________ Xcb mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/xcb