I did it! Built a simple graphical text editor in 500 lines of ANSI C. Just added the missing mouse picking stuff, will move on find/replace things next.
This is what I'll be using from now on to work on my stuff :D
@neauoire how is the tileset arranged - ASCII? I'm assuming it's a NES .chr?
@whtrbt yes, following ASCII, sorted as chr
@neauoire maybe I will make a tileset. have you put source up?
@whtrbt I have, and I was just about to redraw the Spectrum ZX tileset to chr, do you wanna give it a shot?
@neauoire I was going to make up my own, but I can do the spectrum one if that's what you'll use
@whtrbt That would be very nice of you if you did. You will need Nasu
https://git.sr.ht/~rabbits/nasu/
@neauoire oh I got Nasu :) want me to do the spectrum one?
@neauoire rejigged an existing charset I made last year, which was trying to make most characters fit 6x6 (except extenders and descenders).
might be a bit much though... I'll keep playing around tomorrow.
Left is outputting blurry text on OS X, I'll see if I can figure that out too.
@neauoire I think this set works well as uppercase, but it's too hard to make lowercase work with it.
I will never give up that 4 though.
@neauoire quickly testing out the speccy one, it's nice but there are a few quirky characters in there. I'll finish this off tomorrow too, might do a variant spectrum one as well.
@neauoire
spectrum is here:
https://parkimminent.com/bin/left-type-spectrum.chr
I'll keep iterating on this one and maybe some others.
https://parkimminent.com/bin/left-type-a.chr
why aren't you using the ASCII ordering?
@whtrbt @neauoire In case you are looking for some bitmap fonts, I stumbled across these a while ago and thought I'd share:
@whtrbt I am using ascii ordering.
https://wiki.xxiivv.com/site/ascii.html
@neauoire ah, Nasu is just unwinding it in a different order. very good, carry on :)
@whtrbt ah yeah, you're using an old version, I was trying something "different"
@neauoire OK I'm trying the new version. :) I had to double the zoom on both nasu and left... must be because of retina monitor
@whtrbt nothing happens when you zoom in/out?
@neauoire yeah, I posted before reading the source fully. :) two comments though - what is the last brush doing? it seems to be squaring things up into either lines or blocks? and second, there's no tiling features anymore - I will probably keep using old nasu for tile sets.
@whtrbt It looks great, my only issue is that the dot(.) and perc(%) use 4px square that looks too bold, so I'll make the dot a single pixel and make the 2 circles of the % into a sort of star
@neauoire go for it!
the full stop in the spectrum font is big like that, even though the comma and semicolon aren't. same with the percentage.
@neauoire it's got lots of breathing room, it's one of my favourites as well. stay tuned for my remix. :)
@neauoire try this one. https://parkimminent.com/site/spectrum-pi.html
@whtrbt I'm getting a 404? https://www.parkimminent.com/media/bin/spectrum-pi.chr
@neauoire would help if it rebuilt the page before uploading it hey? try without www
https://parkimminent.com/media/bin/spectrum-pi.chr
@whtrbt it worked :D trying it out now!
@whtrbt Oh wow it looks great :D How do you want to be credited for that?
@neauoire at this stage, no need - it's barely different from the spectrum. :)
I might fill in the rest of the 256 characters so you have a full ascii set though. if you decide to include that 256 version with the left source, maybe a link to my site?
@whtrbt I'd love that if you do actually : >
@whtrbt okay that'll work :)
@whtrbt what program is that in the background of this image?
@flbr Nasu - a lightweight pixel editor that outputs .chr files used by NES and some 100 rabbits software.
https://git.sr.ht/~rabbits/nasu/
https://wiki.xxiivv.com/site/nasu.html
@flbr apparently mine's an old version :D
@whtrbt Oh wow, I didn't even recognize it was nasu! XD
@whtrbt
Wait, you guys have fancy schpancy chr editors?
I've just been using txt2chr (https://git.sr.ht/~earboxer/chr2txt2chr), plus my new favorite text editor:
@neauoire
Are full-color (four color) chr fonts a planned feature, or is that something I'll have to maintain in my own fork?
@zachdecook @whtrbt it is supported already, but I'm about to remove it haha..
@neauoire this looks really great.
@neauoire Curious to know what was wrong with micro ?
@mario_afk
Micro doesn't implement text rendering, but depends on your terminal emulator to do that.
@neauoire
@mario_afk Nothing, it's still a great editor. it's what I used to build this, but I wanted a graphical editor that wasn't terminal based. Personal challenge.
@mgrondin I have the source up but it's very incomplete at this point, gimme a few days to put the find/replace stuff in and I'll share it :)
@mgrondin It's very incomplete, and very much a work in progress, but if you're curious: https://git.sr.ht/~rabbits/left
Side by side with Orca.