@LiveForIt
Small comment on my findings.
I'm investigating using Amiga fonts to display UTF-8, the issue I have, is that I need to find a way for glyph that can be 0x00000000 to 0xFFFFFFFF, to fit in side the TextFont struct.
tf_LoChar and lt_HiChar, that dictates fist and last glyph inside a TextFont struct. Is only 8bit 0x00 to 0xFF.
tf_CharLoc table that dictates the start bit and bit width of glyph, Is two words (16bit).
Start bit can be 0x0000 to 0xFFFF, is signed value so 0 to -/+ 32767.
That makes number of glyps limited to (32767-glyph_width) / glyph_width.
This number looks ok, so you can have more then 256 symbols in theory.
If the structure was extended to hold larger 32bit tf_LoGlyph and lt_HiGlyph.
On other operating system the problems that comes from UTF8, is that font often don't support the glyph's.
http://stackoverflow.com/questions/13 ... l-characters-dont-show-upBut that’s a user error, not technical problem.
The real elephant in the room, is that current TextFont system is outdated and need to be upgraded, and open source alternatives like TrueType has existed for years, that don't have that limitation, the sad fact is that OS4 fonts where true type fonts, converted to Amiga fonts. Now they can't be used by TrueType anymore, the problem is for someone like my self-writing software is I need to be careful using TrueType fonts because they have copyrights, and also they not compatible with AmigaOS, so they need to be stored elsewhere.
The real issue is that the world has adapted UTF-8, all parts of the internet and as text file format.
JOE, XML files are UTF8, web pages are UTF8, and more and more text files are UTF8 formatted. So feels silly to having to convert UTF8 text into ASCII text before displaying the text.
By the way is slow process as I have to look a 256 bytes charset table to find the glyphs, for etch of glyphs in the text.
Edited by LiveForIt on 2016/2/7 11:41:15
Edited by LiveForIt on 2016/2/7 11:59:11
Edited by LiveForIt on 2016/2/7 13:02:38