Community
Participate
Working Groups
Currently there is no way to check if a character is defined for a given font. There should be an API similar to the AWT Font.canDisplay(char c) or Font.canDisplay(int codePoint) methods.
I know this is a dup but can't find it.
Created attachment 64867 [details] Some code to check if a glyph exists for a given char Here is some (windows) code which could be added to the Font class to check if a char has a glyph. It seems to work but there are probably better ways of doing it since it continually allocates windows objects which could probably be cached.
I've found the duplicate after a lot of searching. It is 32120 - SWT Font or FontData should provide a method to query available glyph.
*** This bug has been marked as a duplicate of bug 32120 ***