From 57d8473c4c9ed9b0b3de58b3bdabe9cef5e9f8ca Mon Sep 17 00:00:00 2001 From: Alvin Penner Date: Mon, 23 Jan 2012 19:03:29 -0500 Subject: emf export. change text height property lfHeight from + to - (Bug 919728) Fixed bugs: - https://launchpad.net/bugs/919728 (bzr r10922) --- src/extension/internal/emf-win32-print.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/extension/internal/emf-win32-print.cpp b/src/extension/internal/emf-win32-print.cpp index f4c36dd92..d24761c53 100644 --- a/src/extension/internal/emf-win32-print.cpp +++ b/src/extension/internal/emf-win32-print.cpp @@ -854,7 +854,7 @@ unsigned int PrintEmfWin32::text(Inkscape::Extension::Print * /*mod*/, char cons LOGFONTW *lf = (LOGFONTW*)g_malloc(sizeof(LOGFONTW)); g_assert(lf != NULL); - lf->lfHeight = style->font_size.computed * IN_PER_PX * dwDPI; + lf->lfHeight = -style->font_size.computed * IN_PER_PX * dwDPI; lf->lfWidth = 0; lf->lfEscapement = rot; lf->lfOrientation = rot; -- cgit v1.2.3