Version: DOpus 13.22.8 beta
Font version: PragmataPro v0.903 (not the monospace variant)
Font size: 10 point
Adjacent capital letters in particular are not proportional to one another in the file display.
Screenshot comparison:
We just tell Windows to render the font, we don't actually render it ourselves. Whatever comes out is down to the font and (to some degree) the OS.
The two things in the screenshot are not using the same font size, which may explain the difference. (But Notepad also renders using UWP instead of GDI, which can introduce other differences.)