summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2012-01-24 00:03:29 +0000
committerapenner <penner@vaxxine.com>2012-01-24 00:03:29 +0000
commit57d8473c4c9ed9b0b3de58b3bdabe9cef5e9f8ca (patch)
tree672dad17536626f211782084a2ce377b20d11507 /src
parentPatch from John Smith for 623660 (diff)
downloadinkscape-57d8473c4c9ed9b0b3de58b3bdabe9cef5e9f8ca.tar.gz
inkscape-57d8473c4c9ed9b0b3de58b3bdabe9cef5e9f8ca.zip
emf export. change text height property lfHeight from + to - (Bug 919728)
Fixed bugs: - https://launchpad.net/bugs/919728 (bzr r10922)
Diffstat (limited to 'src')
-rw-r--r--src/extension/internal/emf-win32-print.cpp2
1 files changed, 1 insertions, 1 deletions
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;