Search Unity

Bug Font not rendering on Linux (Steam Deck, etc) but OK on other platforms?

Discussion in 'UGUI & TextMesh Pro' started by aaversa, Oct 4, 2022.

  1. aaversa

    aaversa

    Joined:
    Sep 5, 2016
    Posts:
    41
    I'm having an issue where a particular font of ours simply does not render on Linux machines, in development or release builds. I'm baffled because an older version of the TMP font asset DOES render correctly, but I have no idea why that would be the case.

    The base font is Typodermic - Ligurino-Bk-Regular, simple stuff. We have an older font asset based on that with the same name as the source font (attached). This one seems to work fine on Linux.

    If we swap in the font we've labeled en_us_white, it does not render.

    The working asset has some differences: the Atlas Render Mode is blank, it has different point size + padding, and is 512x512 instead of 2048x2048. The en_us font uses SDFAA. That's it, though.

    I don't think this is an issue with SDFAA because we have a Japanese font based on a different source (03SmartfontUI), and Linux users can load that one just fine. That one also uses SDFAA and has a 2048x2048 atlas size.
     

    Attached Files:

  2. aaversa

    aaversa

    Joined:
    Sep 5, 2016
    Posts:
    41
  3. emergki

    emergki

    Joined:
    Oct 15, 2007
    Posts:
    422
    Same issue here... Have you found a solution?