We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I am making a project where I need to write some letters, but no font include all of them. This means I need to change font when no glyph is found for a character in a corresponding font. Processing tells, for example, "No glyph found for the [] (\u771A) character" in the prompt when I write an unknown character. But how do I detect this in the program? Can't find any parameter in the processing language that changes if the glyph is missing ...
Answers
After perusing class PFont's source code, found out that getGlyph() might help:
https://github.com/processing/processing/blob/master/core/src/processing/core/PFont.java#L577
BtW, getGlyph() returns an already stored PFont.Glyph reference.
Wonderful, thanks!