Java Unicode Chars

Unrelated I show the Unicode Chars for Audioplayer, Play, Stop etc.



/**
 * Unicode Media control symbols Test for AudioPlayer
 Keywords: Soundplayer, Sound player, Audio Player, MP3
 https://en.wikipedia.org/wiki/Media_control_symbols
 
 * based on Unicode Katakana Test (v1.0.1) by GoToLoop (2021/Dec/26)
 * https://Discourse.Processing.org/t/java-unicode-chars/34284/4
 * https://discourse.processing.org/t/java-unicode-chars/34284/3
 * http://Studio.ProcessingTogether.com/sp/pad/export/ro.9hlrt8LyDd9uA
 */

static final int FONT_SIZE = 44;
static final String FONT_JAVA = "Serif";

// Unicode values for Media control symbols - cf. https://en.wikipedia.org/wiki/Media_control_symbols
static final int[] listOfMediaControlSymbols = {
  0x23F5, 0x23F8, // Play and Pause
  0x23EF, // toggles between the present state of playing or pause, to the other.
  0x23F4, // Arrow left (Play left)
  0x23F9, // Stop
  0x23EA, 0x23E9, // Fast back and Fast run
  0x23EE, 0x23ED, // Previous and Next
  0x23FA, 0x23CF, // Record and Eject
  0x1F500, 0x1F501, 0x1F502, // Shuffle and repeat / not working
  0x2139, // info sign
  0x1F503, 0x1F504, // not working
  0x5125A // Recapitulate / not working
};

String txt = "";

//---------------------------------------------------------------------

void setup() {
  size(1500, 250);
  fill(#FFFF00);

  textAlign(CENTER, CENTER);
  textFont(createFont(FONT_JAVA, FONT_SIZE, true));

  for (int intSymbol : listOfMediaControlSymbols) {
    txt +=  "   " +  (char) intSymbol;
  }//for

  println(txt); // doesn't work
}//func

void draw() {
  background(#400000);
  text(txt, width /2, height / 2);
}//func
//