We made an additional discussion in the team and I would like to follow back with some information about the feedback item.
The issue as it is logged only affects RadRichTextEditor. Please check the LetterSpacing.png my colleague attached when creating the item. As I stated in my reply on 19.07.2017, RadRichTextEditor uses native rendering from the gdi32.dll. The control is not affected by the UseCompatibleTextRendering property and this behavior is by design. On the other hand our other controls are respecting the property and they are using the GDI+ engine for rendering the text.
As you already know, GDI and GDI+ can be easily switched via the UseCompatibleTextRendering property on the controls. Globally you can set it to false only once with the static UseCompatibleTextRenderingDefaultValue property:
In this respect the title of the feedback item will be reverted to only mention RadRichTextEditor. I also understand that you might be experiencing rendering issues with the text in other controls so please open up a support ticket with detailed information how they can be observed.
Regards,
Hristo
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
ADMIN
Dess | Tech Support Engineer, Principal
Posted on:12 Oct 2020 11:18
Hello, Alexander,
I have updated the title and description of this feedback item indicating that it is generally related to the Telerik Presentation Framework and the text rendering.
If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
Alexander
Posted on:09 Oct 2020 07:15
Could you please update the title/description of this ticket? As stated below this effects all controls not just RadRichTextEditor.
We really want to stop using UseCompatibleTextRendering = false but currently this is the only way to have readable text but produces a lot of ther bugs that are unfixable apparently.
Granted i have not worked with GDI/GDI+ but winforms itsself also uses GDI/GDI+ and doesn't have these kerning issues at all, the same is true for other winforms frameworks. You say "thats just how GDI/GDI+ works". Cleary it is possible to do this with GDI/GDI+ without having these issues, or there at least seems to be a working alternative that everyone else is using.
ADMIN
Dess | Tech Support Engineer, Principal
Posted on:12 Dec 2019 13:50
Hello, Fabrice,
Please make sure that you cast your vote for the item. The more votes an item gathers, the higher its priority becomes. You can also follow this item in order to get notified once any status changes occur.
I hope this information helps.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.
Fabrice
Posted on:09 Dec 2019 07:43
Hi, Waiting to see this fixed too!
ADMIN
Dess | Tech Support Engineer, Principal
Posted on:20 Feb 2018 13:33
Hello,
Your feedback is greatly appreciated. However, as my colleague, Hristo, had previously explained we have no control on how native GDI is working internally and how the characters are painted. Changing the whole text rendering mechanism in RadRichTextEditor is a very massive task and it may affect existing customers' applications. It should be planned very precisely and consider all possible options for improving the text before addressing it. Feel free to track its progress and subscribe for status changes.
Patrick
Posted on:04 Jan 2018 08:30
I completely agree with Thomas' comment. This must be fixed.
Alexander
Posted on:28 Nov 2017 13:05
Fair enough but all the other controls still have the same issues.
The rendering just looks completely different than any other native windows program.
The user feedback on this was massively negative so we were forced to switch to UseCompatibleTextRendering = false for now.
But this creates a whole lot of bugs (some of which are 5 years old and still not fixed), and degrades the performance.
The negative feedback is completly understandably because the text is just unreadable in some conditions, very straining to read (blurry) and has very inconistent kerning.
We cannot justify this blurry, ugly text to our users just for some "technical" problems that only our program seem to have.
You advertise your controls with "Unrivaled Performance and User Experience" but this is the complete opposite.
The font rendering needs to be fixed for all controls.
ADMIN
Hristo
Posted on:19 Jul 2017 10:57
Hi Thomas,
GDI and GDI+ can be switched and each has its pros and cons. For our controls we have decided that by default we will use GDI+. We have no control on how these Windows API are working internally and how the characters are painted. Some detailed information and comparisons are available here: https://theartofdev.com/2014/04/21/text-rendering-methods-comparison-or-gdi-vs-gdi-revised/. The Graphics class in GDI+ is significantly faster than the TextRenderer used by GDI.
The described issue in RadRichTextEditor is actually not at all related to the GDI+. RadRichTextEditor is a complex control and we have decided to use native GDI rendering for the text(not GDI or GDI+). For the purpose we are using the gdi32.dll and its TextOut function: https://msdn.microsoft.com/en-us/library/dd145133(v=vs.85).aspx.
Alexander
Posted on:31 May 2017 07:42
Is bug is present in ALL controls when using GDI+ (UseCompatibleTextRendering = true).
This is a general rendering bug in the text rendering of telerik winforms and should be fixed for all controls not only the RadRichTextBox
Andre
Posted on:15 Apr 2016 09:49
The irregular character spacing makes it look like long words are split into smaller words. This affects readability.