我正在使用 Ubuntu 18.04 并填写SS-5 Social Security Administration 表格。但是,有些字母位置错误。
埃文斯 3.28.2-1:
Okular 1.3.3(Ubuntu 版本 4:17.12.3-0ubuntu1):
xpdf 3.04-7:
泥pdf 1.12.0:
Firefox 59.0.2 的内置 PDF 阅读器:
Chromium 65.0.3325.181 的内置 PDF 阅读器:
这是输出pdffonts:
$ pdffonts ss-5.pdf
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
IHPIKC+ArialMT CID TrueType Identity-H yes yes yes 824 0
ArialMT TrueType WinAnsi no no no 826 0
Arial-BoldMT TrueType WinAnsi no no no 828 0
CourierStd Type 1 WinAnsi …Run Code Online (Sandbox Code Playgroud) 我使用的是 Ubuntu 16.04,但它没有最新版本的 poppler。
这阻止我打开受密码保护的重要文档。我需要最新版本来做我的日常工作。请用简单的术语解释,因为我是 Linux 新手。
有人可以告诉我如何手动升级或将其作为更新包含在内吗?
我的系统有poppler-utils v0.24.5. 从官方网站我发现最新版本是0.40.0.
我尝试使用以下命令更新它
sudo apt-get install --only-upgrade poppler-utils
但它不会升级并显示以下消息。
poppler-utils is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 14 not upgraded.
有人可以帮我升级到最新版本吗?
我正在尝试从 Discover(KDE 等离子商店)在 Ubuntu 19.04 上安装 InkScape,但它显示错误:
Dependencies resolution failed
Run Code Online (Sandbox Code Playgroud)
我尝试从 PPA 安装它
sudo add-apt-repository ppa:inkscape.dev/stable
sudo apt install inkscape -y
Run Code Online (Sandbox Code Playgroud)
但它仍然显示未满足的依赖项。未满足此包或依赖项。
The following packages have unmet dependencies:
inkscape : Depends: libpoppler82 (>= 0.71.0) but it is not installable
Recommends: python-uniconvertor but it is not installable
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
如何安装它,我找不到任何解决方案。任何帮助将不胜感激。
我已经看到了How to install poppler 0.73 on ubuntu 18.04 的第一个答案,它基本上包含以下步骤:
使用 checkinstall 编译并安装 Poppler 0.73 到 /usr/local:
sudo apt-get install libopenjp2-7-dev libgdk-pixbuf2.0-dev cmake checkinstall
sudo apt-get build-dep libpoppler-cpp-dev
cd ~/Downloads
wget https://poppler.freedesktop.org/poppler-0.73.0.tar.xz
tar -xf poppler-0.73.0.tar.xz
cd poppler-0.73.0
mkdir build
cd build
cmake ..
sudo checkinstall make install
Run Code Online (Sandbox Code Playgroud)
定义环境变量 R_LD_LIBRARY_PATH 来通知 R 关于 /usr/local/lib 中的 Poppler 库:
echo "export R_LD_LIBRARY_PATH=\$R_LD_LIBRARY_PATH:/usr/local/lib" >> .bashrc
Run Code Online (Sandbox Code Playgroud)
在 R-shell 中编译 pdftools R-package:
install.packages("pdftools")
Run Code Online (Sandbox Code Playgroud)
使用任何 pdf 文件从 R-shell 进行测试
> pdftools::pdf_data(pdf="/usr/share/cups/data/default.pdf")
[1]]
[1] width height x y …Run Code Online (Sandbox Code Playgroud) 无法构建 poppler 0.62.0,出现以下错误
源代码:https : //poppler.freedesktop.org/poppler-0.62.0.tar.xz
-- Package Qt5Core or Qt5Gui or Qt5Xml or Qt5Widgets or Qt5Test not found
-- Checking for module 'gobject-introspection-1.0'
-- No package 'gobject-introspection-1.0' found
-- Checking for modules 'gtk+-3.0>=3.8;gdk-pixbuf-2.0'
--
-- Could NOT find GTK (missing: GTK3_LIBRARIES GTK3_CFLAGS)
-- Checking for module 'libopenjp2'
-- No package 'libopenjp2' found CMake Error at CMakeLists.txt:199 (message): Install libopenjpeg2 before trying to build poppler. You
can also decide to use the internal unmaintained JPX decoder or none
at …Run Code Online (Sandbox Code Playgroud) 我正在运行 18.04 并尝试使用 R 包的 2.1 版pdftools。某些功能需要poppler >= 0.73. (poppler 版本要求记录在?pdftools::pdf_data.)
我从https://poppler.freedesktop.org/获得poppler-0.73.0.tar.xz和。我提取,按照安装说明,一切似乎工作。我可以验证指向. 我不确定还需要寻找什么,或者更新替代方案是否会有所帮助。poppler-data-0.4.9.tar.gz/usr/lib/x86_64-linux-gnu/libpoppler.so/usr/lib/x86_64-linux-gnu/libpoppler.so.73
在 R 中,当我运行pdftools::pdf_data时会发生这种情况:
> pdf_data(fn)
Error in poppler_pdf_data(loadfile(pdf), opw, upw) :
pdf_data() requires poppler >= 0.73. You have 0.62.0
Run Code Online (Sandbox Code Playgroud)
pdftools工作中的其他功能,但pdf_data记录在 required 中poppler >= 0.73。我想知道我还需要做什么才能识别 0.73。
编辑:按照在 ubuntu 16.04上安装 poppler-0.62.0 的有用建议,我运行apt-cache policy poppler-0.73并得到:
poppler-0.73:
Installed: 20190125-0.73
Candidate: 20190125-0.73
Version table:
*** 20190125-0.73 …Run Code Online (Sandbox Code Playgroud)