Fonts - RubbaBoy/EmojIDE GitHub Wiki

Fonts and syntax highlighting are a fairly simple feature of the IDE to understand, use, and implement. The character set the IDE uses is:

 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~

The fonts used in the IDE are Consolas and Fira Code. Each letter is generated in both of those fonts, in white, orange, green, blue, gray, light gray, and in white with the backgrounds 0x3C3F41 and 0x4E5254 for IntelliJ's unselected and selected tab text respectively.

Each font has a prefixing character to its emoji's name, Consolas being "" and Fira Code being "f" excluding quotes. Each character is then given a character ID after the prefix, them being (Excluding quotes):

  • "" White
  • "t" IntelliJ unselected tab
  • "e" IntelliJ selected tab
  • "o" Orange
  • "g" Green
  • "b" Blue
  • "a" Gray
  • "l" Light Gray

Following the prefix and color ID, comes the ASCII value of the character. This allows for any ASCII character to be implemented in any font. To see the actual class that generates the font emojis uploaded, see DefaultEmojiGenerator and its respective Javadocs.

⚠️ **GitHub.com Fallback** ⚠️