Support text commands

This commit is contained in:
Oleg Korshul
2022-01-18 17:31:11 +03:00
parent 125110e805
commit f3f627572f
2 changed files with 37 additions and 10 deletions

View File

@ -216,6 +216,7 @@ namespace NSHtmlRenderer
BYTE* CHTMLRendererText::GetBuffer()
{
m_pInternal->m_oSmartText.ClosePage();
LONG lPos = m_pInternal->m_oPage.GetPosition();
m_pInternal->m_oPage.Seek(0);
m_pInternal->m_oPage.WriteLONG(lPos);