writing single-pixel fonts to jit.lcd?


    Jan 19 2008 | 1:30 am
    I am working on an light-matrix system, and I am looking to write to that using jit.lcd->jit.spill->out. So far so good, only I can't find the proper fonts to write ultra-small stuff to jit.lcd, which is 16x16. I can get "kinda"-small, but would prefer something in the "single-pixel"-wide area (which would be like 3 point, I guess) - are there any preferable fonts to use?
    Also (and this bit is a bit embarrasing for me, I must say) I haven't found an easy way to scroll text using just jit.lcd. I would prefer not having to resort to jit.rota or similar madness (which I usually do, but I digress). Would it be a case of: moveto xy, text, clear, moveto x2y2, etc?
    'oh, and this is for the continuation of this project: http://www.youtube.com/watch?v=90EV0ovMzj0 thanks, Andreas.

    • Jan 19 2008 | 1:41 am
      Try Silkscreen -- it's tiny and free. http://www.kottke.org/plus/type/silkscreen/
      The video looks great!
    • Jan 19 2008 | 1:46 am
      On Jan 18, 2008, at 5:30 PM, Andreas Wetterberg wrote:
      > Also (and this bit is a bit embarrasing for me, I must say) I > haven't found an easy way to scroll text using just jit.lcd. I > would prefer not having to resort to jit.rota or similar madness > (which I usually do, but I digress). > Would it be a case of: moveto xy, text, clear, moveto x2y2, etc?
      I might suggest checking out the c74:/java/help/StockWatch.help example. There's a "StringScroller" java class which you might even be able to just use "out of the box".
      -Joshua
    • Jan 19 2008 | 2:03 am
      Joshua Kit Clayton skrev: > > On Jan 18, 2008, at 5:30 PM, Andreas Wetterberg wrote: > >> Also (and this bit is a bit embarrasing for me, I must say) I haven't >> found an easy way to scroll text using just jit.lcd. I would prefer >> not having to resort to jit.rota or similar madness (which I usually >> do, but I digress). >> Would it be a case of: moveto xy, text, clear, moveto x2y2, etc? > > I might suggest checking out the c74:/java/help/StockWatch.help > example. There's a "StringScroller" java class which you might even be > able to just use "out of the box". Awesome!
      I am struggling to write directly to the lcd, since font and size setup is a bit peculiar to me, I really dig the stockwatch, though.
    • Jan 19 2008 | 2:12 am
      Dan Winckler skrev: > Try Silkscreen -- it's tiny and free. > http://www.kottke.org/plus/type/silkscreen/ > > The video looks great! thanks!
      Can you tell me how to select it in jit.lcd though? I don't know which font ID to use, and it isnt quite clear what the "specific" font name is - the font file is called slkscr.ttf....
      Thanks, Andreas.
    • Jan 19 2008 | 3:02 am
      Don't know offhand, sorry. if for some reason you can't use it, you could roll your own font by drawing a series of dots, which would get you down to 5x5 pixels.
    • Jan 19 2008 | 1:15 pm
    • Jan 19 2008 | 8:34 pm
      karl-otto von oertzen skrev: > does this help a little ? Wow, it helped HEAPS!
      I have a font called "small fonts", that works wonders at low settings - even readable at point-size 6, whereas silkscreen didn't really cut it at that size (anti-aliasing? It looked like it.)
      Anyway, here is (more or less) a fully functional low-res scroller, using "Small Fonts" - again, thank you all for the help:
    • Jan 19 2008 | 10:58 pm
      glad it works, you may check http://www.dafont.com/bitmap.php for small pixel fonts, its true that smal fonts works pretty well. did u try jit.gl.text2d , yu can et some pretty some readable results. but i am sure that s not what you are after as it be no use for your lemurian love :) .....
      Quote: Wetterberg wrote on Sat, 19 January 2008 21:34 ---------------------------------------------------- > karl-otto von oertzen skrev: > > does this help a little ? > Wow, it helped HEAPS! > > I have a font called "small fonts", that works wonders at low settings - > even readable at point-size 6, whereas silkscreen didn't really cut it > at that size (anti-aliasing? It looked like it.) > > Anyway, here is (more or less) a fully functional low-res scroller, > using "Small Fonts" - again, thank you all for the help: >