views:

880

answers:

1

Are there any free, third-party libraries for rendering arbitrarily scaled and rotated text in dot-NET applications? Although native GDI+ allows for text scaling and rotation, its methods for determining the rendered text's dimensions are not sufficiently precise and the differences in kerning as text is added to a rendered string make it unsuitable for use in certain kinds of software (such as, for instance, graphics editing software).

Requirements:

  • Native .NET code.
  • Arbitrary scaling and rotation of text.
  • Precise text metrics.
  • Consistent kerning regardless of string length.
+1  A: 

Windows Presentation Foundation provides sophisticated support for typography.

aku
Unfortunately, WPF is Vista-only.
actually, it is also available on XP SP2 if the .NET Framework 3.0 is installed
rpetrich
WPF is available on all platforms where .NET 3.0 installed
aku
Thanks. That's good to know, and should be useful to other readers. I'm still looking for alternatives, though. I'm using XNA Game Studio 2.0 together with WinForms and don't yet want to move to .NET 3.0.