diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-12-12 09:49:06 -0800 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-12-14 10:55:49 +0000 |
commit | 2380744fddfe7d47d07a175fb3a55d0b22af1eb2 (patch) | |
tree | 51a0cf207282cec5fe0b201b2d5171025f4b6f75 /platform/winrt/mupdf_cpp/PrintPage.cpp | |
parent | 18913a6c295fc3de9f8e1da1faf79cd60a878152 (diff) | |
download | mupdf-2380744fddfe7d47d07a175fb3a55d0b22af1eb2.tar.xz |
Add in error trapping. Fix warnings. Remove Win8 deprecated calls. Fix issues with surface thumb rendering.
Also, make updates for changes made to font names and 3rd party file structures.
Diffstat (limited to 'platform/winrt/mupdf_cpp/PrintPage.cpp')
-rw-r--r-- | platform/winrt/mupdf_cpp/PrintPage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/winrt/mupdf_cpp/PrintPage.cpp b/platform/winrt/mupdf_cpp/PrintPage.cpp index 5e14f191..83d31791 100644 --- a/platform/winrt/mupdf_cpp/PrintPage.cpp +++ b/platform/winrt/mupdf_cpp/PrintPage.cpp @@ -62,7 +62,7 @@ PrintPages::MakeDocument(IInspectable* doc_options, IPrintDocumentPackageTarget* m_totalpages = m_renderer->GetPrintPageCount(); for (uint32 page_num = 1; page_num <= m_totalpages; ++page_num) - m_renderer->PrintPage(page_num, imageableRect, pageSize, page_desc.DpiX, nullptr); + m_renderer->PrintPage(page_num, imageableRect, pageSize, (float) page_desc.DpiX, nullptr); } catch (Platform::Exception^ e) { |