diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-07-05 07:39:18 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-07-05 07:39:18 +0000 |
commit | 050b4e861174f60e7aab6531d45e40a238cc98d9 (patch) | |
tree | bc1f4295ab319a21d916ff993b4cb47e43c046ef /vcl/source/gdi/font.cxx | |
parent | 7dbce5f7d8dc1c91b366f606c693c9ff3ee57ace (diff) |
INTEGRATION: CWS aquavcl01 (1.15.8); FILE MERGED
2007/04/12 06:30:55 pjanik 1.15.8.1: Fix the problem with missing parts included in psprint.
This is TEMPORARY fix. Do not integrate it!
Diffstat (limited to 'vcl/source/gdi/font.cxx')
-rw-r--r-- | vcl/source/gdi/font.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/vcl/source/gdi/font.cxx b/vcl/source/gdi/font.cxx index ce16566d158e..8d51a618b5d6 100644 --- a/vcl/source/gdi/font.cxx +++ b/vcl/source/gdi/font.cxx @@ -4,9 +4,9 @@ * * $RCSfile: font.cxx,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: hr $ $Date: 2007-06-27 20:12:15 $ + * last change: $Author: rt $ $Date: 2007-07-05 08:39:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -866,6 +866,9 @@ namespace bool identifyTrueTypeFont( const void* i_pBuffer, sal_uInt32 i_nSize, Font& o_rResult ) { bool bResult = false; +// FIXME: This is HACK. We do not build psprint's part on aqua... +// How to solve this? +#ifndef QUARTZ TrueTypeFont* pTTF = NULL; if( OpenTTFontBuffer( const_cast<void*>(i_pBuffer), i_nSize, 0, &pTTF ) == SF_OK ) { @@ -939,6 +942,7 @@ namespace // success bResult = true; } +#endif return bResult; } |