I recently had the same problem.
You have to extract the average width and multiply this with the desired aspect ratio

LogFont.lfHeight = -(int)height;
LogFont.lfWidth = 0;
font =...