mupdf-source

所属分类:编辑器/阅读器
开发工具:C/C++
文件大小:2762KB
下载次数:154
上传日期:2009-09-04 12:01:38
上 传 者seasumn
说明:  目前对于PDF的研究及源码都不多,所以相信此源码能对大家有很大的帮助。mupdf是一个轻量级的pdf解析库和浏览器,非常适合在嵌入式设备上移植使用,但是移植会有一定难度,Good Luck!
(At present the research and source code for the PDF do not have much, it is believed that this source can be of great help to all of us. mupdf is a lightweight pdf parsing library and browser, very suitable for portable use in embedded devices, but the transplants will be some difficulties, Good Luck!)

文件列表:
mupdf\cmapdump.c (3758, 2009-07-01)
mupdf\COPYING (35147, 2009-07-01)
mupdf\fontdump.c (1346, 2009-07-01)
mupdf\glyphlist.txt (80664, 2009-07-01)
mupdf\glyphmorf.py (2456, 2009-07-01)
mupdf\Jamfile (3434, 2009-07-01)
mupdf\mupdf.h (18149, 2009-07-01)
mupdf\pdf_annot.c (3280, 2009-07-01)
mupdf\pdf_build.c (20620, 2009-07-01)
mupdf\pdf_cmap.c (10536, 2009-07-01)
mupdf\pdf_cmap_load.c (3687, 2009-07-01)
mupdf\pdf_cmap_parse.c (10515, 2009-07-01)
mupdf\pdf_cmap_table.c (4905, 2009-07-01)
mupdf\pdf_colorspace1.c (17034, 2009-07-01)
mupdf\pdf_colorspace2.c (3956, 2009-07-01)
mupdf\pdf_crypt.c (13857, 2009-07-01)
mupdf\pdf_debug.c (1822, 2009-07-01)
mupdf\pdf_font.c (23902, 2009-07-01)
mupdf\pdf_fontagl.c (128453, 2009-07-01)
mupdf\pdf_fontenc.c (21799, 2009-07-01)
mupdf\pdf_fontfile.c (8068, 2009-07-01)
mupdf\pdf_fontmtx.c (3070, 2009-07-01)
mupdf\pdf_function.c (34442, 2009-07-01)
mupdf\pdf_image.c (12266, 2009-07-01)
mupdf\pdf_interpret.c (32211, 2009-07-01)
mupdf\pdf_lex.c (6145, 2009-07-01)
mupdf\pdf_nametree.c (1733, 2009-07-01)
mupdf\pdf_open.c (15865, 2009-07-01)
mupdf\pdf_outline.c (2237, 2009-07-01)
mupdf\pdf_page.c (5815, 2009-07-01)
mupdf\pdf_pagetree.c (6195, 2009-07-01)
mupdf\pdf_parse.c (10677, 2009-07-01)
mupdf\pdf_pattern.c (3171, 2009-07-01)
mupdf\pdf_repair.c (7424, 2009-07-01)
mupdf\pdf_resources.c (8759, 2009-07-01)
mupdf\pdf_shade.c (6899, 2009-07-01)
mupdf\pdf_shade1.c (9451, 2009-07-01)
mupdf\pdf_shade4.c (19428, 2009-07-01)
mupdf\pdf_store.c (7445, 2009-07-01)
mupdf\pdf_stream.c (10429, 2009-07-01)
... ...

ABOUT MuPDF is a PDF parsing library and viewer. Fitz is the graphics library it uses. The viewer has ports for X11 and Windows. For Windows, there is also a Mozilla plugin version of the viewer. The latest source can be found at http://ccxvii.net/mupdf/ COPYRIGHT MuPDF and Fitz -- PDF parsing, rendering and viewing toolkit. Copyright (C) 2009 Artifex Software, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. PREREQUISITES Before compiling MuPDF you need to install thirdy party dependencies. zlib libjpeg freetype2 There are a few optional dependencies that you don't strictly need. You will probably want the versions that Ghostscript maintains. jbig2dec jasper MuPDF uses the Perforce Jam build tool. You need the Perforce version 2.5 or later. FTJam will also work. If you do not have a compiled binary for your system, you can find the Jam and FTJam web sites here: http://www.perforce.com/jam/jam.html http://www.freetype.org/jam/index.html I use Mingw and MSYS to compile for Windows. If you use anything else, you are on your own. COMPILING If all of that is installed, compiling should be a cinch. Issue the command 'jam' in the root of the project directory. Add a parameter '-sBUILD=release' or '-sBUILD=profile' to build release or profile versions. $ jam '-sBUILD=release' If the build fails because it cannot find header files or libraries, look first in Jamrules to see if there is anything wrong with the search paths or compiler flags for your system. To compile in the optional jbig2 and jpeg2000 support, you need to add the following arguments to jam: $ jam '-sHAVE_JBIG2DEC=yes' '-sHAVE_JASPER=yes' To build the X11 version under MacOS X, add: $ jam '-sHAVE_X11=yes' If you want a crippled version without the builtin CJK fonts and data files, to shave a few megabytes off the binary size, add: $ jam '-sDEFINES=NOCJK' INSTALLING There is no install. Just copy the resulting binary from the build directory to a directory in your path. REPORTING BUGS AND PROBLEMS Report bugs on the ghostscript bugzilla, with MuPDF as the selected component. http://bugs.ghostscript.com/ If you are reporting a problem with PDF parsing, please include the problematic file as an attachment. -- tor

近期下载者

相关文件


收藏者