- if ((ch >= 0x1f004) && (ch <= 0x1fffd)) {
- // System.err.println("emoji: " + String.format("0x%x", ch));
- return makerEmoji.getImage(cell, cellWidth, cellHeight, blinkVisible);
+ if (StringUtils.isEmoji(ch)) {
+ if (makerEmoji.canDisplay(ch)) {
+ // System.err.println("emoji: " + String.format("0x%x", ch));
+ return makerEmoji.getImage(cell, cellWidth, cellHeight,
+ blinkVisible);
+ }