Profile Picture

Font Anti-Aliasing?

Posted By Khanh Nguyen 12 Years Ago
Author
Message
Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
There is antialiasing (actually subpixel antialiasing) on the font - you probably generate a smaller image and stretch it afterwards which is why it looks somehow distorted...

Best Regards,
Nevron Support Team



Khanh Nguyen
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 6, Visits: 1
not sure what you mean apply scaling.

i just make the image 1280x960




do you see the aliasing?


thanks.


Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Khan,

For text rendering this is the only setting - in the image you attached the texts are rendered using cleartype. Do you apply scaling to this image?



Best Regards,
Nevron Support Team



Khanh Nguyen
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 6, Visits: 1
I'm using 12.10.1.12

I have not set any rendering settings. Are there any others to set besides TextRenderingHInt?

Adding this:

nChartControl1.Settings.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit
Dim charttitle As NLabel = New NLabel()
nChartControl1.Panels.Add(charttitle)
charttitle.Text = "Chart Title"


using Arial Font, size 62pt
Produces the attached image.
the image dimension is 1280x960




Attachments
ChartAntiAlias.png (85 views, 49.00 KB)
Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Khan,

The ClearTypeGridFit mode will yield the best results for LCD displays:

nChartControl1.Settings.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;

Have you modified the text rendering settings. Also what is the version of the control you currently use?



Best Regards,
Nevron Support Team



Khanh Nguyen
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 6, Visits: 1
Is there a setting to have anti-aliasing on the fonts we use?

For the chart title,
we are seeing artifacts.

please see attached.




Similar Topics


Reading This Topic