mirror of https://github.com/FreeRDP/FreeRDP
Fixed glyph cache issues.
This commit is contained in:
parent
0d56de57c4
commit
f16ffaefa7
|
@ -181,16 +181,6 @@ static BOOL update_process_glyph_fragments(rdpContext* context,
|
|||
flAccel))
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/* Contrary to glyphs, the offset is added after the fragment. */
|
||||
if ((ulCharInc == 0) && (!(flAccel & SO_CHAR_INC_EQUAL_BM_BASE)))
|
||||
{
|
||||
if (flAccel & SO_VERTICAL)
|
||||
y += data[index++];
|
||||
|
||||
if (flAccel & SO_HORIZONTAL)
|
||||
x += data[index++];
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
|
|
|
@ -314,6 +314,7 @@ static BOOL gdi_Glyph_EndDraw(rdpContext* context, UINT32 x, UINT32 y,
|
|||
return FALSE;
|
||||
|
||||
gdi_DeleteObject((HGDIOBJECT)gdi->drawing->hdc->brush);
|
||||
gdi->drawing->hdc->brush = NULL;
|
||||
gdi_SetNullClipRgn(gdi->drawing->hdc);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
@ -484,7 +484,7 @@ static BOOL test_gdi_BitBlt(UINT32 SrcFormat, UINT32 DstFormat)
|
|||
{GDI_DSan, bmp_SRC, NULL},
|
||||
{GDI_DSxn, bmp_SRC, NULL},
|
||||
{GDI_DPa, bmp_SRC, NULL},
|
||||
{GDI_D, bmp_SRC, NULL},
|
||||
{GDI_DSTCOPY, bmp_SRC, NULL},
|
||||
{GDI_DPno, bmp_SRC, NULL},
|
||||
{GDI_SDno, bmp_SRC, NULL},
|
||||
{GDI_PDno, bmp_SRC, NULL},
|
||||
|
|
Loading…
Reference in New Issue