Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 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. Commented May 21, 2020 at 0:35