An SDL1 Txt file viewer (for books in txt file format)
viewtxt is a simple SDL 1.2 txt file viewer mainly made to be used on devices like the funkey, rg nano, rg35xx line etc (chinese emulation handhelds). you can use it for example with the txt file books from project gutenberg.

viewtxt <text_file> [-conf=path/to/config] [font_path] [font_size] [bg_r,g,b] [text_r,g,b] [encoding] [-ignore_linebreaks] [-inverted_colors] [-fullscreen] [-w=width] [-h=height]
text_file: Path to the text file to display (required)
-conf=path: Optional configuration file path
font_path: Path to TTF font file
font_size: Default value for font size
bg_r,g,b: Background color RGB values 0-255
text_r,g,b: Text color RGB values 0-255
encoding: Text file encoding (e.g., UTF-8, ISO-8859-1)
-ignore_linebreaks: Default value for Ignore original line breaks and fill window width
-inverted_colors: Default value for inverted (switched bg & text color)
-fullscreen: Display the viewer fullscreen
-w=width: Use width for window width
-h=height: Use height for window height
on funkey the viewer can be used as a opk file (in gmenu2x) where selecting the opk will display a file selection dialog, or with a seperate binary for retrofe
in the meta zip file the files for adding the viewer to retrofe are included please read the included retrofe_installation.txt on how todo this
Please place the viewtxt.opk in Applications folder and launch from gmenu2x