I have a problem in emojis display read from txt/UTF-8 csv.
When styling a text using ‘createFont’, ‘textFont’ before drawing it with ‘text()’, emojis appear like an empty square. (no matter what font I tried to use).
If I use text() without styling it first- emojis looks good. (so the file reading isn’t the problem)
So for first step I gave up about styling, but then I noticed using GTextField object (from g4p library) somewhere else in my code cause the same problem (and additionally change my default font - so I guess the problematic styling methods above are being used in g4p code).
This text field I can’t give up (neither the emojis) so my question is:
How can I make g4p “skip” this styling lines? (where is it used?)
How can I make emojies work with ‘createFont’, ‘textFont’ being used in my code? (is there a font that works with emojis? what is the default configuration of text if I dont use this methods and how can I mannualy achieve it when using them? other way to make both emojies and styling work together?)
If none of the above is possible, what other object can function like GtextField without making this problem?
When I define the text directly as a string in processing the symbols aren’t recognized, and I don’t know how to make it work,
so text to create a test file is attached: (as I can’t upload a txt file here)
אשמח אם תעלו לתוך התיקייה מצגות, מסמכים או כל חומר אפשרי שיעזור להעברת המפגשים של מדריכים אחרים, זה גם מצב של WINWIN כי ככה את יכולים להעזר ברעיונות של אחרים.
אז יאללה תנו בראש
I used the word ‘emojis’ just to decribe the symbols- I dont expect the symbols to look like here in the forum just as in the image I attached. Just not to be a square. If any known solution is available that would be really helpfull.