Window scaling is carried by the launcher, and both the launcher and console windows scale "correctly", albeit the launcher by default is smaller than what's needed to use the UI elements correctly.
The big problem however is that it carries the scaling over to javaw, overwriting javaw's scaling and the system scaling, causing minecraft itself to then be a blurry mess. The only fix is to hard-disable the scaling applied by the launcher via the windows properties dialogue of the launcher exe.