#Markdown
1 messages · Page 1 of 1 (latest)
for screens?
not really...
very limited font
Yeah.. the fonts are really limited.. do we even have capital letters?
It almost looks like the font rendering was built from complete scratch 😇
would be interesting (yet terrifying from a dev perspective) to have the capacity for multiple fonts and have more diversity; however, the pixel count would get large.
I kind of really like the low-level pixel stuff, I think it's part of the appeal, so in a way, I think that the fonts being as limited as they are is an ok tradeoff.
You could always roll your own font renderer 😅
Convert to hexadecimal (or whatever you prefer, for easier storage) and draw the individual pixels (rectangles) in the appropriate order
There's also the screen_copy solution by making an atlas on another screen and copying the letters lol
The font can be manipulated though, such as re-drawing the text slightly offset on the x-plane can make your font look "bold" for example.
We could do this ourselves inside of xenon code with a preg_match function. But it would be far less load if this was something C++ handled itself instead of adding overhead through xenon code.
We don't really like the idea of taking time to implement a feature that we know in advance will be barely usable because the result will be poor, it's like the times when people asked to have a screen_copy with 360° rotation support. Can we do it? Yes. Is it good? Not really.
There are still two solutions, as you mentioned: Xenoncode or waiting for the SDK to try it yourself
Any chance of a preg_match function?
Is find() not enough for you? For what purpose?
I already know that preg_match is much more powerful, but I am looking for its utility in the context of use with Archean/Xenoncode