Jump to content
  • Advertisement

neuer_spieler

Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

100 Neutral

About neuer_spieler

  • Rank
    Newbie
  1. neuer_spieler

    Cannot reliably measure width of fonts

    Quote:Original post by CGameProgrammer That works very well. The problem is it returns incorrect values for certain fonts, even without italics. For example 18-point regular Microsoft Sans Serif returns {1, 15, 1} but the actual rendered width of the O character is 17 pixels, not 15. That 'two pixels too wide' issue sounds like subpixel-rendering.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!