This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cheekycharlie101's profile picture

term.setTextScale()?

Started by cheekycharlie101, 04 December 2012 - 08:53 AM
cheekycharlie101 #1
Posted 04 December 2012 - 09:53 AM
this has probally been suggested before but can we get term.setTextScale() added? so we can change text size in the terminal. maybe this can only be available to advanced computers, but i just think it can be cool. and could we possibly get text formatting. like bold underlined, intaillics ete.? so like

print("[b]Hello[/b]")

so that would print in bold? just thought it would be cool.
thanks -Cheeky
Cranium #2
Posted 04 December 2012 - 10:19 AM
Text formatting? Not likely. Not what I would like, and looks kinda weird on these computers; especially with the small character size dan and Cloudy have to work with.

setTextScale()? I could agree to some extent, but how would it be implemented? Currently, setTextScale() would cause problems with the gui, since characters would overrun the edge. Besides, why do you need bigger font on the computers? Increase your computer's resolution on the monitor.
cheekycharlie101 #3
Posted 04 December 2012 - 11:12 AM
Text formatting? Not likely. Not what I would like, and looks kinda weird on these computers; especially with the small character size dan and Cloudy have to work with.

setTextScale()? I could agree to some extent, but how would it be implemented? Currently, setTextScale() would cause problems with the gui, since characters would overrun the edge. Besides, why do you need bigger font on the computers? Increase your computer's resolution on the monitor.
Bigger size, may be useful for headers and titles of programs and such. and italics could be used to sign programs at the bottom or something. just a little more formal like.

Program By Cheeky

or


+——————+

| My Program |

+——————+


you get the idea. just thought it would be cool for looks :P/>.
Cranium #4
Posted 04 December 2012 - 11:20 AM
+——————+
| My Program |
+——————+

you get the idea. just thought it would be cool for looks :P/>.

Why use that when you can do this:
* (
( ` )\ )
)\))( ( (()/( ( ( ( ( ) )
((_)()\ )\ ) /(_)))( ( )\))( )( ( /( (
(_()((_)(()/( (_)) (()\ )\ ((_))\(()\ )(_)) )\ '
| \/ | )(_)) | _ \ ((_) ((_) (()(_)((_)((_)_ _((_))
| |\/| | | | | | | _/| '_|/ _ \/ _` || '_|/ _` || ' \()
|_| |_| \_, | |_| |_| \___/\__, ||_| \__,_||_|_|_|
|__/ |___/

Spacing not so good….. -_-/>
Edited on 04 December 2012 - 10:28 AM
cheekycharlie101 #5
Posted 04 December 2012 - 11:26 AM
+——————+
| My Program |
+——————+

you get the idea. just thought it would be cool for looks :P/>.

Why use that when you can do this:
_____ _____
| |_ _ | _ |___ ___ ___ ___ ___ _____
| | | | | | | __| _| . | . | _| .'| |
|_|_|_|_ | |__| |_| |___|_ |_| |__,|_|_|_|
|___| |___|


Stupid forums hating on my ASCII….
xD, i know what you mean but with large ASCII art you have to put prints around everything. unless there is a way of doing it easily and quickly?
Cranium #6
Posted 04 December 2012 - 11:29 AM
xD, i know what you mean but with large ASCII art you have to put prints around everything. unless there is a way of doing it easily and quickly?
Tables. Make tables. Each line a new index in the table, then use a for loop to print each line.
cheekycharlie101 #7
Posted 04 December 2012 - 11:39 AM
xD, i know what you mean but with large ASCII art you have to put prints around everything. unless there is a way of doing it easily and quickly?
Tables. Make tables. Each line a new index in the table, then use a for loop to print each line.
i know this should be in ask a pro but ive been wondering how do you print text from a table. i tried doing :

local table = {
"Hello",
"World",
}
print(table)
but it dont work :(/>, can u tell me how?
Cranium #8
Posted 04 December 2012 - 11:47 AM
i know this should be in ask a pro but ive been wondering how do you print text from a table. i tried doing :

local table = {
"Hello",
"World",
}
print(table)
but it dont work :(/>, can u tell me how?

Make a post in Ask A Pro, and I'll help you. Not here.