I have noticed some irregularities with character spacing when using the Windows Forms TextEditor and the Infragistics UltraTextEditor.
(see attached screenshot)
Does anyone know if this is being looked at as a bug, or if there is any way of stopping it?
Many Thanks,
Kate
This is most likely a result of GDI vs. GDIPlus. You will notice the same discrepency between a TextBox (which uses GDI) and a Label (which uses GDI+) in DotNet.
The UltraTextEditor has a TextRenderingMode property you can use. There is also a static property that will affect all InfragisticsWinForms controls:
Infragistics.Win.DrawUtility.UseGDIPlusTextRendering
There is also a method in DotNet on the Application object:
Application.SetCompatibleTextRenderingDefault(false);