Commit d01b1e7d authored by Oleg Korshul's avatar Oleg Korshul

fix bug 33781

parent 584cc6ab
...@@ -553,6 +553,11 @@ HRESULT CPdfRenderer::NewPage() ...@@ -553,6 +553,11 @@ HRESULT CPdfRenderer::NewPage()
m_oFont.Reset(); m_oFont.Reset();
m_oPath.Clear(); m_oPath.Clear();
// clear font!!!
m_oFont.SetName(L"");
m_oFont.SetSize(-1);
m_oFont.SetStyle(1 << 5);
m_lClipDepth = 0; m_lClipDepth = 0;
m_nPagesCount++;//printf("Page %d\n", m_nPagesCount++); m_nPagesCount++;//printf("Page %d\n", m_nPagesCount++);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment