We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I need to access every glyph that has the character code points from \u000 to \u10FFFF (all of them that is, I don't actually have to reach the private area use point, but nevermind). I've manage to write the first FFFF (65536) characters but as I reach \u10000 it's not as smooth any more. I am not really into programming but I've used my computer and found this:
Processing treats (an example) char(1AF19) as char(AF19), it skips the beginning of values bigger then FFFF.
GoToLoop says: "Java's char type is 16-bit. Anything past it gonna need 2 of it in order to get 1 character! Look for surrogate UTF16 codes! Warning: Advanced stuff!" >>> Is this the only way?
I've tried to found something on surrogates, I get the concept and how they mathematically work: can't really figure how to write a syntax in processing though.
GoToLoop also says: "2^16 = 1<<16 = 1<<020 = 1<<0x10 = '\uFFFF' + 1 = Character.MAX_VALUE + 1. Full Unicode UTF-16!" >>>;)
Can I rewrite PFont to help myself? I've found more documentation on UTF-16 in java, it's Character class and I really don't want to go there;).
Or should I learn for example python to do this easier for my self?
What I am doing is a matrix with the 113 021 current unicode characters that is in use, super cute. Thanks in advance! H