#1244 Built-in Character Map

None
pending
nobody
None
5
7 days ago
2013-02-18
AntumDeluge
No

How about a something like a built-in character map that contains non-standard but popular characters such as "♩", "♥", "♪", "♫", "😃", "😊", etc., so players can copy and paste them into their conversations?

Discussion

  • AntumDeluge
    AntumDeluge
    2013-02-18

    Actually, it would be even better if players could just click or doulble-click it to add characters to text input field.

     
  • Kimmo Rundelin
    Kimmo Rundelin
    2013-09-06

    The text entry, chat log, and speech bubbles use text. Adding support for images would complicate matters a lot. In principle it would be possible to include a font with the client, like we do with the font used for travel log etc.

     
  • Kimmo Rundelin
    Kimmo Rundelin
    2013-09-06

    I did some testing and the speech bubbles can display all the characters properly. Both the buttons and the speech bubbles claim to be using the same font, so I have no idea why speech bubbles is the only location where it works correctly.

     
  • Kimmo Rundelin
    Kimmo Rundelin
    2013-09-07

    Here's a patch for anyone wanting to test how it works. Java 6 has serious issues with displaying the characters at least on Linux, so it would be interesting to know how it behaves on other systems.

     
    Attachments
  • AntumDeluge
    AntumDeluge
    2013-09-16

    I added some additional characters to your patch that I think would be nice to have.

    Edit: Updated patch 2014-12-14

     
    Last edit: AntumDeluge 2014-12-15
    Attachments
  • AntumDeluge
    AntumDeluge
    2014-12-15

    I committed the above patch to CVS. The emotes character map is only displayed if the VM argument "-Dcharmap.emotes" is used.

    From a command line I believe it would be:
    java -jar -Dcharmap.emotes stendhal-starter.jar

     
    Last edit: AntumDeluge 2014-12-15


Anonymous


Cancel   Add attachments