Font size does not seem to be correct on windows

I use DemoRunner and notepad on Windows to write the same text in the same font, style, and size, but the font size displayed on DemoRunner seems to be different from that shown on the notepad.
And I am sure my notepad is using the default zoom ratio.
Is this a problem with JUCE? Or what operations are I missing?

Fonts in DemoRunner are in pixels, Notepad’s fonts are in points therefore are bigger. Size does not equal height.