Decreased quality when coding outside the Processing IDE

Hello,

Related:

In the Processing settings there is something to Disable HiDPI Scaling:

Also look into:

This is not a direct answer to your question but a starting point to explore this.

:)