diff --git a/.github/actions/spelling/expect/expect.txt b/.github/actions/spelling/expect/expect.txt index 1a896e0ced..e78cb97139 100644 --- a/.github/actions/spelling/expect/expect.txt +++ b/.github/actions/spelling/expect/expect.txt @@ -215,6 +215,7 @@ codepages codepath coinit colorizing +COLORONCOLOR COLORREFs colorschemes colorspec diff --git a/src/renderer/gdi/state.cpp b/src/renderer/gdi/state.cpp index 7563a68b7d..d8f98ef50f 100644 --- a/src/renderer/gdi/state.cpp +++ b/src/renderer/gdi/state.cpp @@ -128,6 +128,9 @@ GdiEngine::~GdiEngine() // We need the advanced graphics mode in order to set a transform. SetGraphicsMode(hdcNewMemoryContext, GM_ADVANCED); + // We set the bitmap stretching mode to improve the Sixel image quality. + SetStretchBltMode(hdcNewMemoryContext, COLORONCOLOR); + // If we had an existing memory context stored, release it before proceeding. if (nullptr != _hdcMemoryContext) {