Jump to content
Korean Random
Sign in to follow this  
Aslain

How do you use embedded XVMSymbol in latest nightly ?

Recommended Posts

I noticed you recently embedded XVMSymbol font into XVM, how to use it?

When I have this in hitlog, I see empty space instead of class icons:

"formatHistory": "<textformat leading='-3' tabstops='[13,48,87,130,238]'><b><font color='#B5B5B5'><font size='13'>×{{n-player}}: </font></font><font size='13'><tab>{{dmg-player}}<tab>| <font color='{{c:dmg-kind}}'>{{dmg}}</font><tab>| <img src='cfg://Aslain/icons/{{c:dmg-kind}}.png' width='32' height='15' vspace='0'><tab>|  <font color='{{c:vtype}}' size='14' face='xvm'>{{vtype}}</font>   <font color='{{c:vtype}}'><font size='13'>{{vehicle}} </font></font><tab>|  </b><font color='#F8F8F8'><font size='12'>{{name}}</font></font> <font size='11'><font face='Consolas'><font color='#DFDFDF'>{{clan}}</font></font></font> <font size='12'>{{dead}}</font></font></textformat>",

hLEaIFo.jpg

"vtype": {
      // Text for light tanks
      "LT":  "\u003A",
      // Text for medium tanks
      "MT":  "\u003B",
      // Text for heavy tanks
      "HT":  "\u003F",
      // Text for arty
      "SPG": "\u002D",
      // Text for tank destroyers
      "TD":  "\u002E"
    },

"texts": {
    // Text for {{vtype}} macro.
    "vtype": {
      // Text for light tanks
      "LT":  ":",
      // Text for medium tanks
      "MT":  ";",
      // Text for heavy tanks
      "HT":  "?",
      // Text for arty
      "SPG": "-",
      // Text for tank destroyers
      "TD":  "."
    },

When I used <font face='xvm'>ABC</font> I also see empty space without letters.

Using XVM nightly 4110

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

When I used <font face='xvm'>ABC</font> I also see empty space without letters.

This is the right syntax, but I don't sure that this symbols are present in the font. Try to show lower case letters.

Share this post


Link to post

Short link
Share on other sites

What about vtype? I used characters from the code I pasted above, but they give the same effect, no fonts at all. Tried unicode and normal char, no change.

Share this post


Link to post

Short link
Share on other sites

Try to show static text first, then you can see into vtype

Edited by sirmax

Share this post


Link to post

Short link
Share on other sites

I see you embedded different font. Why there is so many versions of the same font people? Why so big mess.

 

Can anyone tell, and also give a souce of this font? Who is making it? 

 

Embedded XVMSymbol:

Qt6DzLp.jpg

 

My XVMSymbol font (same version and date!):

 

Nugntzu.jpg

Edited by Aslain

Share this post


Link to post

Short link
Share on other sites

My XVMSymbol font (same version and date!):

It's not valid XVMSymbol font, it's custom modification, you must to change name of the font, pls!

 

 

Can anyone tell, and also give a souce of this font? Who is making it? 

The author of the real XVMSymbols font is @demon2597, his topic

Edited by Duv21

Share this post


Link to post

Short link
Share on other sites

It's not valid XVMSymbol font, it's custom modification, you must to change name of the font, pls!

 

 

The author of the real XVMSymbols font is @demon2597, his topic

 

Thanks, wonder who was that smart to modify this font, and do not rename it.... he must be idiot...

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

Thanks, wonder who was that smart to modify this font, and do not rename it.... he must be idiot...

yes, that's not good

Share this post


Link to post

Short link
Share on other sites

'offtopic'

 

must to
Так делать нельзя никогда, этих двух слов подряд не бывает в английском. Меня за это не раз били просто  :heh:

27ba1d9fd5f0.png

  • Upvote 1

Share this post


Link to post

Short link
Share on other sites

'офф'

 

 

нельзя

ну так я и не "носитель"... 

а "must + to" на автомате пишу, из-за "have + to" - по аналогии ))  

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...