path: root/vcl/coretext/salgdi2.cxx
diff options
authorKhaled Hosny <>2013-06-14 19:06:34 +0200
committerKhaled Hosny <>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: Reviewed-by: Khaled Hosny <> Tested-by: Khaled Hosny <>
Diffstat (limited to 'vcl/coretext/salgdi2.cxx')
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();