D2d offscreen rendering finish up.
This commit is contained in:
parent
8c814ce89f
commit
c63138c455
32 changed files with 288 additions and 64 deletions
|
@ -2,6 +2,7 @@ set(PUBLISHING_UNIT_TEST_FILES
|
|||
publishing/TestPdfWriter.cpp
|
||||
publishing/TestDocumentConverter.cpp
|
||||
publishing/TestSvgConverter.cpp
|
||||
publishing/TestLatexConverter.cpp
|
||||
PARENT_SCOPE
|
||||
)
|
||||
|
||||
|
|
22
test/publishing/TestLatexConverter.cpp
Normal file
22
test/publishing/TestLatexConverter.cpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include "TestFramework.h"
|
||||
#include "TestUtils.h"
|
||||
|
||||
#include "StringUtils.h"
|
||||
|
||||
#include "File.h"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
TEST_CASE(TestLatexConverter, "publishing")
|
||||
{
|
||||
std::wstring out = L"\u03A8";
|
||||
std::wcout << out << std::endl;
|
||||
|
||||
|
||||
std::string out_c = StringUtils::convert(out);
|
||||
|
||||
File file(TestUtils::getTestOutputDir(__FILE__) / "utf8_render.dat");
|
||||
file.writeText(out_c);
|
||||
|
||||
//std::cout << out_c << std::endl;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue