*[[MuPDF:http://www.mupdf.com/]] [#x9985d4a] &color(White,#5F2F2F){ ''◆目次◆'' };&br; #contents *MuPDF とは [#u255891c] MuPDF は軽量な PDF/XPS ビューアです.~ -[[MuPDF:http://www.mupdf.com/]] **動作環境 [#u6c9b420] Windows, OS X, Linux, Android, iOS で動作します.~ **License [#kcee43f7] [[GNU Affero General Public License (AGPL):http://git.ghostscript.com/?p=mupdf.git;a=blob;f=COPYING;hb=HEAD]], [[Artifex Commercial License:http://www.artifex.com/page/licensing-information.html]] **ChangeLog [#vbbec018] -[[summary:http://git.ghostscript.com/?p=mupdf.git;a=summary]] *インストール [#m15a5d1f] **Windows [#j0820160] ***MinGW [#qd80d98f] [[poppler - TeX Wiki>poppler]] を参照して MinGW, freetype2, libjpeg, libopenjpeg, zlib 等をインストールします. -[[jbig2dec:http://jbig2dec.sourceforge.net/]] をインストールします. // $ curl -R -L -o jbig2dec.tar.gz "http://git.ghostscript.com/?p=jbig2dec.git;a=snapshot;h=HEAD;sf=tgz" // $ tar xvf jbig2dec.tar.gz // $ pushd jbig2dec* // $ ./autogen.sh // $ ./configure --prefix=/mingw // $ make // $ make install $ curl -R -L -O http://download.sourceforge.net/jbig2dec/jbig2dec-0.11.tar.xz $ tar xvf jbig2dec-0.11.tar.xz $ pushd jbig2dec-0.11 $ configure --prefix=/mingw $ make $ make install $ popd -[[MuPDF:http://www.mupdf.com/]] をインストールします. $ curl -R -L -o mupdf.tar.gz "http://git.ghostscript.com/?p=mupdf.git;a=snapshot;h=HEAD;sf=tgz" $ tar xvf mupdf.tar.gz $ cd mupdf* Makefile の ifeq "$(NOX11)" "" MUVIEW := $(OUT)/mupdf $(MUVIEW) : $(FITZ_LIB) $(THIRD_LIBS) $(MUVIEW) : $(addprefix $(OUT)/, x11_main.o x11_image.o pdfapp.o) を ifeq "$(NOX11)" "" MUVIEW := $(OUT)/mupdf $(MUVIEW) : $(FITZ_LIB) $(THIRD_LIBS) $(MUVIEW) : $(addprefix $(OUT)/, win_main.o pdfapp.o) に修正します. fitz/image_jpx.c の #define OPJ_STATIC を //#define OPJ_STATIC としてコメントアウトします. $ CFLAGS="-Wall -O2 -march=native `pkg-config --cflags freetype2 libopenjpeg zlib`" LIBS="-lkernel32 -luser32 -lgdi32 -lcomdlg32 `pkg-config --libs freetype2 libopenjpeg zlib`" make build=release prefix=/mingw install **OS X [#bad1a3d8] -[[homebrew / Library / Formula / mupdf.rb:https://github.com/mxcl/homebrew/blob/master/Library/Formula/mupdf.rb]] -[[/trunk/dports/graphics/mupdf/Portfile:https://trac.macports.org/browser/trunk/dports/graphics/mupdf/Portfile]] *関連リンク [#u27a744e] -[[MuPDF for Windows 9x:http://d.hatena.ne.jp/lukewarm/20110521#p1]]