fontconfig.cxx (c82f2877) fontconfig.cxx (aa150a94)
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

--- 260 unchanged lines hidden (view full) ---

269 return pSym;
270}
271
272FontCfgWrapper::FontCfgWrapper()
273 : m_pLib( NULL ),
274 m_pOutlineSet( NULL ),
275 m_nFcVersion( 0 )
276{
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

--- 260 unchanged lines hidden (view full) ---

269 return pSym;
270}
271
272FontCfgWrapper::FontCfgWrapper()
273 : m_pLib( NULL ),
274 m_pOutlineSet( NULL ),
275 m_nFcVersion( 0 )
276{
277 OUString aLib( RTL_CONSTASCII_USTRINGPARAM( "libfontconfig.so.1" ) );
278 m_pLib = osl_loadModule( aLib.pData, SAL_LOADMODULE_LAZY );
277 m_pLib = osl_loadAsciiModule( "libfontconfig.so.1", SAL_LOADMODULE_LAZY );
279 if( !m_pLib )
278 if( !m_pLib )
280 {
281 aLib = OUString( RTL_CONSTASCII_USTRINGPARAM( "libfontconfig.so" ) );
282 m_pLib = osl_loadModule( aLib.pData, SAL_LOADMODULE_LAZY );
283 }
279 m_pLib = osl_loadAsciiModule( "libfontconfig.so", SAL_LOADMODULE_LAZY );
284
285 if( ! m_pLib )
286 {
287#if OSL_DEBUG_LEVEL > 1
288 fprintf( stderr, "no libfontconfig\n" );
289#endif
290 return;
291 }

--- 1011 unchanged lines hidden ---
280
281 if( ! m_pLib )
282 {
283#if OSL_DEBUG_LEVEL > 1
284 fprintf( stderr, "no libfontconfig\n" );
285#endif
286 return;
287 }

--- 1011 unchanged lines hidden ---