Jump to content




textutils.setFont()?


  • This topic is locked This topic is locked
28 replies to this topic

#1 cheekycharlie101

  • Members
  • 231 posts

Posted 22 December 2012 - 12:10 PM

could we get a couple more fonts added to CC? just think you could use it to make thing stand out. then you could use something likes textutils.setFont()
print("aewdfhalh")
and it would print it in a different font?
just think it could be nice to make different parts of programs stand out a little more and give them a little bit more style?
could this be possible?

#2 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 22 December 2012 - 01:08 PM

I don't think fonts are as simple as that, but I don't know for sure. Besides, what's wrong with the font we have? I like it. The only addition I would suggest is more character support.

#3 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 22 December 2012 - 04:29 PM

I'd support font styling (italics, bold, underline), but an entirely different font usually wouldn't fit CC in most circumstances.

#4 Noodle

  • Members
  • 989 posts
  • LocationSometime.

Posted 22 December 2012 - 04:30 PM

Well.. At one point they were thinking of adding languages.
That would involve different fonts. I don't know whatever happened to that idea.

#5 ChunLing

  • Members
  • 2,027 posts

Posted 22 December 2012 - 04:36 PM

It's one of those things that takes some time.

#6 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 22 December 2012 - 04:59 PM

pixel editing would allow custom font rendering
just giving people fonts wouldnt be challenging enough

and yea, we JUST added color support
thats enough for now .-.

accent marks would be nice though
it would give support for many languages

#7 cheekycharlie101

  • Members
  • 231 posts

Posted 23 December 2012 - 01:13 AM

View PostKingdaro, on 22 December 2012 - 04:29 PM, said:

I'd support font styling (italics, bold, underline), but an entirely different font usually wouldn't fit CC in most circumstances.

i made that suggestion a while ago and cloudy just replied "No." then locked the topic. didnt even tell me why he denied it but oh well

#8 Leo Verto

  • Members
  • 620 posts
  • LocationOver there

Posted 23 December 2012 - 09:16 AM

View Postcheekycharlie101, on 23 December 2012 - 01:13 AM, said:

View PostKingdaro, on 22 December 2012 - 04:29 PM, said:

I'd support font styling (italics, bold, underline), but an entirely different font usually wouldn't fit CC in most circumstances.
i made that suggestion a while ago and cloudy just replied "No." then locked the topic. didnt even tell me why he denied it but oh well
Try to make a 7 pixel hight italic/bold font then, Cloudy explained that before.

#9 cheekycharlie101

  • Members
  • 231 posts

Posted 23 December 2012 - 10:31 AM

View PostLeo Verto, on 23 December 2012 - 09:16 AM, said:

View Postcheekycharlie101, on 23 December 2012 - 01:13 AM, said:

View PostKingdaro, on 22 December 2012 - 04:29 PM, said:

I'd support font styling (italics, bold, underline), but an entirely different font usually wouldn't fit CC in most circumstances.
i made that suggestion a while ago and cloudy just replied "No." then locked the topic. didnt even tell me why he denied it but oh well
Try to make a 7 pixel hight italic/bold font then, Cloudy explained that before.

i have not heard of such an explanation. how ever, couldnt you just make it the same height just 1 pixel wider? wouldn't that look bold. or make room for letters that are more than 7 pixels high. so the max height could be 9 or something? i honestly think that this should be added to CC

#10 cheekycharlie101

  • Members
  • 231 posts

Posted 23 December 2012 - 10:34 AM

View PostPixelToast, on 22 December 2012 - 04:59 PM, said:

pixel editing would allow custom font rendering
just giving people fonts wouldnt be challenging enough

and yea, we JUST added color support
thats enough for now .-.

accent marks would be nice though
it would give support for many languages
The problem with that is would lua reconise a character with an accent? lua is its own unique language, the same as Enlgish, French, german. so what you siad does not really make sense. in theory it does not need accents as lua is its own language. its like saying, we should add a new letter to the English alphabet

#11 Doyle3694

  • Members
  • 815 posts

Posted 23 December 2012 - 01:25 PM

what if.... what if åäö were added! (Just pokin' ya cloudy, know more characters is planned and know you're working on it))

#12 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 23 December 2012 - 06:17 PM

View Postcheekycharlie101, on 23 December 2012 - 10:34 AM, said:

View PostPixelToast, on 22 December 2012 - 04:59 PM, said:

pixel editing would allow custom font rendering
just giving people fonts wouldnt be challenging enough

and yea, we JUST added color support
thats enough for now .-.

accent marks would be nice though
it would give support for many languages
The problem with that is would lua reconise a character with an accent? lua is its own unique language, the same as Enlgish, French, german. so what you siad does not really make sense. in theory it does not need accents as lua is its own language. its like saying, we should add a new letter to the English alphabet
In Lua a string is just a sequence of bytes. It doesn't matter if those bytes are 0, 1, 97, 200, they all work. However, LuaJ seems to have bugs when those bytes are over 127.

#13 Sebra

  • Members
  • 726 posts

Posted 23 December 2012 - 06:51 PM

View PostDoyle3694, on 23 December 2012 - 01:25 PM, said:

what if.... what if åäö were added! (Just pokin' ya cloudy, know more characters is planned and know you're working on it))
I get it on screen each time I forget to switch to english.

#14 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 24 December 2012 - 11:10 AM

View Postimmibis, on 23 December 2012 - 06:17 PM, said:

In Lua a string is just a sequence of bytes. It doesn't matter if those bytes are 0, 1, 97, 200, they all work. However, LuaJ seems to have bugs when those bytes are over 127.
So in theory, as soon as ComputerCraft is no longer dependent on LuaJ, we would be able to add such things?

#15 cheekycharlie101

  • Members
  • 231 posts

Posted 24 December 2012 - 11:05 PM

View PostCranium, on 24 December 2012 - 11:10 AM, said:

View Postimmibis, on 23 December 2012 - 06:17 PM, said:

In Lua a string is just a sequence of bytes. It doesn't matter if those bytes are 0, 1, 97, 200, they all work. However, LuaJ seems to have bugs when those bytes are over 127.
So in theory, as soon as ComputerCraft is no longer dependent on LuaJ, we would be able to add such things?
whats luaJ ?

#16 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 25 December 2012 - 04:49 AM

View Postcheekycharlie101, on 24 December 2012 - 11:05 PM, said:

whats luaJ ?
LuaJ is what Cloudy and Dan use to interpret Lua commands within java. It's a bit clunky and annoying to deal with from what I hear, and their plan is to move away from their dependency on it.

#17 cheekycharlie101

  • Members
  • 231 posts

Posted 25 December 2012 - 11:50 AM

View PostCranium, on 25 December 2012 - 04:49 AM, said:

View Postcheekycharlie101, on 24 December 2012 - 11:05 PM, said:

whats luaJ ?
LuaJ is what Cloudy and Dan use to interpret Lua commands within java. It's a bit clunky and annoying to deal with from what I hear, and their plan is to move away from their dependency on it.
but in order to do that wouldnt they have to write their own version of lua and maybe there own interpreter? im not entirly sure how that would be possible?

#18 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 25 December 2012 - 11:51 AM

No.

#19 cheekycharlie101

  • Members
  • 231 posts

Posted 25 December 2012 - 11:57 AM

View PostCloudy, on 25 December 2012 - 11:51 AM, said:

No.
There we go, always happens, do we even get an explanation? from my point of view it seems that you just cant be bothed to do it. im sure there is an explanation but we would like to hear it..

#20 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 25 December 2012 - 12:00 PM

I'm saying no to your question. We don't have to write our own interpreter - there are others.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users