Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Feature Request The SDF file should only need one to contain all the font weights

Discussion in 'UGUI & TextMesh Pro' started by LegendAdmin, May 23, 2022.

?

What do you think of this suggestion?

  1. I think it's great, the official should consider improving it as soon as possible

    100.0%
  2. I think it's average, can have but not in a hurry

    0 vote(s)
    0.0%
  3. I don't think so, it's fine the way it is now

    0 vote(s)
    0.0%
  1. LegendAdmin

    LegendAdmin

    Joined:
    Jan 22, 2018
    Posts:
    1
    Now, when I have a font with multiple font weights, I need to create a separate SDF file for each font file, but then each SDF file treats itself as a Regular font weight by default.
    My suggestion is to create only one SDF file, use the font file instead of the SDF file in the font weight, i.e. use the same SDF file for multiple font files with different thickness, and select the font weight directly in the Inspector panel of the TMP component, then support adding or removing the font weight to avoid redundant and missing font weights to use.