When we draw in windows the origin is at the upper left point.
I tranform it to the lower left with matrix M=[sc, 0, 0, -sc, 0, y] where sc is some scaling and y the height of the window.
The result matrix is CTM x M and this is fine when drawing geometric shapes.
The problem is with the text that is displayed mirrored. Windows draws text top to bottom.
With DrawString("Hello", 10 , 10) the upper left of 'H' is at (10, 10). (Doesn't start from glyph origin)
If I know glyph metrics what is the matrix multiplication formula to transorm PDF to windows device for text?
Thank you.