summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-07-09 07:13:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2013-07-09 09:29:21 +0100
commit2142eb79bd3b0b9545642305a700653cb83c347c (patch)
tree3f65510819f142d947fc33071c42d2680a444f29 /vcl
parentda4ec594da45210a1f97d31ecb3e7f9c127954e5 (diff)
Resolves: #i121127# use PDF base14's symbol font only if explicitly requested
(cherry picked from commit df03a043e531182080d26449899fabe0b7078b81) Change-Id: Ic50da57748c86de7a87de905c97d9162afde8ed6
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/base14.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/vcl/source/gdi/base14.cxx b/vcl/source/gdi/base14.cxx
index 7f9165258944..0092b308ace9 100644
--- a/vcl/source/gdi/base14.cxx
+++ b/vcl/source/gdi/base14.cxx
@@ -583,7 +583,9 @@ const PDFWriterImpl::BuiltinFont PDFWriterImpl::m_aBuiltinFonts[ 14 ] = {
}
},
-{ "Symbol", // family name
+// The font name "Symbol" is too generic and causes plenty of trouble.
+// To ensure WYSIWIG the PDF-Base14 variant gets a not-confusable name
+{ "PDF_Base14_Symbol", // family name
"Normal", // style
"Symbol", // PSName
1010, -293, // ascend, descend