View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#1
an app to display text as large as possible, with all the text fitting.


1) install deb
2) edit MyDocs/qtbigtext.txt {perhaps with redak}
3) run qtbigtext app launcher

it will show whats in the file in the largest possible font {that it all fits in}

OR run it in a terminal and see stdin or commandline args in the largest font possible.

{the deb is n9-specific, but the script will work anywhere you have pyside, like n900, laptop, etc.}

QTBigText Download

config file is at ~/.config/qtbigtext.conf

https://github.com/teleshoes/qtbigtext

the use cases i have in mind are:
1) talking to my deaf grandmother while she holds the phone and i type on my laptop over ssh
2) showing the bus driver my confirmation code

bundles inconsolata {a very pretty monospace typeface that is not mine or affiliated with me at all} and defaults to it.

to use in a terminal:
python /opt/qtbigtext/qtbigtext.py the text you wanna display
or
cat file | python /opt/bigtext/qtbigtext.py
or
python /opt/bigtext/qtbigtext.py
{shows ~/MyDocs/qtbigtext.txt}

python /opt/qtbigtext/qtbigtext.py there


python /opt/qtbigtext/qtbigtext.py The quick brown fox jumped over the lazy dog.

v0.4
+add command line args to override config settings
+add command line arg to bigtext to read from STDIN
+add optional visual separator for manual line breaks
+fix font calculation to be consistent to tenths of a point
+fix bug where rapid invokations of bigtext failed to start it
+re-try the previous font point size when setting text with dbus

v0.3.3
+fix leftover artifacts between runs

v0.3.2
+/usr/bin/bigtext script, python3 and python2 compatibilty

v0.2
+flopjoke's icon, new config options: wordWrap and textFile

v0.1
+config file for bg/fg color, typeface, min/max font point, and forcing height/width of text print space

v0.0.5
+green on black
{v0.0.5.1 is white on black, because the proper way to customize colors is to totally have another application version for them}

v0.0.4
+fail with a nice error if input is too big
+fixed bug where some text would be cut off

v0.0.3
+desktop launcher is included and shows MyDocs/qtbigtext.txt
+Inconsolata is bundled now

v0.0.2
+wordwrap

v0.0.1
+font calculations and basic display

to donate if you like it: paypal to elliot.wolk@gmail.com
__________________
~ teleshoes ~

Last edited by wolke; 2014-06-01 at 09:32. Reason: version bump
 

The Following 10 Users Say Thank You to wolke For This Useful Post: