summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2003-10-15 09:03:02 +0000
committerKurt Zenker <kz@openoffice.org>2003-10-15 09:03:02 +0000
commita367f815b1e02fcaa0dd2a0a78cec35301401684 (patch)
treef08a1fc0e92530dd742a3a86053d647b63385a54
parente6fb4fbdf68c69aef6d3c27865773d7d2295306c (diff)
INTEGRATION: CWS extleading (1.53.24); FILE MERGED
2003/10/02 09:02:11 fme 1.53.24.3: RESYNC: (1.55-1.57); FILE MERGED 2003/08/08 09:57:16 fme 1.53.24.2: RESYNC: (1.53-1.55); FILE MERGED 2003/07/04 14:20:59 hdu 1.53.24.1: #110641# zero ExternalLeading value for builtin fonts
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index aac809a66cc5..f52fcbc2c31e 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pdfwriter_impl.cxx,v $
*
- * $Revision: 1.57 $
+ * $Revision: 1.58 $
*
- * last change: $Author: kz $ $Date: 2003-08-25 13:54:09 $
+ * last change: $Author: kz $ $Date: 2003-10-15 10:03:02 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -921,7 +921,8 @@ void PDFWriterImpl::getFontMetric( ImplFontSelectData* pSelect, ImplFontMetricDa
pMetric->mnWidth = pSelect->mnHeight;
pMetric->mnAscent = ( pSelect->mnHeight * m_aBuiltinFonts[i].m_nAscent + 500 ) / 1000;
pMetric->mnDescent = ( pSelect->mnHeight * (-m_aBuiltinFonts[i].m_nDescent) + 500 ) / 1000;
- pMetric->mnLeading = 0;
+ pMetric->mnIntLeading = 0;
+ pMetric->mnExtLeading = 0;
pMetric->mnSlant = 0;
pMetric->mnFirstChar = 32;
pMetric->mnLastChar = 255;