Thread with 6 posts
jump to expanded posti wanted to experiment with Unicode in #uxn, so i wrote a little program that reads, decodes and displays each GNU Unifont glyph in the Basic Multilingual Plane, one at a time… at 60fps :3
the result is pretty mesmerising!
https://github.com/hikari-no-yume/unifont-appreciator/blob/trunk/hexdream.tal
@hikari Very very excited to see you experiment with this! I think I can learn a trick or two from your experiments that will help me localize noodle and nasu. <3
@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…
@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?
@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 ^^;
@neauoire ahh… that must be related to how it manages to support several instances of the same app at the same time, i was really surprised when i noticed that worked