#include <PdfFontConfigWrapper.h>
Public Member Functions | |
PdfFontConfigWrapper () | |
PdfFontConfigWrapper (const PdfFontConfigWrapper &rhs) | |
void * | GetFontConfig () |
As initializing fontconfig can take a long time, you can create a wrapper by yourself to cache initialization of fontconfig.
This class is reference counted. The last user of the fontconfig library will destroy the fontconfig handle.
The fontconfig library is initialized on first used (lazy loading!)
PoDoFo::PdfFontConfigWrapper::PdfFontConfigWrapper | ( | ) |
Create a new FontConfigWrapper and initialize the fontconfig library.
PoDoFo::PdfFontConfigWrapper::PdfFontConfigWrapper | ( | const PdfFontConfigWrapper & | rhs | ) |
Copy an existing PdfFontConfigWrapper
void * PoDoFo::PdfFontConfigWrapper::GetFontConfig | ( | ) | [inline] |
Get access to the internal fontconfig handle. Accesses to this handle have to be synchronized using a mutex!