I have defined the DPI setting below in CodeTree.dpproj file using the Manifest setting in Delphi.
worked fine in all the monitors when no .RC file is present but I have figured out the issue happens in case I'm having.RC file in our project gives blurry fonts with no color which is leading to distortion of UI.
If I remove/rename .RC file fonts look crisp and behave fine as per the DPI-aware setting given.
If I create RC with the same name as .EXE - Fonts and Color issue as below
Can you help me if I am missing anything to add/override for the DPI awareness setting after adding RC file? I am expecting blank .RC should not create problems.
As the IDE auto-generates a file with project name and .RC extension (i.e. CodeTree.RC), this interferes with your similar named file. Choosing a different name for your RC files solves the problem as you already found by yourself.