[poppler] Error: Couldn't find a font for 'Helvetica'
Jason Crain
jason at aquaticape.us
Thu May 19 23:07:40 UTC 2016
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