Thank you for your answer, after reading so much thing about my problem. I identifiate the problem that came from fonts.conf. It's not present on windows or I just don't know where I have to put in because it's not my own libpoppler-qt4.dll. It's certainly works in linux for my application. The big problem it's to compilate the library for windows. In any case thank you for your helping.
-----Message d'origine----- De : Jason Crain [mailto:ja...@aquaticape.us] Envoyé : vendredi 20 mai 2016 01:08 À : LOPEZ OLIVIER <olivier.lo...@soreel.com> Cc : poppler@lists.freedesktop.org Objet : Re: [poppler] Error: Couldn't find a font for 'Helvetica' On Thu, May 19, 2016 at 07:12:53AM +0000, LOPEZ OLIVIER wrote: > I'm using poppler in my application for reading pdf. > I've taking a libpoppler-qt4.dll that I found in internet, however when I > using it and read pdf with Helvetica I've this message error : > "Error: Couldn't find a font for 'Helevtica '" > I use qt4 in my application. > I did not succed to compil the source of poppler for having my own > libpoppler-qt4.dll. > I ask you if you have a recent libpoppler-qt4.dll with implementation of > helevetica. Poppler has worked with Helvetica for a very long time. On Windows, it should be mapped to the arial fonts. I don't know why it's failing in your case, but you could compile the source yourself and step through the code to find why it's not working. I would start with SplashOutputDev::doUpdateFont in the file poppler/SplashOutputDev.cc since I think that's where that error message comes from. And no, we don't distribute binaries ourselves, only the source. I don't have much experience compiling things on Windows so I probably won't be able to help with any compilation errors. I understand cmake is involved and lots of fiddling with dependencies, but not much else. _______________________________________________ poppler mailing list poppler@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/poppler