I want to use DirectWrite to stretch a font vertically or horizontally by x percent.
I'm using IDWriteTextFormat::CreateTextFormat and IDWriteFactory::CreateTextLayout and DrawTextLayout.
The DWRITE_FONT_STRETCH enumeration passed into CreateTextFormat is too coarse and doesn't give me enough control. For example, instead of "semi-condensed" I want exactly 71% vertically condensed.
So far I can't figure out how to do this without direct2d scaling transformations or using GDI. I'd rather avoid using GDI's LOGFONT because it will make my application much more complicated.