Skip to main content
3 events
when toggle format what by license comment
May 21, 2020 at 0:35 comment added Janek Bevendorff Thanks for reverse engineering this. I do think, however, that the assumption about the font size being the negated first byte minus two is wrong. From what I can see, it's a device-dependent pixel value and you'd have to calculate the point size as ceil(~first_byte * 72 / 96.0). It's probably safe to assume that 72 won't change, but 96 has to be replaced with whatever is set in HKCU\Control Panel\Desktop\WindowMetrics\AppliedDPI if you have a HighDPI display.
Apr 25, 2016 at 16:39 history edited Ben N CC BY-SA 3.0
added 14 characters in body
Apr 24, 2016 at 23:49 history answered Ben N CC BY-SA 3.0