dwrite: Scale run origin by given ppdip run analysis was created with.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2fdee67dd2
commit
d36a16ea10
|
@ -4399,8 +4399,8 @@ HRESULT create_glyphrunanalysis(DWRITE_RENDERING_MODE rendering_mode, DWRITE_MEA
|
||||||
analysis->ready = 0;
|
analysis->ready = 0;
|
||||||
analysis->bitmap = NULL;
|
analysis->bitmap = NULL;
|
||||||
analysis->ppdip = ppdip;
|
analysis->ppdip = ppdip;
|
||||||
analysis->originX = originX;
|
analysis->originX = originX * ppdip;
|
||||||
analysis->originY = originY;
|
analysis->originY = originY * ppdip;
|
||||||
SetRectEmpty(&analysis->bounds);
|
SetRectEmpty(&analysis->bounds);
|
||||||
analysis->run = *run;
|
analysis->run = *run;
|
||||||
IDWriteFontFace_AddRef(analysis->run.fontFace);
|
IDWriteFontFace_AddRef(analysis->run.fontFace);
|
||||||
|
|
Loading…
Reference in New Issue