[poppler] How to find the poppler data
Zhong, Steven
Steven.Zhong at fil.com
Fri May 17 01:30:02 UTC 2019
Hi ,
I have a question about the poppler,
My environment
Ubuntu 18.04
Poppler version 0.62.0
Poppler data version poppler-data-0.4.8
I have permisstion to put the poppler-data on /usr/share.
So I compile the poppler-data use below para
make install datadir=/app/pop
and compile the poppler
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/home/vcap/app/pop/ \
-DTESTDATADIR=$PWD/testfiles \
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
.. &&
Make
Make install.
root at 2f6b43451e28:/home/vcap/app/pop/bin# ./pdftotext -f 1 /home/vcap/app/test.pdf
Syntax Error: Missing language pack for 'Adobe-Japan1' mapping
Syntax Error: Unknown font tag 'G1'
Syntax Error (10424): No font in show
Syntax Error: Missing language pack for 'Adobe-Japan1' mapping
Syntax Error: Unknown font tag 'G1'
Syntax Error (566024): No font in show
Syntax Error (566076): No font in show
Syntax Error (566106): No font in show
Syntax Error: Missing language pack for 'Adobe-Japan1' mapping
Syntax Error: Missing language pack for 'Adobe-Japan1' mapping
Syntax Error: Unknown font tag 'G2'
Syntax Error (576820): No font in show/space
Syntax Error (576973): No font in show/space
Syntax Error (576997): No font in show/space
Syntax Error: Unknown font tag 'G1'
Syntax Error (577064): No font in show
Syntax Error: Missing language pack for 'Adobe-Japan1' mapping
Syntax Error: Missing language pack for 'Adobe-Japan1' mapping
Syntax Error: Unknown font tag 'G1'
Syntax Error (587402): No font in show
Syntax Error: Unknown font tag 'G2'
Syntax Error (587616): No font in show/space
Syntax Error (587768): No font in show/space
Syntax Error (587789): No font in show/space
root at 2f6b43451e28:/home/vcap/app/pop/bin#
My question is how to let the poppler to search the poppler-data on /app/pop/share/poppler.
Many Thanks for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler/attachments/20190517/22bfcb55/attachment.html>
More information about the poppler
mailing list