Search Unity

Does UIElements have support for Font Files?

Discussion in 'UIElements' started by Rocktavious, Feb 9, 2019.

  1. Rocktavious

    Rocktavious

    Joined:
    May 10, 2017
    Posts:
    39
    @uDamian Does UIElements support loading font files? Specifically it would be really awesome if we could use the same webdesign techniques for loading font files and then a tool/library could use something like https://fontawesome.com/ to add icons to their thing.
     
  2. vertxxyz

    vertxxyz

    Joined:
    Oct 29, 2014
    Posts:
    39
    Do you mean:
    -unity-font: resource("consola");
    ?
     
  3. Rocktavious

    Rocktavious

    Joined:
    May 10, 2017
    Posts:
    39
    vertxxyz likes this.
  4. tabulatouch

    tabulatouch

    Joined:
    Mar 12, 2015
    Posts:
    11
    Hello @Rocktavious!
    Can you share some more details about how to use it?
    Where do i put the fontawesome otf file and how do i reference it?

    Thank you!
    Stefano