Commit 549661f5 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov
parent 242cff0b
......@@ -16,11 +16,17 @@ public:
std::wstring m_strImagesPath;
std::wstring m_strPresentationThemesPath;
bool m_bUseSystemFonts;
std::wstring m_strFontsDirectory;
public:
CAscEditorPDFPrinter()
{
m_strImagesPath = L"";
m_strPresentationThemesPath = L"";
m_bUseSystemFonts = false;
m_strFontsDirectory = L"";
}
public:
......
......@@ -15,7 +15,9 @@
bool CAscEditorPDFPrinter::Print(std::string strBase64, std::wstring strDstFile)
{
CPdfWriterLib oWriter;
// TODO: fonts initialize
// TODO: fonts system parameter use
CString sFonts(m_strFontsDirectory.c_str());
oWriter.SetFontDir(sFonts);
HRESULT hRes = S_OK;
try
......
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