FreeType: Kerning API and font adjustments

This commit is contained in:
rtw1x1
2026-02-04 11:59:36 +00:00
parent 4280220819
commit ba514d2e9a
7 changed files with 134 additions and 55 deletions

View File

@@ -146,11 +146,11 @@ void CBlockTexture::InvalidateRect(const RECT & c_rsrcRect)
DWORD * pdwDst = (DWORD *)lockedRect.pBits;
DWORD dwDstWidth = lockedRect.Pitch>>2;
DWORD dwSrcWidth = m_pDIB->GetWidth();
for (int i = 0; i < iclipHeight; ++i)
for (int y = 0; y < iclipHeight; ++y)
{
for (int i = 0; i < iclipWidth; ++i)
for (int x = 0; x < iclipWidth; ++x)
{
pdwDst[i] = pdwSrc[i];
pdwDst[x] = pdwSrc[x];
}
pdwDst += dwDstWidth;
pdwSrc += dwSrcWidth;