Jump to content
Korean Random
Sign in to follow this  
apaseall

Unicode Support : Players Panel.xc

Recommended Posts

Hi,

I see that unicode is supported in minimaplables.xc, example;

"labels": {
      "nickShrink": 5,       // Maximum nickname size for {{short-nick}} macro.
      "vehicleclassmacro": {       // {{vehicle-class}} macro substitutions.
        "light": "\u2022",         // LT / ЛT ♦.
        "medium": "\u2022",         // MT / СТ.
        "heavy": "\u2022",         // HT / ТТ.
        "td": "\u2022",         // TD / ПТ ▼.
        "spg": "\u25AA",         // Artillery / Арта. ■
        "superh": "\u2022"         // HeavyTank10 by gui_settings.xml.
        // Special symbols website / Сайт со спец символами:
        // http://www.fileformat.info/info/unicode/char/25a0/index.htm
        // Great symbolic font by Andrey_Hard for {{vehicle-class}}:
        // http://goo.gl/d2KIj
      },

 

I am trying to use unicode in playerspanel.xc, example;

"enemySpottedMarker":
    { "enabled": true, "Xoffset": -15, "Yoffset": -4,
      "format":
      { "neverSeen": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25EF</font>",         // Never seen this enemy.
        "lost": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u229A</font>",         // This enemy was seen atleast once.
        "revealed": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25C9</font>",         // Enemy currently revealed at minimap.
        "dead": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25CF</font>",         // Dead enemy.
        "artillery":
        { "neverSeen": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u2610</font>",
          "lost": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25A5</font>",
          "revealed": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25A3</font>",
          "dead": "<font face='$FieldFont' size='24' color='#DEDEDE'>\u25FC</font>"
        }
      }
    },

 

But all I see is a white square.

If I try html, example;

"neverSeen": "<font face='$FieldFont' size='24' color='#DEDEDE'>◯</font>"

I see the characters ◯, not the symbol they should produce.

 

Is there unicode support ? Am I doing something wrong ? Does this need to be made a suggestion for future builds of xvm ?

I am using xvm-5.0.0-test4

 

Share this post


Link to post

Short link
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...