summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2015-01-27 13:52:54 +0100
committerMichael Stahl <mstahl@redhat.com>2015-01-27 14:42:13 +0100
commit5cb69b6653097b0772e112f0979fc9ee7da18fa8 (patch)
treee19d3460046799cdf0867e04370ef49410e7efd4
parent5183910a90e97cafc3cfaaad40acdaec0b792f6d (diff)
vcl: PDF export: AFM may contain 16-bit code points, unlikely to work...
Change-Id: If7d67cd92a878bd1cfcc838ec9b7c9303975b255
-rw-r--r--vcl/source/gdi/pdfwriter_impl.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/gdi/pdfwriter_impl.cxx b/vcl/source/gdi/pdfwriter_impl.cxx
index 950bd96f51ec..1c798ea9b0a6 100644
--- a/vcl/source/gdi/pdfwriter_impl.cxx
+++ b/vcl/source/gdi/pdfwriter_impl.cxx
@@ -3125,6 +3125,7 @@ std::map< sal_Int32, sal_Int32 > PDFWriterImpl::emitEmbeddedFont( const Physical
if(it->second == -1)
continue;
sal_Int32 nCode = (sal_Int32)(it->second & 0x000000ff);
+ SAL_WARN_IF(nCode != it->second, "vcl.gdi", "emitEmbeddedFont: FIXME: cannot handle Type 1 font with code points > 256");
//We're not doing this right here. We have taken a unicode-to-font_index map
//and are trying to generate a font_index-to-unicode mapping from it
//Which assumes that there is a 1-to-1 mapping there, but that might not be