Thread with 15 posts

jump to expanded post

i think a little effort can go a long way: utf-8 is easy to parse, and there's already gnu unifont, a free pixel font that covers almost all of unicode, which seems very uxn-friendly. combine those and you can “display” almost any unicode text, though with very, very big caveats

Open thread at this post

@neauoire thanks for the support! i really want to see how far i can get without, like, pulling in all of icu or the cldr, which are huge dependencies. i think supporting most european languages, plus chinese and japanese, should be quite easy, you just need a really big font. but i've followed @nasser for long enough that i can't settle for that, i have to see if i can support arabic somehow…

Open thread at this post

@neauoire has anyone experimented with dynamic libraries for uxn? since it's a von neumann architecture, it'd be super easy to just like, reserve a small part of ram for a text rendering library. that might be one way to avoid having to include specific code for all the world's languages in the text editor… perhaps you could just load the “arabic module” or the “mongolian module” or what have you?

Open thread at this post
Devine Lu Linvega , @neauoire@merveilles.town
(open profile)

@hikari I've done a bit of that for the application API in Potato, but I haven't seen it in the wild.

Most of the text rendering code I use, is less than 40 bytes long, so I tend to just copy paste it between projects. I haven't written any big uxntal projects, just little tools that I use daily, but writing large apps with libraries scare me a bit. I'm still learning how to write uxntal myself ^^;

Open remote post (opens in a new window)