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

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.