Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 630 Bytes

File metadata and controls

8 lines (5 loc) · 630 Bytes

sftext

Scrollable Formatted (and auto-wrapping) Text rendering for pygame

A simple pygame module to load big texts, wrap'em to fit the screen (or surface given), allow scrolling (with keyboard: up, down, pg_down, pg_up, home, end, and mouse wheel) and render it with some formatting (you can change alignment, font, bold, italic, underline, size, color - and thats all for now).

There are two examples (and a screenshot of each) on the 'example' folder.

Feedbacks on performance, improvements that could be done, bugs, anything, will be highly appreciated.