Hey, Tony K., I forgot to write you back - I was able to modify the character extractor= to give me the output I needed for encoding into eprom. Nikolai was really nice when I emailed him what I wanted to do, as well as the fact that I u= sed visual C, he sent me a version of the source code modified to work in vis= ual C, I was able to modify it to generate the more raw output I needed for burner, and I came up with a way to generate inverted fonts :) To Tim: A great way to check to make sure you encoded right (do it with smaller fonts tho - larger fonts would just take too long to deal with) is to go here: http://www.geocities.com/dinceraydin/lcd/index.html - go to the graphic LCD simulator (that's how I tested to make sure I had the right b= it order and such). And this is another link to thank Tony K. about - he ga= ve it to me a few weeks back and it has been wonderful. And Tony K. is right, there is a verticle version - just add -v on the command line and it will do it verticly, but as I mentioned you may need = to invert the mapping - do like a 12 x 16 or a 16x20 font to experiment with the multipage fonts to get used to it. Also so you know in advance - the ks0108 controller will sit there incrementing the Y position, but you need to either re-order the bytes in your font, or you need to realize that they are ordered wrong for outputt= ing to make output in such a way to not have to switch X pages all the time. ie: a 12x16 font would be: (when I say row - I mean a X page, when I say col, I mean an 8 bit value passed on the databus) row1col1 row2col1 row1col2 row2col2 (that's part of the reason I suggested testing smaller fonts on the LCD simulator that requires more then one X page). Other then that - it is a killer program, and really easy to modify - it only took me about 10 minutes to modify the output for eprom and ordering= I needed (row1col1 row1col2 row1col3, etc.) -Tony ----- Original Message ----- From: "Tony K=FCbek" To: Sent: Thursday, May 15, 2003 2:40 AM Subject: Re: [EE]: PIC routines for KS0108 based graphic LCDs Hi, Timothy Box wrote: >I too have been working with the KS0108. At the moment am finishing routines >to print fonts up to 16 pixels high by up to 128 wide (character depende= nt >to give proportional fonts) that can start at any pixel point. And am in the >process of generating the font's, You mentioned "Nicolais excellent font >generator" is it available? It would save me loads of work. > >Many Thanks > >Tim Yes, ofcource it's on the piclist site, and there are a few other of the= se excellent tools available to: http://www.piclist.com/techref/piclist/codegen/index.htm And in particular: http://www.piclist.com/techref/datafile/charset/extractor/charset_extract= or. htm Amongst others I've made an 18x32 font (only 0-9) for the KS108 based display and it looks very good, it's based on Arial Narrow and I made the bitmap in paint (use low color depth, preferably only black/white, else you'll get aliasing artifacts). I enclose the bit map as it's only 570 bytes large. This in an bat file generated the assembly table: (Se note below !) png2charset -w 20 -h 32 -b 8 -r 0x -m a0b0c0d0e0f0g0h0i0j0k0l0m0n0o0p0q0r0s0t0-a1b1c1d1e1f1g1h1i1j1k1l1m1n1o1p1= q1r 1s1t1-a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2q2r2s2t2-a3b3c3d3e3f3g3h3i3j3k3l3m3= n3o 3p3q3r3s3t3-a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4-a5b5c5d5e5f5g5h5i5j5= k5l 5m5n5o5p5q5r5s5t5-a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6-a7b7c7d7e7f7g7= h7i 7j7k7l7m7n7o7p7q7r7s7t7 font_32x20.png font_32x20.asm I belive Nicolias program has been updated to ease the generation of this particular mapping, (vertical<->horizontal ?)so I think it should be easier now. Originally i= s was a bit daunting as the font is most effective when you can use the autoincrement on each page and fan out each 8 pixel heigh 'scanline' for the font sequencially. Read the documentation. /Tony -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body