You can't use the font by itself, it's always part of STATIC, WINDOW or similar entities. So I'd suggest for example creating static with the background in question and the font assigned and by calling SizeToFit adjust the background only for the font width.