Thanks for the review. I considered adding some tests, however pretty soon figured out that Wine doesn't have a metrics compatible scaleable font with Windows, our Tahoma has pretty different metrics, and that makes the tests meaningless. So, instead I used a test application attached to the mentioned in the description bug report.
Using height_to_LP instead of INTERNAL_YDSTOWS sounds reasonable.