richmond62 wrote: ↑Thu May 02, 2024 6:51 pm
And whichever way you cut things I cannot quite see why the Unicode consortium (which presents itself as an academic body) sees it fit to encode symbols of the sort you used in your last posting.
I certainly would not encourage young programming learners to use offensive emojis in their work: especially as using the one you used above in Bulgaria is likely to end up with broken noses it being just about as offensive as one can be.
Sheesh uptight people... having grown up in the South NJ/Philly PA, US-of-mf'n-A area this gesture doesn't bother me much at all, I'd just return it in kind as I pass them at the next light is all, but it is a gesture that
IS commonly in use and realizing that various gestures may have different meanings in different cultures it seems to me it's every bit as fitting of a pictograph to include as some ancient hieroglyphics like Ankh ( ☥ ). I sort of see all of this as a sort of clip art library (the stuff that's in addition to various language sets)
However: at the risk of rubbing you further up the wrong way . . .
"Font glyphs browser palette" could be taken to mean a palette that lets OXT users browse through the whole Unicode set (which should faut de mieux include all the Unicode emojis [whether I like them or not]) and either select them from a textField, or at the very least, learn their Unicode address.
Yes that's exactly what I had in mind, but since Unicode v15.1 spec does have a massive amount of symbols specified, it s probably best to store the list all in a file tat can be read in parts, bite (bytes) sized, line delimited chunks. Which is why I suggested it have handlers that return partial lists, filtered by name or by section category of the spec. The list in the data grid of that stack I posted is line and tab delimited list of unicode char, one column is set as a unicode code point char &tab& another column is the unicode name &tab& an a column is the unicode number for that character/symbol/glyph.whatever as a decimal number (why bother with hex?).
Just to be clear, list does NOT include any symbol or svg artwork at all,
that comes from the font, in this case it's set to use the Apple System Font SF Compact but on Linux based OS you might be using Goggle's Noto family, Ubuntu Font Family, or some other font from this list:
https://en.wikipedia.org/wiki/Open-sour ... _typefaces.
Again each line in the data list only contains:
2 bytes for the unicode code point itself & tab & decimal number & tab & maybe a couple of 10s of bytes for the unicode symbol name. I imagine the list on disk size for v15.1 would be a 500 to 1000 KB.
So say you are lookin for Ankh, the script would only need to read the unicode name item / column of each line from this list directly (from URL tMyFileURL) until it gets a match or gets to the names beginning with 'B' or the end of file marker.