- 追加された行はこの色です。
- 削除された行はこの色です。
*[[Poppler:http://poppler.freedesktop.org/]] [#c1f030c4]
*[[Poppler:https://poppler.freedesktop.org/]] --- PDF ビューア・操作ツール [#c1f030c4]
#ref(http://poppler.freedesktop.org/logo.png,right,around,nolink,poppler)
Poppler は,PDF ドキュメントのレンダリングに利用されるライブラリで,ベースとなった [[Xpdf]] 3.0 に比べてレンダリングが向上されています。
ビューアとして Poppler を使用して問題が発生する場合は [[MuPDF]] を使用することを検討してください。
以下のプログラムが PDF ビューアとして Poppler を使用しています。
&color(White,#5F2F2F){ ''◆目次◆'' };&br;
-LaTeX editor: [[TeXstudio]], [[TeXworks]]
-PDF viewer: [[Evince]], [[Okular]], [[zathura]] (zathura-pdf-poppler), [[qpdfview]] (pdf-plugin), [[pdfpc:https://pdfpc.github.io/]], [[Dual-Screen PDF Viewer [dspdfviewer]:http://dspdfviewer.danny-edel.de/]]
また,Xpdf と同様に PDF ユーティリティとしても有用です。
// インストールの項より下は,もう少し見やすくならないでしょうか…
----
#contents
----
*Poppler とは [#fd295383]
Poppler は PDF ファイルを表示するためのライブラリです.~
Poppler は
|COLOR(#468):~統合環境・エディタ|COLOR(#468):BGCOLOR(#DDD):[[TeXstudio]], [[Texmaker]], [[TeXworks]], [[Kile]]|
|COLOR(#468):~PDF ビューア|COLOR(#468):BGCOLOR(#DDD):[[Evince]], [[Okular]], [[zathura]] (zathura-pdf-poppler), [[qpdfview]], [[PdfViewer]]|
**公式サイト [#fd295383]
などで使用されています.~
-[[Poppler:https://poppler.freedesktop.org/]]
-[[The poppler Archives:https://lists.freedesktop.org/archives/poppler/]]
-[[Poppler:http://poppler.freedesktop.org/]]
-[[The poppler Archives:http://lists.freedesktop.org/archives/poppler/]]
**License [#i424d155]
**お知らせ [#qdd1dda1]
[[GPLv3:http://cgit.freedesktop.org/poppler/poppler/tree/COPYING3]], [[GPLv2:http://cgit.freedesktop.org/poppler/poppler/tree/COPYING]]
-Poppler 21.12.0 以降はビルドする際に C++17 をサポートした処理系が必要です。--> [[Increase C++ standard to 17:https://cgit.freedesktop.org/poppler/poppler/commit/?id=3f8b9e92aade630b90943fd3936bdaa089e0603d]]
-Windows 版の TeX Live 2017 以降は xpdf utilities の代わりに poppler utilities が
使われるようになりました --> [[TeX Live Revision 43299:http://www.tug.org/svn/texlive?view=revision&revision=43299]] bin/win32: Replace xpdf utilities by poppler utilities
**リリース情報 [#ha3b28ab]
**インストール [#tafa7455]
-http://cgit.freedesktop.org/poppler/poppler/refs/tags を参照.~
***Windows [#v190b38b]
Poppler 0.23.3 以降は Qt 5 に対応しています.~
Poppler 0.19.2 で font configuration で win32 を選択した場合,日本語のフォントを埋め込んでいない PDF ファイルは MS-Mincho で表示されるようになりました.~
ただし font configuration が win32 の場合 GothicBBB-Medium (ゴシック体) でも Ryumin-Light (明朝体) と同様 MS-Mincho で表示されます.~
GothicBBB-Medium (ゴシック体) をきちんと表示したい場合は font configuration を fontconfig でビルドして fontconfig を適切に設定することをおすすめします.~
TeX Live 2017 以降をインストールしている場合は poppler utilities が使用できます.
以下のコマンドが利用できます:
>
pdfdetach, pdffonts, pdfimages, pdfinfo, pdfseparate, pdftocairo, pdftohtml, pdftoppm, pdftops, pdftotext, pdfunite
<
**ChangeLog [#u62118c7]
-https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-poppler
-https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-poppler-data
-http://repo.msys2.org/mingw/x86_64/
-[[poppler/poppler - The poppler pdf rendering library:http://cgit.freedesktop.org/poppler/poppler]]
--[[log:http://cgit.freedesktop.org/poppler/poppler/log/]]
MSYS2 の pacman でインストールすることもできます。
*インストール [#e0d6f40b]
pacman -S mingw-w64-x86_64-poppler mingw-w64-x86_64-poppler-data
**Windows [#o45a1c30]
を実行します.
***MinGW [#x2d1044d]
[[Poppler Packaged for Windows:https://github.com/oschwartz10612/poppler-windows]] から,Poppler のユーティリティのバイナリを入手することもできます。
TeX Live を使用している場合は http://curl.haxx.se/download.html#Win32 から curl の Windows バイナリをダウンロードして環境変数 PATH に curl.exe が存在するフォルダーを追加してください.~
W32TeX を使用している場合は curl が W32TeX に含まれているのでダウンロードする必要はありません.~
sed, grep, sort, uniq は MinGW だけではなく W32TeX にも含まれています.~
***macOS [#l3620b9b]
-[[MinGW]] をフルインストールします.
Homebrew あるいは MacPorts を利用したインストールが可能です。
-http://qt-project.org/downloads から Qt 5 の mingw バイナリをダウンロードしてインストールします.インストールした Qt の Qt 関連バイナリが存在する bin フォルダー (qmake.exe や moc.exe のあるフォルダー) に PATH を通します.
//--[[Qt 5 の mingwバイナリ:http://sourceforge.net/projects/mingwbuilds/files/external-binary-packages/Qt-Builds/]]
Homebrew の場合は poppler をインストールします。
//-[[msysgit - Git for Windows:https://code.google.com/p/msysgit/]] から PortableGit-1.7.4-preview20110204.7z をダウンロードして展開し,bin フォルダー (git.exe のあるフォルダー) に PATH を通します.
$ brew install poppler
-[[Subversion Windows Installer:http://alagazam.net/]] から Windows バイナリをダウンロードして展開し,bin フォルダー (svn.exe のあるフォルダー) に PATH を通します.
MacPorts の場合は poppler と poppler-data という名前の Port をインストールします。
-[[CMake - Cross Platform Make:http://www.cmake.org/cmake/resources/software.html]] から Binary distributions の Windows ZIP File をダウンロードして展開し,bin フォルダー (cmake.exe のあるフォルダー) に PATH を通します.
$ sudo port install poppler poppler-data
-[[GTK+ Download: Windows (32-bit):http://www.gtk.org/download/win32.php]] から
poppler をインストールすると下記の便利なコマンドが使えます。
--GLib の Run-time
--gettext-runtime の Run-time
--pkg-config の Tool
$ port contents poppler | grep /bin
/opt/local/bin/pdfdetach
/opt/local/bin/pdffonts
/opt/local/bin/pdfimages
/opt/local/bin/pdfinfo
/opt/local/bin/pdfseparate
/opt/local/bin/pdftocairo
/opt/local/bin/pdftohtml
/opt/local/bin/pdftoppm
/opt/local/bin/pdftops
/opt/local/bin/pdftotext
/opt/local/bin/pdfunite
をダウンロードして,展開後 bin フォルダーにある
なお,[[Xpdf]] 関連の Port(具体的には xpdf-tools が該当)がインストールされていると衝突してインストールできなくなります。
Poppler をインストールしたい場合は,xpdf-tools をアンインストールしてください。
--gspawn-win32-helper.exe
--gspawn-win32-helper-console.exe
--libgio-2.0-0.dll
--libglib-2.0-0.dll
--libgmodule-2.0-0.dll
--libgobject-2.0-0.dll
--libgthread-2.0-0.dll
--intl.dll
--pkg-config.exe
-https://formulae.brew.sh/formula/poppler
--https://github.com/Homebrew/homebrew-core/blob/master/Formula/poppler.rb
-https://www.macports.org/ports.php?by=name&substr=poppler
--https://github.com/macports/macports-ports/blob/master/graphics/poppler/Portfile
--https://github.com/macports/macports-ports/blob/master/graphics/poppler-data/Portfile
を C:\MinGW\bin にコピーします.
***Arch Linux [#kbfeb6e5]
-[[Python]] をインストールします.~
-https://www.archlinux.org/packages/?q=poppler
-[スタート]-[すべてのプログラム]-[MinGW]-[MinGW Shell] を起動します.
sudo pacman -S poppler poppler-data
//[[mingw-and-ndk:https://code.google.com/p/mingw-and-ndk/]] のページから [[Python:http://www.python.org/]] の MinGW バイナリ ([[python-mingw.7z:https://code.google.com/p/mingw-and-ndk/downloads/detail?name=python-mingw.7z]]) をダウンロードしてインストールします.~
//
//[[7-Zip:http://sevenzip.sourceforge.jp/]] で展開して中身のフォルダーを C:\MinGW に上書きします.~
***Linux Mint/Debian/Ubuntu [#k603e696]
//mingw-utils をインストールします.~
-https://packages.ubuntu.com/ja/poppler
-https://packages.debian.org/ja/poppler
Linux Mint や Debian GNU/Linux や Ubuntu では poppler ライブラリは libpoppler80 という名前だったり,libpoppler73 という名前だったりします。
poppler-utils をインストールすれば,依存関係で適宜判断されますので,poppler-utils をインストールします。
日本語を使う場合は poppler-data も必要です。
sudo apt install poppler-utils poppler-data
***Fedora [#ub953878]
-https://apps.fedoraproject.org/packages/poppler
-https://apps.fedoraproject.org/packages/poppler-data
-https://apps.fedoraproject.org/packages/poppler-utils
sudo dnf install poppler-utils poppler-data
***openSUSE [#w0cc993e]
-https://software.opensuse.org/package/poppler
-https://software.opensuse.org/package/poppler-data
sudo zypper install poppler poppler-data
**ビルド [#e0d6f40b]
***Windows [#o45a1c30]
[[MinGW]] を利用してソースからビルドすることができます。
GLib と pkg-config がインストールされていない場合は
-http://ftp.gnome.org/pub/gnome/binaries/win32/glib/ から GLib
//-http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/ から gettext-runtime
-http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/ から pkg-config
をダウンロードして,展開後 bin フォルダーにある
>
-gspawn-win32-helper.exe
-gspawn-win32-helper-console.exe
-libgio-2.0-0.dll
-libglib-2.0-0.dll
-libgmodule-2.0-0.dll
-libgobject-2.0-0.dll
-libgthread-2.0-0.dll
//-libintl-8.dll
-pkg-config.exe
<
を C:\MinGW\bin にコピーします。
-Install [[Qt]].
-Install [[Python]].
-Run MinGW Shell (MSYS).
//mingw-utils をインストールします。
//
// $ mingw-get install mingw-utils
//
//MinGW Shell (MSYS) で Python を必要とするモジュールがビルドできるように準備します.~
//MinGW Shell (MSYS) で Python を必要とするモジュールがビルドできるように準備します。
//
//64-bit Windows の場合
//
// $ pexports /c/Windows/SysWOW64/python27.dll > python27.def
// $ dlltool -D /c/Windows/SysWOW64/python27.dll -d python27.def -l /mingw/lib/libpython27.a
// C:\MinGW\bin\dlltool.exe: Path components stripped from dllname, 'c:/Windows/SysWOW64/python27.dll'.
// $ rm python27.def
//
//32-bit Windows の場合
//
// $ pexports /c/Windows/System32/python27.dll > python27.def
// $ dlltool -D /c/Windows/System32/python27.dll -d python27.def -l /mingw/lib/libpython27.a
// C:\MinGW\bin\dlltool.exe: Path components stripped from dllname, 'c:/Windows/System32/python27.dll'.
// $ rm python27.def
//
//64-bit Windows の場合
//
// $ pexports /c/Windows/SysWOW64/python27.dll > python27.def
// $ dlltool -D /c/Windows/SysWOW64/python27.dll -d python27.def -l /mingw/lib/libpython27.a
// C:\MinGW\bin\dlltool.exe: Path components stripped from dllname, 'c:/Windows/SysWOW64/python27.dll'.
// $ rm python27.def
//
//----
//-C:/MinGW/lib/pkgconfig/python.pc
//-C:/MinGW/lib/pkgconfig/python-2.7.pc
//
//を作成して以下の内容を記述します.
//を作成して以下の内容を記述します。
//----
// prefix=/mingw
// exec_prefix=${prefix}
// libdir=${exec_prefix}/lib
// includedir=/c/Python27/include
//
// Name: Python
// Description: Python library
// Requires:
// Version: 2.7
// Libs.private:
// Libs: -L${libdir} -lpython27
// Cflags: -IC:/Python27/include
//----
// ~/.bash_profile に以下の内容を記述します.
// if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
// ~/.bashrc に以下の内容を記述します.
// alias ls='ls --color=auto --show-control-chars'
// alias cp='cp -i'
// alias rm='rm -i'
// /etc/profile の cd "$HOME" の後に source ~/.bashrc を追加します.
// cd "$HOME"
// source ~/.bashrc
// $ source ~/.bashrc
//http://wiki.openttd.org/Compiling_on_MinGW
//[[「Warning: linker path does not have real file for library -lz」の件:http://d.hatena.ne.jp/ousttrue/20091113/1258095613]]
//[[mingw + msys で cairo 1.10.0 をビルド:http://d.hatena.ne.jp/miyamuko/20100909/how_to_build_cairo_1_10_0_using_mingw]]
//-[[paco:http://paco.sourceforge.net/]] をインストールします.
//
// $ curl -R -L -O http://sourceforge.net/projects/paco/files/paco/2.0.9/paco-2.0.9.tar.bz2
// $ tar xvf paco-2.0.9.tar.bz2
// $ pushd paco-2.0.9
// $ ./configure --prefix=/mingw --disable-gpaco
// $ make
// $ make install
// $ make logme
// $ popd
//----
// basepkg.cc:255:28: error: 'lstat' was not declared in this scope
// basepkg.cc:269:14: error: 'struct stat' has no member named 'st_blksize'
// basepkg.cc:273:28: error: 'S_ISLNK' was not declared in this scope
//----
// lstat は MinGW にはないので無理っぽい
-Install [[zlib]].
-[[zlib:http://zlib.net/]] をインストールします. ([[ChangeLog:http://zlib.net/ChangeLog.txt]])
-Install [[CMake]].
$ curl -R -L -O http://zlib.net/zlib-1.2.8.tar.xz
$ tar xvf zlib-1.2.8.tar.xz
$ pushd zlib-1.2.8
$ make -f win32/Makefile.gcc BINARY_PATH=/mingw/bin INCLUDE_PATH=/mingw/include LIBRARY_PATH=/mingw/lib SHARED_MODE=1 install
$ popd
-Install [[libpng]].
-[[CMake:http://www.cmake.org/]] をインストールします.
-Install [[libjpeg]].
$ curl -R -L -O http://www.cmake.org/files/v2.8/cmake-2.8.12.1.tar.gz
$ tar xvf cmake-2.8.12.1.tar.gz
$ pushd cmake-2.8.12.1
$ mkdir build
$ pushd build
$ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw
$ make
$ make install
$ popd
$ popd
cmake の Makefile でインストールした場合は,make uninstall が使えないので,アンインストールする場合は,ビルドしたディレクトリで
$ sed -e "s/\r$//" install_manifest.txt | sort | uniq | xargs rm
を実行します.
-Install [[XZ Utils]].
-[[libpng:http://www.libpng.org/pub/png/libpng.html]] をインストールします.([[log:http://sourceforge.net/p/libpng/code/ci/master/log/]])
-Install [[LibTIFF]].
// $ curl -R -L -O http://sourceforge.net/projects/libpng/files/libpng16/1.6.7/libpng-1.6.7.tar.xz
$ curl -R -L -O http://download.sourceforge.net/libpng/libpng-1.6.7.tar.xz
$ tar xvf libpng-1.6.7.tar.xz
$ pushd libpng-1.6.7
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
-Install [[Little CMS]].
// $ curl -R -L -O http://sourceforge.net/projects/libpng/files/libpng16/1.6.7/libpng-1.6.7.tar.xz
// $ tar xvf libpng-1.6.7.tar.xz
// $ pushd libpng-1.6.7
// $ mkdir build
// $ pushd build
// $ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw
// $ make
// $ make install
// $ popd
// $ popd
//
-[[libjpeg:http://www.ijg.org/]] をインストールします.
-Install [[OpenJPEG]].
$ curl -R -L -O http://www.ijg.org/files/jpegsrc.v9.tar.gz
$ tar xvf jpegsrc.v9.tar.gz
$ pushd jpeg-9
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
-Install [[FreeType]].
-[[XZ Utils:http://tukaani.org/xz/]] をインストールします.
-Install [[Fontconfig]].
$ curl -R -L -O http://tukaani.org/xz/xz-5.0.5.tar.xz
$ tar xvf xz-5.0.5.tar.xz
$ pushd xz-5.0.5
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
-Install [[cairo]].
-[[LibTIFF:http://www.remotesensing.org/libtiff/]] をインストールします.
-Install [[cURL]].
$ curl -R -L -O http://download.osgeo.org/libtiff/tiff-4.0.3.tar.gz
$ tar xvf tiff-4.0.3.tar.gz
$ pushd tiff-4.0.3
$ ./configure --prefix=/mingw
-Install [[GLib]].
Libtiff is now configured for i686-pc-mingw32
Installation directory: /mingw
Documentation directory: ${prefix}/share/doc/tiff-4.0.3
C compiler: gcc -g -O2 -Wall -W
C++ compiler: g++ -g -O2
Enable runtime linker paths: no
Enable linker symbol versioning: no
Support Microsoft Document Imaging: yes
Use win32 IO: yes
Support for internal codecs:
CCITT Group 3 & 4 algorithms: yes
Macintosh PackBits algorithm: yes
LZW algorithm: yes
ThunderScan 4-bit RLE algorithm: yes
NeXT 2-bit RLE algorithm: yes
LogLuv high dynamic range encoding: yes
Support for external codecs:
ZLIB support: yes
Pixar log-format algorithm: yes
JPEG support: yes
Old JPEG support: yes
JPEG 8/12 bit dual mode: no
ISO JBIG support: no
LZMA2 support: yes
C++ support: yes
OpenGL support: no
-Install poppler-data.
$ make
$ make install
$ popd
日本語の PDF ファイルを表示できるようにするため,poppler-data を適切な場所に配置します。
-[[Little CMS:http://www.littlecms.com/]] をインストールします.
poppler-data を C:\MinGW\share にコピーします。
// $ curl -R -L -O http://sourceforge.net/projects/lcms/files/lcms/2.5/lcms2-2.5.tar.gz
$ curl -R -L -O http://download.sourceforge.net/lcms/lcms2-2.5.tar.gz
$ tar xvf lcms2-2.5.tar.gz
$ pushd lcms2-2.5
$ ./configure --prefix=/mingw
$ make
$ make install
$ mkdir poppler-data
$ pushd poppler-data
// $ curl -kRLO https://cgit.freedesktop.org/poppler/poppler-data/snapshot/master.tar.xz
$ powershell -Command "& {Invoke-WebRequest -Uri 'https://cgit.freedesktop.org/poppler/poppler-data/snapshot/master.tar.xz' -OutFile 'master.tar.xz'}"
$ tar xvf master.tar.xz
$ cp -pR master /mingw/share/poppler
$ popd
-[[OpenJPEG:http://www.openjpeg.org/]] をインストールします.
-Install Poppler.
OpenJPEG 2.0.0 以降を使用して Poppler がビルドできない場合は OpenJPEG 1.5.1 をインストールしてください.~
Poppler は --with-font-configuration=win32 または -DFONT_CONFIGURATION=win32 でビルドすると日本語のフォントが埋め込まれていない PDF ファイルが MS-Mincho で表示されます。
ただし font configuration: win32 の場合 GothicBBB-Medium (ゴシック体) でも Ryumin-Light (明朝体) と同様 MS-Mincho で表示されます。
GothicBBB-Medium (ゴシック体) をきちんと表示したい場合は font configuration: fontconfig でビルドして fontconfig を適切に設定します。
configure の場合は --with-font-configuration=fontconfig で fontconfig を使用できます。
CMake の場合は -DFONT_CONFIGURATION=fontconfig で fontconfig を使用できます。
OpenJPEG 最新版の場合
$ mkdir poppler
$ pushd poppler
// $ curl -kRLO https://cgit.freedesktop.org/poppler/poppler/snapshot/master.tar.xz
$ powershell -Command "& {Invoke-WebRequest -Uri 'https://cgit.freedesktop.org/poppler/poppler/snapshot/master.tar.xz' -OutFile 'master.tar.xz'}"
$ tar xvf master.tar.xz
$ pushd master
// $ curl --insecure -R -L -O https://openjpeg.googlecode.com/files/openjpeg-2.0.0.tar.gz
// $ tar xvf openjpeg-2.0.0.tar.gz
// $ pushd openjpeg-2.0.0
$ svn checkout http://openjpeg.googlecode.com/svn/trunk/ openjpeg-read-only
$ pushd openjpeg-read-only
$ mkdir build
$ pushd build
// $ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DBUILD_SHARED_LIBS:bool=on -DBUILD_CODEC:bool=on -DBUILD_MJ2:bool=on -DBUILD_JPWL:bool=on -DBUILD_JPIP_SERVER:bool=on -DBUILD_JP3D:bool=on
$ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DBUILD_SHARED_LIBS:bool=on -DBUILD_CODEC:bool=on -DBUILD_MJ2:bool=on -DBUILD_JPWL:bool=on -DUNIX:bool=on
$ make
$ make install
$ popd
$ popd
OpenJPEG 1.5.1 の場合
$ curl -R -L -O http://openjpeg.googlecode.com/files/openjpeg-1.5.1.tar.gz
$ tar xvf openjpeg-1.5.1.tar.gz
$ pushd openjpeg-1.5.1
$ ./configure --prefix=/mingw --enable-mj2 --enable-jpwl
$ make
$ make install
$ popd
-[[FreeType:http://www.freetype.org/]] をインストールします.
// $ curl -R -L -O http://sourceforge.net/projects/freetype/files/freetype2/2.5.2/freetype-2.5.2.tar.bz2
$ curl -R -L -O http://download.sourceforge.net/freetype/freetype-2.5.2.tar.bz2
$ tar xvf freetype-2.5.2.tar.bz2
$ pushd freetype-2.5.2
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
-[[nkf:http://sourceforge.jp/projects/nkf/]] をインストールします.
$ curl -R -L -O http://jaist.dl.sourceforge.jp/nkf/59912/nkf-2.1.3.tar.gz
$ tar xvf nkf-2.1.3.tar.gz
$ pushd nkf-2.1.3
$ make
$ make prefix=/mingw install
mkdir /mingw/bin
mkdir: cannot create directory `/mingw/bin': File exists
make: [install] Error 1 (ignored)
mkdir /mingw/man
mkdir: cannot create directory `/mingw/man': File exists
make: [install] Error 1 (ignored)
mkdir /mingw/man/man1
mkdir: cannot create directory `/mingw/man/man1': File exists
make: [install] Error 1 (ignored)
mkdir /mingw/man/ja
mkdir /mingw/man/ja/man1
cp -f nkf /mingw/bin/
cp -f nkf.1 /mingw/man/man1/
cp -f nkf.1j /mingw/man/ja/man1/nkf.1
エラーが表示されますがインストールされるので気にしないでください.
$ popd
-[[libxml2:http://xmlsoft.org/]] をインストールします.
$ curl -R -L -O ftp://xmlsoft.org/libxml2/libxml2-2.9.1.tar.gz
$ tar xvf libxml2-2.9.1.tar.gz
$ pushd libxml2-2.9.1
//configure.in を修正します.
//----
//■修正前
//----
// AC_PATH_PROG(RM, rm, /bin/rm)
// AC_PATH_PROG(MV, mv, /bin/mv)
//----
//■修正後
//----
// AC_PATH_PROG(RM, rm, /bin/rm)
// RM="$RM -f"
// AC_PATH_PROG(MV, mv, /bin/mv)
//----
//
// libxml2-2.7.8 では ./configure --with-threads で make しようとすると testThreads.c でエラーが発生します.
//
// testThreads.c: In function 'main':
// testThreads.c:110:6: error: conversion to non-scalar type requested
//
//testThreads.c を修正します.
//----
//■修正前
//----
// for (i = 0; i < num_threads; i++) {
// results[i] = NULL;
// tid[i] = (pthread_t) -1;
// }
//----
//■修正後
//----
// for (i = 0; i < num_threads; i++) {
// results[i] = NULL;
// tid[i] = *(pthread_t*) -1;
// }
//----
// $ autoreconf
$ ./configure --prefix=/mingw
libxml2-2.7.4 以降は ./configure --prefix=/mingw で以下のようなメッセージが表示されますが,ビルドできるので無視してかまいません.
...
/bin/rm: cannot lstat `libtoolT': No such file or directory
Done configuring
$ make
$ make install
$ popd
-[[fontconfig:http://www.freedesktop.org/wiki/Software/fontconfig/]] をインストールします.
$ curl -R -L -O http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.0.tar.bz2
$ tar xvf fontconfig-2.11.0.tar.bz2
$ pushd fontconfig-2.11.0
$ ./configure --prefix=/mingw --enable-libxml2
$ make
$ make install
//
///mingw/bin/fc-cache -s -f -v の実行で多少時間がかかります.
// ...
// /bin/install -c -m 644 ./fonts.conf /mingw/etc/fonts/fonts.conf
// /mingw/bin/fc-cache -s -f -v
// C:/Windows/fonts: caching, new cache contents: ??? fonts, ? dirs
// ...
//
$ popd
fc-match で Ryumin-Light と GothicBBB-Medium を確認します.
$ fc-match Ryumin-Light
mingliu.ttc: "MingLiU" "Regular"
$ fc-match GothicBBB-Medium
mingliu.ttc: "MingLiU" "Regular"
デフォルトでは日本語のフォントが埋め込まれていない PDF ファイルの明朝体とゴシック体が同じフォントで表示されてしまいます.~
そこで明朝体とゴシック体を適切に表示するため,C:\MinGW\etc\fonts\local.conf を作成して編集します.~
fc-list で MS Mincho と MS Gothic がリストに存在するかどうか確認します.~
$ fc-list | nkf -W8 -s | grep "MS Mincho"
C:/Windows/fonts/msmincho.ttc: MS Mincho,MS 明朝:style=Regular,標準
$ fc-list | nkf -W8 -s | grep "MS Gothic"
C:/Windows/fonts/msgothic.ttc: MS Gothic,MS ゴシック:style=Regular,標準
C:\MinGW\etc\fonts\local.conf を作成して以下のように編集します.
----
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- local.conf file to configure local font access -->
<fontconfig>
<match target="pattern">
<test qual="any" name="family">
<string>Ryumin</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>MS Mincho</string>
</edit>
</match>
<match target="pattern">
<test qual="any" name="family">
<string>GothicBBB</string>
</test>
<edit name="family" mode="prepend" binding="strong">
<string>MS Gothic</string>
</edit>
</match>
</fontconfig>
----
C:\MinGW\etc\fonts\fonts.conf の71行目に記述されている
<include ignore_missing="yes">/mingw/etc/fonts/conf.d</include>
の下に
<include ignore_missing="yes">local.conf</include>
を追加します.
fc-match で Ryumin-Light と GothicBBB-Medium を確認します.
$ fc-match Ryumin-Light
msmincho.ttc: "MS Mincho" "Regular"
$ fc-match GothicBBB-Medium
msgothic.ttc: "MS Gothic" "Regular"
-[[pixman:http://cgit.freedesktop.org/pixman/]] をインストールします.
$ curl -R -L -O http://cairographics.org/releases/pixman-0.32.4.tar.gz
$ tar xvf pixman-0.32.4.tar.gz
$ pushd pixman-0.32.4
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
-[[cairo:http://www.cairographics.org/]] をインストールします.
$ curl -R -L -O http://cairographics.org/releases/cairo-1.12.16.tar.xz
$ tar xvf cairo-1.12.16.tar.xz
$ pushd cairo-1.12.16
$ ./configure --prefix=/mingw
// $ qt_CFLAGS="-IC:/Qt/4.8.5/include -IC:/Qt/4.8.5/include/QtCore -IC:/Qt/4.8.5/include/QtGui" qt_LIBS="-LC:/Qt/4.8.5/lib -lQtCore4 -LC:/Qt/4.8.5/lib -lQtGui4" ./configure --prefix=/mingw --enable-xml --enable-qt
cairo (version 1.12.16 [release]) will be compiled with:
The following surface backends:
Image: yes (always builtin)
Recording: yes (always builtin)
Observer: yes (always builtin)
Mime: yes (always builtin)
Tee: no (disabled, use --enable-tee to enable)
XML: no (disabled, use --enable-xml to enable)
// XML: yes
Skia: no (disabled, use --enable-skia to enable)
Xlib: no (requires X development libraries)
Xlib Xrender: no (requires --enable-xlib)
Qt: no (disabled, use --enable-qt to enable)
// Qt: yes
Quartz: no (requires CoreGraphics framework)
Quartz-image: no (disabled, use --enable-quartz-image to enable)
XCB: no (requires xcb >= 1.6 xcb-render >= 1.6 http://xcb.freedeskto
p.org)
Win32: yes
OS2: no (disabled, use --enable-os2 to enable)
CairoScript: yes
PostScript: yes
PDF: yes
SVG: yes
OpenGL: no (disabled, use --enable-gl to enable)
OpenGL ES 2.0: no (disabled, use --enable-glesv2 to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
OpenVG: no (disabled, use --enable-vg to enable)
DRM: no (disabled, use --enable-drm to enable)
Cogl: no (disabled, use --enable-cogl to enable)
The following font backends:
User: yes (always builtin)
FreeType: yes
Fontconfig: yes
Win32: yes
Quartz: no (requires CoreGraphics framework)
The following functions:
PNG functions: yes
GLX functions: no (not required by any backend)
WGL functions: no (not required by any backend)
EGL functions: no (not required by any backend)
X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
XCB-shm functions: no (requires --enable-xcb)
The following features and utilities:
cairo-trace: no (requires dynamic linker and zlib and real pthr
eads)
cairo-script-interpreter: yes
And the following internal features:
pthread: yes
gtk-doc: no
gcov support: no
symbol-lookup: no (requires bfd)
test surfaces: no (disabled, use --enable-test-surfaces to enable)
ps testing: no (requires libspectre)
pdf testing: no (requires poppler-glib >= 0.17.4)
svg testing: no (requires librsvg-2.0 >= 2.15.0)
win32 printing testing: no (requires ghostscript)
$ make
cairo-missing.h:45:17: error: conflicting types for 'ssize_t'
[[util/cairo-missing/cairo-missing.h:http://cgit.freedesktop.org/cairo/tree/util/cairo-missing/cairo-missing.h?id=1.12.16#n45]] の 45行目にある
typedef SSIZE_T ssize_t;
をコメントアウトします.~
//typedef SSIZE_T ssize_t;
$ make install
$ popd
-[[OpenSSL:http://www.openssl.org/]] をインストールします.
$ curl -R -L -O http://www.openssl.org/source/openssl-1.0.1e.tar.gz
$ tar xvf openssl-1.0.1e.tar.gz
$ pushd openssl-1.0.1e
$ ./config --prefix=/mingw shared
$ make
$ make install
$ popd
//-[[Libgcrypt:http://directory.fsf.org/wiki/Libgcrypt]] をインストールします.
//
// $ curl -R -L -O ftp://ftp.gnupg.org/gcrypt/libgpg-error/libgpg-error-1.10.tar.bz2
// $ tar xvf libgpg-error-1.10.tar.bz2
// $ pushd libgpg-error-1.10
// $ ./config --prefix=/mingw
// $ make
// $ make install
// $ popd
// $ curl -R -L -O ftp://ftp.gnupg.org/gcrypt/libgcrypt/libgcrypt-1.5.0.tar.bz2
// $ tar xvf libgcrypt-1.5.0.tar.bz2
// $ pushd libgcrypt-1.5.0
// $ ./config --prefix=/mingw
// $ make
// $ make install
// $ popd
-[[libssh2:http://www.libssh2.org/]] をインストールします.
$ curl -R -L -O http://www.libssh2.org/download/libssh2-1.4.3.tar.gz
$ tar xvf libssh2-1.4.3.tar.gz
$ pushd libssh2-1.4.3
$ ./configure --prefix=/mingw
version: 1.4.3
Host type: i686-pc-mingw32
Install prefix: /mingw
Compiler: gcc
Compiler flags: -DLIBSSH2_WIN32
Library types: Shared=yes, Static=yes
Crypto library: openssl: yes (AES-CTR: no) libgcrypt: no
Debug build: no
Build examples: yes
Path to sshd: (only for self-tests)
libz compression: yes
$ make
$ make install
$ popd
-[[curl:http://curl.haxx.se/]] をインストールします.
$ curl -R -L -O http://curl.haxx.se/download/curl-7.34.0.tar.bz2
$ tar xvf curl-7.34.0.tar.bz2
$ pushd curl-7.34.0
$ ./configure --prefix=/mingw
curl version: 7.34.0
Host setup: i686-pc-mingw32
Install prefix: /mingw
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: enabled (libSSH2)
zlib support: enabled
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
TLS-SRP support: enabled
resolver: default (--enable-ares / --enable-threaded-resolver)
ipv6 support: no (--enable-ipv6)
IDN support: no (--with-{libidn,winidn})
Build libcurl: Shared=yes, Static=yes
Built-in manual: no (--enable-manual)
--libcurl option: enabled (--disable-libcurl-option)
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: no
ca cert path: no
LDAP support: enabled (winldap)
LDAPS support: enabled
RTSP support: enabled
RTMP support: no (--with-librtmp)
metalink support: no (--with-libmetalink)
Protocols: DICT FILE FTP FTPS GOPHER HTTP HTTPS IMAP IMAPS LDAP LDAPS P
OP3 POP3S RTSP SCP SFTP SMTP SMTPS TELNET TFTP
$ make
$ make install
$ popd
-[[libffi:http://sourceware.org/libffi/]] をインストールします.~
$ curl -R -L -O ftp://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
$ tar xvf libffi-3.0.13.tar.gz
$ pushd libffi-3.0.13
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
-[[GLib:https://developer.gnome.org/glib/]] をインストールします.
$ curl --insecure -R -L -O https://download.gnome.org/sources/glib/2.39/glib-2.39.2.tar.xz
$ tar xvf glib-2.39.2.tar.xz
$ pushd glib-2.39.2
$ CFLAGS="-Wall -Ofast -march=native" ./configure --prefix=/mingw
$ make
$ make install
$ popd
//-[[GObject Introspection:https://wiki.gnome.org/GObjectIntrospection]] をインストールします.
//
// $ curl --insecure -R -L -O https://download.gnome.org/sources/gobject-introspection/1.39/gobject-introspection-1.39.0.tar.xz
// $ tar xvf gobject-introspection-1.39.0.tar.xz
// $ pushd gobject-introspection-1.39.0
// $ ./configure --prefix=/mingw
// $ make
// $ make install
// $ popd
-[[gettext:http://www.gnu.org/software/gettext/]] をインストールします.
$ curl -R -L -O http://ftp.jaist.ac.jp/pub/GNU/gettext/gettext-0.18.3.1.tar.gz
$ tar xvf gettext-0.18.3.1.tar.gz
$ pushd gettext-0.18.3.1
$ ./configure --prefix=/mingw
//
//gettext-tools/gnulib-lib/wctype.in.h の344行目から360行目までをコメントアウトします.
// //_GL_WCTYPE_INLINE wint_t
// //rpl_towlower (wint_t wc)
// //{
// // return (wint_t) (wchar_t) towlower (wc);
// //}
// //# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
// //# define towlower rpl_towlower
// //# endif
// //
// //_GL_WCTYPE_INLINE wint_t
// //rpl_towupper (wint_t wc)
// //{
// // return (wint_t) (wchar_t) towupper (wc);
// //}
// //# if !(defined __cplusplus && defined GNULIB_NAMESPACE)
// //# define towupper rpl_towupper
// //# endif
//
$ make
$ make install
$ popd
-[[pkg-config:http://www.freedesktop.org/wiki/Software/pkg-config]] をインストールします.
$ curl -R -L -O http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
$ tar xvf pkg-config-0.28.tar.gz
$ pushd pkg-config-0.28
$ ./configure --prefix=/mingw
$ make
$ make install
$ popd
// gtk
//
// make[1]: Entering directory `gtk+-3.6.0/gtk'
// CCLD gtk-update-icon-cache.exe
// ../libtool: line 9517: ./gtk-update-icon-cache.exe: Bad file number
//このように表示される場合は管理者権限で MinGW Shell (MSYS) を実行してビルドしてください.~
-[[Poppler:http://poppler.freedesktop.org/]] をインストールします.
configure の場合は --with-font-configuration=fontconfig で fontconfig にリンクするようにすると日本語のフォントが埋め込まれていない PDF ファイルでも日本語が表示できるようになります.
CMake の場合は -DFONT_CONFIGURATION=fontconfig で fontconfig にリンクするようにすると日本語のフォントが埋め込まれていない PDF ファイルでも日本語が表示できるようになります.
Poppler 0.19.2 で --with-font-configuration=win32 または -DFONT_CONFIGURATION=win32 でビルドしても日本語のフォントが埋め込まれていない PDF ファイルが MS-Mincho で表示できるようになりました.
ただし font configuration: win32 の場合 GothicBBB-Medium (ゴシック体) でも Ryumin-Light (明朝体) と同様 MS-Mincho で表示されます.
GothicBBB-Medium (ゴシック体) をきちんと表示したい場合は font configuration: fontconfig でビルドして fontconfig を適切に設定することをおすすめします.
$ curl -R -L -O http://poppler.freedesktop.org/poppler-0.25.0.tar.xz
$ tar xvf poppler-0.25.0.tar.xz
$ pushd poppler-0.25.0
----
--configure で Makefile を作成してインストールする場合 ([[pdf2htmlEX]] をビルドする場合 Poppler は configure で Makefile を作成してインストールしてください)
//■ Qt 5 mingw バイナリをインストールした場合
$ ./autogen.sh
$ POPPLER_QT5_CFLAGS="-IC:/Qt/Qt5.11.2/5.11.2/mingw53_32/include" POPPLER_QT5_LIBS="-LC:/Qt/Qt5.11.2/5.11.2/mingw53_32/lib -lQt5Core -lQt5Gui -lQt5Xml -lQt5Widgets -lQt5Test" POPPLER_QT5_TEST_CFLAGS="-IC:/Qt/Qt5.11.2/5.11.2/mingw53_32/include" POPPLER_QT5_TEST_LIBS="-LC:/Qt/Qt5.11.2/5.11.2/mingw53_32/bin" LIBOPENJPEG_CFLAGS="`pkg-config --cflags libopenjp2`" LIBOPENJPEG_LIBS="`pkg-config --libs libopenjp2`" ./configure --prefix=/mingw --with-font-configuration=fontconfig --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-poppler-glib --disable-gtk-test
$ POPPLER_QT5_CFLAGS="-IC:/Qt/Qt5.2.0/5.2.0/mingw48_32/include" POPPLER_QT5_LIBS="-LC:/Qt/Qt5.2.0/5.2.0/mingw48_32/lib -lQt5Core -lQt5Gui -lQt5Xml -lQt5Widgets -lQt5Test" POPPLER_QT5_TEST_CFLAGS="-IC:/Qt/Qt5.2.0/5.2.0/mingw48_32/include" POPPLER_QT5_TEST_LIBS="-LC:/Qt/Qt5.2.0/5.2.0/mingw48_32/bin" LIBOPENJPEG_CFLAGS="`pkg-config --cflags libopenjp2`" LIBOPENJPEG_LIBS="`pkg-config --libs libopenjp2`" ./configure --prefix=/mingw --with-font-configuration=fontconfig --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-poppler-glib --disable-gtk-test
//goo/gfile.cc
// #define _WIN32_WINNT 0x0501
// #include <windows.h>
//を追加
//■ Qt 4 mingw バイナリをインストールした場合
//
// $ POPPLER_QT4_CFLAGS="-IC:/Qt/4.8.4/include" POPPLER_QT4_LIBS="-LC:/Qt/4.8.4/lib -lQtCore4 -lQtGui4 -lQtNetwork4 -lQtWebKit4 -lQtXml4 -lQtXmlPatterns4" POPPLER_QT4_TEST_CFLAGS="-IC:/Qt/4.8.4/include" POPPLER_QT4_TEST_LIBS="-LC:/Qt/4.8.4/bin" LIBOPENJPEG_CFLAGS="`pkg-config --cflags libopenjp2`" LIBOPENJPEG_LIBS="`pkg-config --libs libopenjp2`" ./configure --prefix=/mingw --with-font-configuration=fontconfig --enable-xpdf-headers --enable-zlib --enable-libcurl --enable-poppler-glib --disable-gtk-test
Building poppler with support for:
font configuration: fontconfig
splash output: yes
cairo output: yes
qt4 wrapper: no
qt5 wrapper: yes
glib wrapper: yes
introspection: no
cpp wrapper: yes
use gtk-doc: no
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib: yes
use libcurl: yes
use libopenjpeg: yes
use cms: yes
font configuration: fontconfig
splash output: yes
cairo output: yes
qt4 wrapper: no
qt5 wrapper: yes
glib wrapper: yes
introspection: no
cpp wrapper: yes
use gtk-doc: no
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib compress: yes
use zlib uncompress: no
use nss3: no
use curl: yes
use libopenjpeg: yes
with openjpeg2
use cms: yes
with lcms2
command line utils: yes
command line utils: yes
test data dir:
Warning: Using zlib is not totally safe
$ make
$ make install
----
--CMake で Makefile を作成してインストールする場合&br;CMake で Makefile を作成した場合は poppler.pc などがインストールされないようです
--CMake で Makefile を作成してインストールする場合&br;CMake で Makefile を作成した場合は poppler.pc などがインストールされないかもしれません
$ mkdir build
$ pushd build
// $ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DFONT_CONFIGURATION=fontconfig -DENABLE_XPDF_HEADERS=ON -DENABLE_ZLIB=ON -DZLIB_LIBRARY=C:/MinGW/bin/zlib1.dll -DENABLE_LIBOPENJPEG=ON -DENABLE_LIBCURL=ON -DLIBOPENJPEG_INCLUDE_DIR=C:/MinGW/include/openjpeg-2.0 -DLIBOPENJPEG_LIBRARIES=C:/MinGW/bin/libopenjp2.dll
$ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DFONT_CONFIGURATION=fontconfig -DENABLE_XPDF_HEADERS=ON -DENABLE_ZLIB=ON -DZLIB_LIBRARY=C:/MinGW/bin/zlib1.dll -DENABLE_LIBCURL=ON -DLIBOPENJPEG_INCLUDE_DIR=C:/MinGW/include/openjpeg-2.0 -DLIBOPENJPEG_LIBRARIES=C:/MinGW/bin/libopenjp2.dll
// $ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DFONT_CONFIGURATION=fontconfig -DENABLE_XPDF_HEADERS=ON -DENABLE_ZLIB=ON -DZLIB_LIBRARY=C:/MinGW/bin/zlib1.dll -DENABLE_LIBOPENJPEG=ON -DENABLE_LIBCURL=ON -DLIBOPENJPEG_INCLUDE_DIR=C:/MinGW/include/openjpeg-2.1 -DLIBOPENJPEG_LIBRARIES=C:/MinGW/bin/libopenjp2.dll
$ cmake .. -G "MSYS Makefiles" -DCMAKE_INSTALL_PREFIX=/mingw -DFONT_CONFIGURATION=fontconfig -DENABLE_XPDF_HEADERS=ON -DENABLE_ZLIB=ON -DZLIB_LIBRARY=C:/MinGW/bin/zlib1.dll -DENABLE_LIBCURL=ON -DLIBOPENJPEG_INCLUDE_DIR=C:/MinGW/include/openjpeg-2.1 -DLIBOPENJPEG_LIBRARIES=C:/MinGW/bin/libopenjp2.dll
Building Poppler with support for:
font configuration: fontconfig
splash output: yes
cairo output: yes
qt4 wrapper: no
qt5 wrapper: yes
glib wrapper: yes
introspection: no
cpp wrapper: yes
use gtk-doc: not supported with this CMake build system
use libjpeg: yes
use libpng: yes
use libtiff: yes
use zlib: yes
use zlib compress: yes
use zlib uncompress: no
use nss3: no
use curl: yes
use libopenjpeg: yes
with openjpeg2
use cms: yes
with lcms2
command line utils: yes
test data dir:
$ make
$ make install
$ popd
----
$ popd
$ popd
$ strings -a /mingw/bin/libpoppler.dll | grep poppler | head
...
C:/MinGW/share/poppler
...
// $ strings -a /mingw/bin/libpoppler-14.dll | grep poppler | head
// /mingw/share/poppler
// \share\poppler
// Unknown CID font collection, please report to poppler bugzilla.
// libpoppler-14.dll
// ...
日本語の PDF ファイルを表示できるようにするため,poppler-data を適切な場所に配置します.
poppler-data を C:\MinGW\share にコピーします.
**font configuration [#e532ec53]
$ curl -R -L -O http://poppler.freedesktop.org/poppler-data-0.4.6.tar.gz
$ tar xvf poppler-data-0.4.6.tar.gz
$ cp -pR poppler-data-0.4.6 /mingw/share/poppler
Poppler は font configuration で win32 を選択した場合,日本語のフォントを埋め込んでいない PDF ファイルは MS-Mincho で表示されます。
ただし font configuration が win32 の場合 GothicBBB-Medium (ゴシック体) でも Ryumin-Light (明朝体) と同様 MS-Mincho で表示されます。
GothicBBB-Medium (ゴシック体) をきちんと表示したい場合は font configuration を fontconfig でビルドして fontconfig を適切に設定します。
**OS X [#l3620b9b]
-https://cgit.freedesktop.org/poppler/poppler/tree/poppler/GlobalParamsWin.cc
-[[[poppler] poppler/GlobalParamsWin.cc:https://lists.freedesktop.org/archives/poppler/2012-March/008915.html]]
-[[homebrew / Library / Formula / poppler.rb:https://github.com/mxcl/homebrew/blob/master/Library/Formula/poppler.rb]]
-[[/trunk/dports/graphics/poppler/Portfile:https://trac.macports.org/browser/trunk/dports/graphics/poppler/Portfile]]
**Issues [#nbe31c73]
**Linux [#k603e696]
-https://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&content=&no_redirect=1&order=changeddate%20DESC%2Cpriority%2Cbug_severity&product=poppler&query_based_on=&query_format=specific
-https://bugs.freedesktop.org/buglist.cgi?bug_status=__open__&content=&no_redirect=1&order=Importance&product=poppler&query_format=specific
-fontconfig
--http://www.linuxfromscratch.org/blfs/view/svn/general/fontconfig.html
--http://lfsbookja.sourceforge.jp/BLFS/svn.ja/general/fontconfig.html
-Poppler
--http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html
--http://lfsbookja.sourceforge.jp/BLFS/svn.ja/general/poppler.html
*関連リンク [#m3ac74dd]
-[[Poppler: Displaying PDF Files with Qt:http://doc.qt.digia.com/qq/qq27-poppler.html]]
**関連リンク [#m3ac74dd]
-[[Poppler - DenkiYagi:http://terurou.hateblo.jp/category/Poppler]]
--[[Poppler 0.22.5の.NETバインディングを作成する:http://terurou.hateblo.jp/entry/2013/07/09/160937]]
--[[MinGWでPoppler 0.22.5をビルド:http://terurou.hateblo.jp/entry/2013/07/09/160937]]
-[[PDF Rendering on the Web:http://syntensity.com/static/poppler.html]]
-[[Popplerについてちょっとだけ:http://d.hatena.ne.jp/naruoga/20130112/1358002227]]
-[[pdfgrepでPDFをgrepする:http://emasaka.blog65.fc2.com/blog-entry-1010.html]]
-[[poppler on Windows 奮闘記:https://sites.google.com/site/kaihatsublog/poppler-on-windows-funtou-ki]]
-[[poppler 0.18.1 ビルド奮闘記:https://sites.google.com/site/poppler0181builder/]]
-Poppler (BLFS)
--http://www.linuxfromscratch.org/blfs/view/svn/general/poppler.html
--http://lfsbookja.osdn.jp/BLFS/svn-ja/general/poppler.html
***License [#i424d155]
[[GPLv3:https://cgit.freedesktop.org/poppler/poppler/tree/COPYING3]], [[GPLv2:https://cgit.freedesktop.org/poppler/poppler/tree/COPYING]]
***ChangeLog [#u62118c7]
-[[poppler / poppler · GitLab:https://gitlab.freedesktop.org/poppler/poppler]]
--https://gitlab.freedesktop.org/poppler/poppler/-/tags
--https://gitlab.freedesktop.org/poppler/poppler/-/commits/master
-[[poppler/poppler - The poppler pdf rendering library:https://cgit.freedesktop.org/poppler/poppler]]
--https://cgit.freedesktop.org/poppler/poppler/refs/tags
--https://cgit.freedesktop.org/poppler/poppler/log/
-https://www.tug.org/svn/texlive/trunk/Build/source/libs/poppler/
--https://www.tug.org/svn/texlive/trunk/Build/source/libs/poppler/?view=log
-https://github.com/TeX-Live/texlive-source/tree/trunk/libs/poppler
--https://github.com/TeX-Live/texlive-source/commits/trunk/libs/poppler