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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Animation Clip with Legacy enabled does not play when Time.timeScale is set to 0 despite Update mode set to "Unscaled time"
- Rename is enabled on subfolder empty space - "Can't rename to empty name" warning
- SamplerState Property Missing Anisotropic Filtering
- Visual glitches when using Handles API
- The RGBA color values are inconsistent when comparing two identical colors set in the Inspector
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!
MapMan
Sep 10, 2018 17:16
2018.2.0f2 still broken.
xdegtyarev
Aug 26, 2018 23:56
not fixed in 2017.4.8f1
WillNode
Dec 05, 2017 18:44
For those who might wonder the temporary fix: https://answers.unity.com/questions/1284166/trying-to-make-fonts-fallbacks-to-real-bolditalic.html
atadogan
Oct 25, 2017 20:20
Not fixed on android
Hermesis
Sep 26, 2017 08:46
2017.1.1 - not fixed!
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/
e173289
Sep 07, 2017 19:31
Same problem in 5.6.2ft1... :(
samizzo
May 24, 2017 05:51
I'm seeing this in 5.4.3f1 as well. Is there a workaround?
vetruven2
Apr 24, 2017 13:16
5.6 still happening