outdev3.cxx (248a599f) | outdev3.cxx (e26449d3) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 6029 unchanged lines hidden (view full) --- 6038 for( int i = 0; i < nLen; ++i ) 6039 pTempDXAry[i] = ImplLogicWidthToDevicePixel( rLogicalPos.X() + pDXArray[i] ) - nPixelXOfs; 6040 6041 pDXArray = pTempDXAry; 6042 } 6043 6044 ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStr, nMinIndex, nLen, nPixelWidth, pDXArray ); 6045 | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 6029 unchanged lines hidden (view full) --- 6038 for( int i = 0; i < nLen; ++i ) 6039 pTempDXAry[i] = ImplLogicWidthToDevicePixel( rLogicalPos.X() + pDXArray[i] ) - nPixelXOfs; 6040 6041 pDXArray = pTempDXAry; 6042 } 6043 6044 ImplLayoutArgs aLayoutArgs = ImplPrepareLayoutArgs( aStr, nMinIndex, nLen, nPixelWidth, pDXArray ); 6045 |
6046#ifdef MACOSX 6047 // CoreText layouts are immutable and already contain the text color 6048 // so we need to provide the color already for the layout request 6049 // even if this layout will never be drawn 6050 if( mbInitTextColor ) 6051 const_cast<OutputDevice&>(*this).ImplInitTextColor(); 6052#endif 6053 |
|
6046 // get matching layout object for base font 6047 SalLayout* pSalLayout = NULL; 6048 if( mpPDFWriter ) 6049 pSalLayout = mpPDFWriter->GetTextLayout( aLayoutArgs, &mpFontEntry->maFontSelData ); 6050 6051 if( !pSalLayout ) 6052 pSalLayout = mpGraphics->GetTextLayout( aLayoutArgs, 0 ); 6053 --- 2013 unchanged lines hidden --- | 6054 // get matching layout object for base font 6055 SalLayout* pSalLayout = NULL; 6056 if( mpPDFWriter ) 6057 pSalLayout = mpPDFWriter->GetTextLayout( aLayoutArgs, &mpFontEntry->maFontSelData ); 6058 6059 if( !pSalLayout ) 6060 pSalLayout = mpGraphics->GetTextLayout( aLayoutArgs, 0 ); 6061 --- 2013 unchanged lines hidden --- |