[poppler] Error: Couldn't find a font for 'Helvetica'

LOPEZ OLIVIER OLIVIER.LOPEZ at soreel.com
Fri May 20 07:14:05 UTC 2016


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:jason at aquaticape.us] 
Envoyé : vendredi 20 mai 2016 01:08
À : LOPEZ OLIVIER <OLIVIER.LOPEZ at soreel.com>
Cc : poppler at 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.


More information about the poppler mailing list