⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changes

📁 读写pdf文件的程序开发库源码
💻
📖 第 1 页 / 共 4 页
字号:
Fixed array size in FlateStream::compHuffmanCodes() (was causing xpdf  to crash under OSF/1).ASCII85Stream, ASCIIHexStream, and DCTStream didn't check for EOF and  could run past the end of the stream in damaged files.Handle hex escapes (#xx) in names.  Still allow the name /# for  backward-compatibility.Check for NULL characters in encoding array in GfxFont.cc (was calling  strcmp() with NULL which crashed under Solaris).PageAttrs::PageAttrs() didn't initialize crop box boundaries.Changed uses of lookup() to lookupNF() in XRef.cc.Fixed type checking of operators which take a variable number of  args.Gfx::buildImageStream() doesn't need to check for parser (since I got  rid of the bogus array-of-command thing).XOutputFont matches on font reference instead of font tag (similar to  PSOutputDev fix).Fixed bug in position calculation for multi-char substitutions in  XOutputDev.Cleaned up local variables which hid class variables.Optimized variable length decoding in CCITTFaxStream.Set link border width to zero if Border dictionary entry is missing.Throw away zero-length strings in TextOutputDev -- they don't have  valid xMin/xMax values.Swapped order of XLIBS and XPMLIB in xpdf/Makefile.Deleted 'LTKApp::' in function declaration in LTKApp.h.Changed '(XKeyEvent *)&event' to '&event.xkey' in LTKApp.cc.Check that the link rectangle coordinates are in the correct order,  and swap if necessary.TextOutputDev didn't set text to NULL, which caused pdftotext to  segfault if it couldn't open it's output file.Fixed a hash table search bug in GfxFontEncoding::getCharCode().Cleaned up colorspace code: rewrote GfxColorSpace and added  GfxImageColorMap; cleaned up PSOutputDev::doImage.Handle named colorspaces in images.Correctly set the default color after a colorspace change.Old setcolor operators now set the colorspace.Fixed bug with uncompressed blocks in FlateStream.Fixed bug with fixed Huffman code table in FlateStream.Added hash table of X windows (for LTKWindow and LTKWidget) to LTKApp  and replaced calls to XQueryTree with hash table searches -- this  avoids a roundtrip to the server for each event and also fixes the  problem where XQueryTree crashed if the window no longer existed  (with leftover events from a destroyed window).  (Thanks to Yair  Lenga for the suggestion.)Create a new GC for selection -- xor black and white (instead of LTK  foreground and background).Fixed crash with blank lines in .xpdfrc.Allow spaces in font descriptors in fontmap lines in .xpdfrc.Check for bogus object number in XRef::fetch().Use MacRomanEncoding for TrueType fonts that don't specify an  encoding.Certain PDF generators apparently don't include FontDescriptors for  Arial, TimesNewRoman, and CourierNew -- set GfxFont flags  appropriately.Fixed a bug in width guessing in GfxFont -- sans serif and serif were  swapped.Rewrote XRef::readXRef() to avoid using a parser to read the xref  entries.Added NO_TEXT_SELECT option.Ignore APPn/COM/etc. markers in DCT streams.Replaced select() with XMultiplexInput() in LTKApp.cc for VMS.Handle WM_DELETE_WINDOW protocol -- if you ask the window manager to  delete the xpdf window, xpdf will exit cleanly; other  windows/dialogs are simply closed.Optimized DCT decoder; switched to integer arithmetic.The "/Type /Annots" field in an annotation dictionary is optional.Check for null nameTree in Catalog::findDest().In XOutputDev, search user font map before default font map.Added "normal" SETWIDTH parameter to all font descriptors in  XOutputDev (some systems have a narrow-width Helvetica font).Added FOPEN_READ_BIN and FOPEN_WRITE_BIN to support Win32.Added a hack which allows better font substitution for some Type 3  fonts.  Also allow character names of the form /nn and /nnn.Added <strings.h> and <bstring.h> to LTKApp.cc (needed by AIX and IRIX  for bzero() declaration for FD_ZERO).0.80 (98-nov-27)----------------Support for some Japanese fonts (Type 0 fonts using the Adobe-Japan1-2  character collection, horizontal only).Added pdfinfo application.Added pdftopbm application.Added pdfimages application.Added -papercolor option and .paperColor resource.Fixed divide-by-zero problem in XOutputDev Type 3 font matrix kludge.Font subset char names can be 'Bxx' as well as 'Cxx' and 'Gxx'.Fixed bug in color space conversion in DCTStream filter (YCC->RGB was  correct, YCCK->CMYK was broken).Added XRef::getDocInfo() and PDFDoc::getDocInfo() to support pdfinfo.Optimized GfxImageColorMap.Lexer::getStream(), getPos(), and setPos() check for null stream.Decryption code now does strings as well as streams.ASCII85 decoder rounds short tuples up instead of down.CropBox and MediaBox can be non-integers.PostScript output:  - Use a rectangle operator.  - Call setpagedevice with page size.  - Insert %%PageOrientation comments.  - Add paper size flags (-paperw and -paperh) to xpdf and pdftops.  - If HAVE_POPEN is not defined, and user tries to print to '|...',    the PSOutputDev destructor tried to write to the PS file.  - Added support for forms (pdftops -form).Removed error messages for empty paths in stroke, fill, etc. operators.Don't allow flatnesses less than 1 in XOutputDev (this speeds up  rendering a little bit when there are lots of tiny curves).Moved the font subset character name guessing from GfxFont to  XOutputDev and TextOutputDev - now these files print correctly.Cast argument to XFree() to XPointer; add XPointer definition where  necessary (portability fixes).Various minor VMS fixes.Changes to configure script and Makefiles:  - Print a warning if X is missing.  - Use C++ when checking select() argument type (HP-UX).  - Use 0 instead of NULL when checking select().  - Default to gcc instead of c++.  - Get rid of AC_C_INLINE -- this is meant for C, not C++.  - Changed -USE_GZIP to -DUSE_GZIP.  - Added ability to compile ouside of the source tree.  - Added .cc.o rule to {goo,ltk,xpdf}/Makefile.in.  - Added @LIBS@ to XLIBS in xpdf/Makefile.in.  - In top-level Makefile.in: added '-' to clean commands; added    distclean rule.  - Create install directories.  - Use INSTALL_DATA (instead of INSTALL) for man pages.  - Changed xpdf-ltk.h rule to avoid leaving an empty file when    ltkbuild fails.  - Change things so that by default, ltkbuild is not built and    xpdf-ltk.h is not rebuilt.  - Use AM_PROG_CC_STDC to add compiler flags for ANSI C.  - Modify autoconf's builtin macros to check for xlC.  - Use Steve Robbins' smr_CHECK_LIB to test for pixmap library (Xpm)    -- this should fix the problems on systems that have the library    but not the include file.  - Added better test for sys/select.h, sys/bsdtypes.h, strings.h,    bstring.h.  - New VMS make scripts from Martin P.J. Zinser.  - Moved dependences into Makefile.in -- this gets rid of problems    with 'cc -MM' (which is gcc-specific) and 'include Makefile.dep'    (which isn't supported by all make implementations).  Also changed    all non-system include files to '#include "..."' (from '<...>').Tweaked the TextOutputDev heuristics slightly.Modify Gfx to use a stack of resources -- this is necessary for Form  XObjects, which can define their own local resources; also modified  PSOutputDev to dump fonts used by forms.Look for excessively large MediaBox (compared to CropBox) and shrink  it to CropBox.Minor fix to scrolling when dragging a selection.Various patches for pdftex and Win32 support.Deal with Separation colorspaces by using their alternate colorspace  entry.Added PBMOutputDev for pdftopbm application.Added ImageOutputDev for pdfimages application.Separated XOutputDev into LTKOutputDev + XOutputDev.Added support for 1-D and mixed 1-D/2-D (Group 3) decoding to  CCITTDecode filter.Added resetImage(), getImagePixel(), and skipImageLine() to Stream  class; used these in XOutputDev, PSOutputDev, and ImageOutputDev.Implemented predictor for LZW and Flate filters.In pdfImM1 in PSOutputDev prolog: div should be idiv.Changed output from printUsage() function in parseargs to look nicer.0.90 (99-aug-02)----------------Added Type 1/1C font rendering, using t1lib.Added "backward" and "forward" buttons.Added fit-page and fit-page-width zoom factors; replaced zoom-in and  zoom-out buttons with a zoom popup menu.Type 1C fonts are converted to Type 1 and embedded in PostScript.Support vertical Japanese text.Added Japanese text support (EUC-JP) to pdftotext.Bumped PDF version to 1.3.  Added stub functions for ri and sh  operators. (But there are still some missing 1.3 features.)Added -raw option to pdftotext.Minor changes to allow compiling under MS Visual C++ 5.0.Top-level makefile: changed 'mkdir -p' to '-mkdir -p'.Configure script: added X_CFLAGS to smr_CHECK_LIB(Xpm).Added Xpm_CFLAGS to xpdf/Makefile.in (this is needed to get the -I for  the xpm includes).Rewrote code that handles font encodings; added support for Type 1C  fonts.In the setpagedevice dictionary in PostScript output - added a  /Policies entry which tells the PS interpreter to scale the page to  fit the available paper.Changed PageUp behavior slightly: move to bottom (instead of top) of  previous page.TextPage used character's dx (width + char space) instead of just its  width.Read base URI from document Catalog (for URI-type links).Minor change to configure script to avoid using 'unset'.Fixed bugs in CropBox inheritance.Fixed a bug in resource stack handling for form objects.Display forms even if they have a missing/incorrect FormType.Fixed a bug in stream predictors -- the predictor parameters (width,  comps, bits) don't need to match the actual image parameters.  Completely rearranged the predictor code.Fixed PostScript output to correctly handle stream predictors.Don't segfault on empty (zero-page) documents.Added the xpdf.viKeys feature.Added the ffi and ffl ligatures to XOutputDev and TextOutputDev.Pdftotext and pdfimages now check okToCopy().Added a '-q' flag to all programs (except pdfinfo) to suppress  messages and errors.Deal with DeviceN colorspaces by using their alternate colorspace  entry.Change PostScript output so setpagedevice is only called once, at the  very beginning of the document (to avoid problems on duplex  printers).Changes to configure script and makefiles for DOS/DJGPP.FontEncoding::getCharCode() looked for (code>0) instead of (code>=0).Added keypad arrow keys, etc. to xpdf.Minor changes to gfile.{h,cpp} (<windows.h>) to compile under VC++.Fixed CCITTFaxStream to correctly handle all parameters.Modifications to gfile.{h,cc} for Acorn.Some minor changes for OS/2.Added 'SHELL = /bin/sh' to Makefiles.Compare file version to pdfVersionNum+0.0001 to avoid floating point  precision problems.Added LDFLAGS to Makefiles.Removed strip entirely from configure and Makefiles.Fixed a bug in choosing the correct DCTStream color transform.0.91 (2000-aug-14)------------------Added TrueType font rendering, using FreeType.Support for Chinese fonts (Type 0 fonts using the Adobe-GB1-2  character collection).Decryption code is included with the main distribution (now that the  US export regulations are a little bit less irrational).Added (very basic) support for generating PostScript with Japanese  fonts -- only tested with ghostscript so far.Added support for generating EPS files (pdftops -eps).Much-improved image filtering in xpdf (for downsampling and for  transforms other than 0/90/180/270-degree rotations).Implemented a basic full-screen (presentation) mode (xpdf  -fullscreen).  (There is currently no way to switch between window  and full-screen modes on the fly -- this will be fixed in a later  release.)Added "reload" menu item.Do a better job with anti-aliased Type 1 fonts on non-white  backgrounds.Handle Lab color spaces.Handle non-null user passwords.Avoid security hole with tmpnam()/fopen() -- added openTempFile() in  goo/gfile.cc.  [Thanks to Joseph S. Myers for pointing this out.]Filter out quote marks (' and ") in URLs before running urlCommand to  avoid a potential security hole.  [Thanks to Frank Doepper for  pointing this out.]Fixed TrueColor detection to look at the complete list of available  visuals, not just the default visual.In gfile.h, changed NAMLEN(dirent) macro to NAMLEN(d).Removed copyright character from start-up banners.In the open and save dialogs, if the open/save button is pressed with  no file name, the dialog is not canceled.Added Xpm_CFLAGS to ltk/Makefile.XOutputDev::updateLineAttrs was using dashLength before it was  defined.In top-level Makefile.in, use INSTALL_PROGRAM instead of INSTALL.In man page, recommend -q instead of -err in .mailcap.Changes for GNOME / Bonobo support:  - Separated Stream classes into BaseStream and FilterStream trees.  - Got rid of all FileStream-specific stuff.  - Added a PDFDoc constructor that takes a BaseStream* instead of a    file name.Allow newlines inside strings (Photoshop does this).Don't require whitespace between tokens in consecutive content  streams (for pages that specify an array of streams).Look at MissingWidth when constructing font character widths array.Fixed a bug that caused incorrect PostScript output for images that  use 8-bit indexed color spaces with < 256 colors in the palette.Handle case where embedded font file is bad (this was seg faulting).Minor changes for Windows/pdftex.Work around a bug in PDF files from the IBM patent server.Fixed bugs in PostScript form generation: use pdfStartPage instead of  pdfSetup; problem with inline images.Minor bug fix in FlateStream::loadFixedCodes().Added %%DocumentMedia and %%PageMedia comments to the PostScript so  that gsview (a Windows frontend for ghostscript) gets the right  paper size.Draw AcroForm fields that have appearance annotations.Bounds check gray, CMYK, and RGB values (in GfxColor).Moved the link border drawing code into Page (from PDFDoc).Minor modifications for pdftohtml.PSOutputDev: use the Type 3 font scaling kludge from XOutputDev.Separation color spaces were handled incorrectly in images.Fixed a bug with form bounding boxes.Modified the t1lib support -- replace libt1x code with my own code.  Type 1 and TrueType fonts are now handled similarly, and clipping  works on Type 1 fonts.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -