public float GetWidth(string s) { if (spriteFont == null) return 0; return spriteFont.GetWidth(s) * worldUnitsPerTexel * characterSpacing; }