Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Adding support for variable fonts

Discussion in 'UGUI & TextMesh Pro' started by Arphic, Aug 25, 2020.

  1. Arphic

    Arphic

    Joined:
    Aug 11, 2020
    Posts:
    2
    Hi,

    Variable fonts are an extension to the opentype font format introduced in 2016, the new format allows to contain multiple font weights, widths and styles in a single font file.

    Major operating systems and browsers all have support the variable fonts, like Windows 10 v1709+, MacOS 10.13+, Linux with FreeType 2.8, iOS 11, MIUI 11.

    There are more and more variable fonts published by font vendors or font designers. You can find 56 varibale fonts in Google Fonts now.

    So how about supporting them in Unity? It could be very helpful to create dynamic font assets.

    Related resources:
    https://www.axis-praxis.org/specimens/__DEFAULT__
    https://twitter.com/variablefonts
    https://v-fonts.com/support/
    https://fonts.google.com/?vfonly=true

    Best Regards,
    Andrew
     
    Filip8429 and andreiagmu like this.
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    6,588
    Variable font support is something that I will be exploring in the future as they represent a nice saving on the file management side and build size given your only need a single font file for all font weights.
     
    Filip8429 and andreiagmu like this.
  3. Arphic

    Arphic

    Joined:
    Aug 11, 2020
    Posts:
    2
    Thank you for the quick reply, Stephan.
    Looking forward to seeing variable font support in Unity.
     
    Last edited: Aug 27, 2020
  4. WookieWookie

    WookieWookie

    Joined:
    Mar 10, 2014
    Posts:
    34
    Any update on this?
     
  5. neon8100

    neon8100

    Joined:
    Mar 25, 2015
    Posts:
    4
    Same, any update? We just tried to implement a variable font and discovered Unity has zero support for it. Seems like a bit of an oversight considering more and more fonts are moving into variable fonts.
     
  6. Dalton-Lima

    Dalton-Lima

    Joined:
    Dec 21, 2016
    Posts:
    18
    Just bumping here to check if we get any progress on that. @Stephan_B
     
  7. StudioTerra

    StudioTerra

    Joined:
    Oct 1, 2013
    Posts:
    7
    Bumping this as well to see if there’s any progress on this. Would be amazing if support would be added to Unity!