From 2380744fddfe7d47d07a175fb3a55d0b22af1eb2 Mon Sep 17 00:00:00 2001 From: Michael Vrhel Date: Thu, 12 Dec 2013 09:49:06 -0800 Subject: 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. --- platform/winrt/mupdf_cpp/PrintPage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/winrt/mupdf_cpp/PrintPage.cpp') 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) { -- cgit v1.2.3