RevalSoft
Topic Author
Posts: 15
Joined: 24 Jun 2018, 15:23

Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

03 Dec 2023, 21:13

Hey there!

After jump from 3.1.2 to 3.2.2 i got weird situation with font rendering.

Before:
Image
Image

After:
Image
Image

Integration in custom engine via C++, renderer backend - OpenGL, driver by Noesis.
Found that it's not only font related problem but also any vectors from 3.2.2, it's can be detected by border quality on screenshots.

XAML:

Please any tips, what i did miss?
 
User avatar
jsantos
Site Admin
Posts: 3926
Joined: 20 Jan 2012, 17:18
Contact:

Re: Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

04 Dec 2023, 17:50

Are you able to reproduce this in our IntegrationGLUT sample? If so, please create a ticket including the changes needed to reproduce the issue
 
RevalSoft
Topic Author
Posts: 15
Joined: 24 Jun 2018, 15:23

Re: Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

06 Dec 2023, 05:12

Are you able to reproduce this in our IntegrationGLUT sample? If so, please create a ticket including the changes needed to reproduce the issue
Finally gotcha what can be wrong.

Problem happens when Windows system uses scaling factor over 100%.
I not able to reproduce it in IntegrationGLUT becouse GLUT by default create window with SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE), but my game able to use system DPI scaling.
When i add SetProcessDpiAwareness(PROCESS_PER_MONITOR_DPI_AWARE) all works good and i not get more blurred vectors.

----

Update: Thing not in DPI, tested once again and result same:

Before:
Image

After:
Image

Where i can download older update packages for test all and make complete bug report if it's on Noesis side?
 
User avatar
jsantos
Site Admin
Posts: 3926
Joined: 20 Jan 2012, 17:18
Contact:

Re: Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

06 Dec 2023, 10:15

Noesis 3.1.2 can be downloaded from:



You need to set "PROCESS_PER_MONITOR_DPI_AWARE" to avoid blurriness.
 
RevalSoft
Topic Author
Posts: 15
Joined: 24 Jun 2018, 15:23

Re: Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

20 Dec 2023, 07:34

Hey!

Here is modified IntegrationGLUT:


Lines 55-56 (and their dependencies) just addon for changing window size.
Lines 77-79 it's addon for support local providers.
Line 86 loading of example xaml.
Lines 97-120 it's how we scaling virtual screen.


Here is example xaml for simulation:



Here is archive with assets for reproduce (fonts & xaml):
https://mega.nz/file/645wha4I#4W7B6pqCK ... deRHzjS_2k


Here is output (left side 3.1.2, right side is 3.2.2):
Screenshot 2023-12-20 090433.png
 
User avatar
jsantos
Site Admin
Posts: 3926
Joined: 20 Jan 2012, 17:18
Contact:

Re: Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

20 Dec 2023, 13:05

Thanks for all the given information and assets. I can confirm this is a bug we introduced in 3.2.2 (effects applied on text).

Could you please create a ticket for this?
 
RevalSoft
Topic Author
Posts: 15
Joined: 24 Jun 2018, 15:23

Re: Bad font anti aliasing after upgrade from 3.1.2 to 3.2.2

20 Dec 2023, 13:32

Thanks for all the given information and assets. I can confirm this is a bug we introduced in 3.2.2 (effects applied on text).

Could you please create a ticket for this?
All right, https://www.noesisengine.com/bugs/view.php?id=2965.
Thank you.

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest