![]() |
[Announce] qtbigtext- large text viewer
an app to display text as large as possible, with all the text fitting.
https://github.com/teleshoes/qtbigte.../qtbigtext.png 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 https://github.com/teleshoes/qtbigte...e-n9-there.png python /opt/qtbigtext/qtbigtext.py The quick brown fox jumped over the lazy dog. https://raw.github.com/teleshoes/qtb...e-n9-quick.png 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 |
Re: large text viewer
this guy knows what im talking about, but i hate his soln
http://www.qtforum.org/article/32092...xt-length.html |
Re: large text viewer
im going to bundle inconsolata with this, and use that since it has a predictable height and width
|
Re: large text viewer
mostly done, heres the code.
i need to add wordwrap, which is quite tricky. it has a max font point size of 600 and a min of 4, and it binary searches for an optimal font, so it works with any monospace font. edit: heres the url of the latest script, instead of an outdated code block https://raw.github.com/teleshoes/qtb...c/qtbigtext.py |
Re: [Announce] qtbigtext alpha- large text viewer
named the project qtbigtext, posted a deb for it, posted an inconsolata deb, and added some screenshots to the OP.
doesnt have wordwrap yet. |
Re: [Announce] qtbigtext alpha- large text viewer
0.0.2 wordwrap
|
Re: [Announce] qtbigtext alpha- large text viewer
TODO:
1) {DONE} add a non-terminal way to use it. i could add an interactive gui, but there are already decent text editors out there, i personally dont give a **** about a gui, and i have no idea if anyone will find this app as useful as ive found it so far. SO, ill check for a file in MyDocs called 'qtbigtext.txt', and use that if it exists {and no commandline args are present and stdin is not a pipe}. if anyone DOES want an app like this, lemme know if you would find it sufficient to edit the file in, say, redak, and click the text viewer icon. 2) {DONE} bundle inconsolata with it. SIL's open font license vaguely hints at this being perfectly fine, but i need to look at it closely. {anyone can help me with that?} 3) add a config file for forcing the screen geometry, setting the typeface, and changing the bg/fg color. |
Re: [Announce] qtbigtext- large text viewer
ok, im done. this app works perfectly well for me. no config, maybe someday.
|
Re: [Announce] qtbigtext- large text viewer
BUG: if the input is sufficiently large that it wont fit on the screen even at the minimum font point size, it crashes.
|
Re: [Announce] qtbigtext- large text viewer
BUG: text will get cut off for some inputs
|
Re: [Announce] qtbigtext- large text viewer
0.0.4 fixed:
-BUG: if the input is sufficiently large that it wont fit on the screen even at the minimum font point size, it crashes. -BUG: text will get cut off for some inputs |
Re: [Announce] qtbigtext- large text viewer
|
Re: [Announce] qtbigtext- large text viewer
HAH, lololol
|
Re: [Announce] qtbigtext- large text viewer
Haha, I'm thinking of using these kind of images to post on TMO when replying to people like Lumiaman; inadvertently you've done a good anti-troll mechanism :p
|
Re: [Announce] qtbigtext- large text viewer
oh god, use it for Good not Evil
|
Re: [Announce] qtbigtext- large text viewer
hey you think i should set a default color? ye olde green on black perhaps?
|
Re: [Announce] qtbigtext- large text viewer
Yup i think green on black would be nice
Edit: On second thought can we have white text on a black background? The black can then be seamless with the n9's design hence the text would stand-out...Of course only if its convenient for you! Thanks :D |
Re: [Announce] qtbigtext- large text viewer
done. i of course have no idea if they work on the n9, as i dont own one.
|
Re: [Announce] qtbigtext- large text viewer
|
Re: [Announce] qtbigtext- large text viewer
2 Attachment(s)
|
Re: [Announce] qtbigtext- large text viewer
I absolutely s*ck at designing...
Done a preliminary icon till someone else does an acceptable one: http://apps.javispedro.com/nit/hicg/...331e2_icon.png |
Re: [Announce] qtbigtext- large text viewer
so obviously i should make a config where you can specify the fontface, min/max fontpt, and bg/fg color.
BUT until then, what should the default one be? blue/green/white on black |
Re: [Announce] qtbigtext- large text viewer
I vote for white on black! :D
IMO its the best-looking... |
Re: [Announce] qtbigtext- large text viewer
I vote for the blue with black background. ;)
|
Re: [Announce] qtbigtext- large text viewer
im gonna go ahead and cast my vote of green on black.
isnt democracy great? |
Re: [Announce] qtbigtext- large text viewer
oh hey, thedead1440
is that icon for qtbigtext? if it is, i appreciate the icon submission, buuut i dont get it. |
Re: [Announce] qtbigtext- large text viewer
Haha the W stands for wolke :p
I'll do one more maybe like: "w->W" to indicate the big text... Pls, somebody do a better icon, I really am **** at it :D Edit: sent a pm to flopjoke for the icon...He'll do a million times better job :D |
Re: [Announce] qtbigtext- large text viewer
lol, i should have figured that out.
someday, ill learn to make squircles. for now, ill stick with my shitty: O / ABC |
Re: [Announce] qtbigtext- large text viewer
|
Re: [Announce] qtbigtext- large text viewer
ok i made a reasonable version with a config. white on black is the default color, you change it in ~/.config/qtbigtext.conf
|
Re: [Announce] qtbigtext- large text viewer
Did someone want an icon designed? :)
Well, I came up with something.. check it out: http://flickcabin.com/files/2029_sma...igtext_256.png And of course, the 80x80 version of it so you can use it in the homescreen: http://flickcabin.com/files/2030_i3ghv/qtbigtext_80.png aaand the 64x64 version: http://flickcabin.com/files/2031_zfwzm/qtbigtext_64.png and the 10x10 version.. for fun :D http://flickcabin.com/files/2032_h14pi/qtbigtext_10.png What do you think? |
Re: [Announce] qtbigtext- large text viewer
wow, thanks for the icon! its totally awesome!
i think its cooler than the app. just to make sure; i can distribute this with my gpl'd app, right? can you perhaps license it cc-by-sa? {ill add a contributors file to the deb} |
Re: [Announce] qtbigtext- large text viewer
^ haha, nah.. your app idea is cooler. How do I license it cc-by-sa? By adding this sticker? -->http://i.creativecommons.org/l/by-sa/2.0/88x31.png
But sure, use the icon, distribute it, eat it.. it's all yours :) Except the 10x10 version. That's licensed to me :P |
Re: [Announce] qtbigtext- large text viewer
Quote:
Quote:
Copyright 2012 Your Name. Licensed under the CC-BY-SA v3.0. {then everyone else can change it and use it, as long as they say you made it first and let other people change it and use it.} great, thanks again for this! |
Re: [Announce] qtbigtext- large text viewer
Alright, I got it.
EVERYONE LISTEN! I hereby proclaim that this icon of qtbigtext, is designed by me, flopjoke, CEO of AKstudios, and I give Mr. wolke full access to have sex with it as it's licensed under the CC-BY-SA v3.0. © 2012 AKstudios. ^ I hope that's enough? =D |
Re: [Announce] qtbigtext- large text viewer
lololololololol
just the initial 'yes' was enough for me, but its good to know that if i and the magnifying glass become more than friends, the happy couple will have your blessing. |
Re: [Announce] qtbigtext- large text viewer
LOL I get to name the magnified wolke baby!
|
Re: [Announce] qtbigtext- large text viewer
sure thing
|
Re: [Announce] qtbigtext- large text viewer
flopjoke, you shouldn't have given the license to wolke... Simply retain it till he uses it then sue him for patent infringement :p
|
Re: [Announce] qtbigtext- large text viewer
Quote:
|
All times are GMT. The time now is 12:57. |
vBulletin® Version 3.8.8