Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Bold font not being used for bold text
Forum Updated to NodeBB v4.3 + New Features

Bold font not being used for bold text

Scheduled Pinned Locked Moved Unsolved The Lounge
4 Posts 4 Posters 670 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    terrylove
    wrote on last edited by terrylove
    #1

    I've got two fonts, SourceHanSans-Bold.otf and SourceHanSans-Regular.otf. I use the 'regular' variant for all my text. Some of my text uses a bold style, either via the rich text bold tag or via the bold setting on the text. However, Unity isn't using the bold font to render this text; instead it looks like it's trying to bold it itself somehow.
    https://www.madeintext.com/bold-text-generator/
    How does Unity decide what font to use for bold text? I also have OpenSans-Bold.ttf and OpenSans-Regular.ttf and in that case the correct font is selected. I don't know what the difference is (aside from the fact that Open Sans is a ttf file and Source Han Sans is an otf file).

    This bug report seems like the same issue. It looks like it was resolved but other people have reported it as still occurring on more recent versions of Unity (I'm on 5.4.3f1 and can't upgrade right now).

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      This is a forum for Qt Framework, not Unity.

      (Z(:^

      1 Reply Last reply
      1
      • EmmiaE Offline
        EmmiaE Offline
        Emmia
        Banned
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • L Offline
          L Offline
          locinig
          wrote on last edited by locinig
          #4
          This post is deleted!
          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved