Commit d36a16ea authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Scale run origin by given ppdip run analysis was created with.

parent 2fdee67d
......@@ -4399,8 +4399,8 @@ HRESULT create_glyphrunanalysis(DWRITE_RENDERING_MODE rendering_mode, DWRITE_MEA
analysis->ready = 0;
analysis->bitmap = NULL;
analysis->ppdip = ppdip;
analysis->originX = originX;
analysis->originY = originY;
analysis->originX = originX * ppdip;
analysis->originY = originY * ppdip;
SetRectEmpty(&analysis->bounds);
analysis->run = *run;
IDWriteFontFace_AddRef(analysis->run.fontFace);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment