Fixes "STDU Viewer 1.6.375 crashing"
A regression of 0.4.12-dev-933-g
7143e411c4
Proposed changes of author Baruch Rutman aka "peterooch" peterooch@gmail.com:
- Use the total extent (width) and font metrics (height) as values
to put in the lpSize variable instead of calling ScriptString_pSize()
in the LpkGetTextExtentExPoint() function.
- Use GetTextExtentExPointWPri in more cases as another effort to get the data.
Many thanks for that prompt fix!
Master got fixed similar in 0.4.13-dev-445-g
22064d7787