summaryrefslogtreecommitdiff
path: root/vcl/coretext/salgdi2.cxx
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-06-14 19:06:34 +0200
committerKhaled Hosny <khaledhosny@eglug.org>2013-06-16 15:47:55 +0000
commit59d09b026f3672455d15531d28024492ba5a927f (patch)
tree5580d2a74d9f9f7ad5b78eb55d0faffcbb30def6 /vcl/coretext/salgdi2.cxx
parent67aa2ec2133bb5ba681c9a9339f362a5829f903d (diff)
Fix PDF export with fallback fonts in Core Text
We need to pass the real font used to layout the glyphs in case it differs from the requested font, otherwise we end with garbage in PDF files. Change-Id: I9caa8e60429e45ee864f5347fd9392f5e440864e Reviewed-on: https://gerrit.libreoffice.org/4301 Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> Tested-by: Khaled Hosny <khaledhosny@eglug.org>
Diffstat (limited to 'vcl/coretext/salgdi2.cxx')
-rw-r--r--vcl/coretext/salgdi2.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/coretext/salgdi2.cxx b/vcl/coretext/salgdi2.cxx
index 2f7da5bab0e0..8e98f847d98c 100644
--- a/vcl/coretext/salgdi2.cxx
+++ b/vcl/coretext/salgdi2.cxx
@@ -422,7 +422,6 @@ void AquaSalGraphics::GetDevFontList( ImplDevFontList* pFontList )
// through it as should be all event handlers
SalData* pSalData = GetSalData();
- SystemFontList* GetCoretextFontList(void); // forward declaration
if( !pSalData->mpFontList )
pSalData->mpFontList = GetCoretextFontList();