Search Issue Tracker

Not Reproducible

Votes

14

Found in

5.2.0f2

Issue ID

722288

Regression

No

Bold font .ttf file is not detected properly for certain fonts

UI

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 0Severity not yet defined

How to reproduce:

1. Open attached project
2. Open scene Scene.unity
3. Try switching between Normal and Bold font style on gameobject Main Camera/Canvas/Bold
- Note how the font only gets wider, but not properly bold
4. Import attached Bold version of the font
5. Try switching between Normal and Bold styles again
- Note how it still only gets wider, even though the Bold version of the font is present
- A possible workaround is to use the Bold version of the font directly, rather than through Font Style

Comments (33)

  1. 278668fbe1cea09c019035c184471138?d=mm

    CookieSalad

    Sep 18, 2018 12:09

    Hi everyone!

    We were not able to further reproduce the issue presented in this case with the current projects that are available to us. A few tips for your fonts:

    1. The Normal style font and the Bold style font should have the same Font Family. Sometimes the Bold version of the font has its own font family, which would prevent Unity from recognising it as another style for the font. This can be done using a Font Editor application such as TTFEdit or FontForge. Ensure that both fonts have the same family name and the bold version has the correct style flags (FSEL_BOLD in the fsSelection field).

    2. Unity is not matching the two fonts as fallbacks for each other without explicitly creating a font name list in the import settings. To fix this, add a trailing comma to the Font Names property (all of them should now be identical) to the import settings of both fonts in Unity.

    3. Make sure Unity is up to date. The latest version as of this post is Unity 2018.2.8.

    If you're still experiencing the issue after following these steps, then please use the Unity Bug Reporter tool and send us some new repro projects so that we may look into the issue further. In addition to filling the case out fully, write "case 722288" somewhere in the description so that we can associate it easier.

    Thank you!

  2. B5973477b0d87cb1aa2aaf91d49b6b06?d=mm

    MapMan

    Sep 10, 2018 17:16

    2018.2.0f2 still broken.

  3. 38be89729fade0cddd610dfefc64fcae?d=mm

    xdegtyarev

    Aug 26, 2018 23:56

    not fixed in 2017.4.8f1

  4. 1333547b371b9648c1b4a6587ab71f4b?d=mm

    WillNode

    Dec 05, 2017 18:44

  5. E1775739604170224487870226cb6a40?d=mm

    atadogan

    Oct 25, 2017 20:20

    Not fixed on android

  6. Bf81c7d1c800786d1740c052888d1e63?d=mm

    Hermesis

    Sep 26, 2017 08:46

    2017.1.1 - not fixed!

  7. 04c42e3902c84fe35195c2a446f8ce3b?d=mm

    e173289

    Sep 07, 2017 19:37

    Sorry, not the same problem, but have problem with the rich text bold ( <b> ) tag.

    Same as :
    https://forum.unity3d.com/threads/bold-and-italic-font-variants.353654/

  8. 04c42e3902c84fe35195c2a446f8ce3b?d=mm

    e173289

    Sep 07, 2017 19:31

    Same problem in 5.6.2ft1... :(

  9. F461e7016691b839eaa2d3e360dc9b68?d=mm

    samizzo

    May 24, 2017 05:51

    I'm seeing this in 5.4.3f1 as well. Is there a workaround?

  10. A1709d46f4a7fdf97e060d38c88af715?d=mm

    vetruven2

    Apr 24, 2017 13:16

    5.6 still happening

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.