Hello all, the program crashes when calling CreateFont on a PdfDocument for Courier on Windows XP.
>podofo.dll!PoDoFo::PdfFontMetrics::InitFromFace() Zeile 159 + 0x6 C++ >podofo.dll!PoDoFo::PdfFontMetrics::PdfFontMetrics(FT_LibraryRec_ * * pLibrary=0x0012fbac, const char * pszFilename=0x0012f978) Zeile 83 C++ >podofo.dll!PoDoFo::PdfFontCache::GetFont(const char * pszFontName=0x00411224, bool bEmbedd=true) Zeile 115 + 0x3c C++ >podofo.dll!PoDoFo::PdfDocument::CreateFont(const char * pszFontName=0x00411224, bool bEmbedd=true) Zeile 253 C++ The method GetDataFromLPFont returns false as the call to GetFontData raises an GDI_ERROR. When reading the first 256 widht entries into the cache in the InitFromFace method the program crashes in this for loop when reaching index 31. E.g. if we use the Arial font everything works fine! Any ideas? Furthermore is it possible to calculate the widht of a PdfString in pdf units? Regards Sebastian ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
