📄 changes
字号:
Don't print copyright banner (xpdf); add -v switch to get copyright and version info (all apps); get rid of -err switch (xpdf).Automatically reload the PDF file if it has been changed, i.e., if the modification time is different.Fixed a memory (malloc size) bug in CCITTFaxStream.Fixed two bugs in FontEncoding::hash() -- handle zero-length character names (which were found in a (buggy?) PDF file), and handle character names with high-bit-set characters (use unsigned ints).Added PDFDoc::isLinearized() and corresponding code in pdfinfo.cc.Handle files with an incorrect page count in the Pages dictionary (FOP, from the Apache project produces a page count of 0).Handle TrueType equivalents to the Base14 fonts (Arial, TimesNewRoman, CourierNew) -- Adobe's tools use these names without embedding the fonts.Tweaked the Type 3 font sizing kludge.Changed pdfimages (ImageOutputDev) so it doesn't output JPEG files for 4-component color spaces, since these seem to confuse most image viewers.Added support for generating OPI comments (pdftops -opi).In XOutputDev::drawImage() and drawImageMask(), check for images that are completely off-page.Use the provided alternate or a default (DeviceGray/RGB/CMYK) color space for ICCBased color spaces.Incorporated MacOS-specific code from Leonard Rosenthol.Configure script switches to C++ for the strings.h/bstring.h test.Gfx::opRestore() calls clearPath() to handle (apparently) buggy PDF files produced by FreeHand.The /Type field in most dictionaries is optional (PDF 1.3 change).Move printCommands variable definition into Gfx.cc.If page is smaller than paper, center the PostScript output.Fix a minor bug in the SELECT_TAKES_INT detection in the configure script.TextOutputDev filters out control characters.Changed enough occurrences of 'char *' to 'const char *' to keep gcc 2.95 from barfing.Support for Latin-2 and Latin-5 in pdftotext (however, this will only work if the PDF file contains correct font encodings, which seems to be rare).TextOutputDev converts "eightoldstyle" to "eight", etc.Don't use the return value from sprintf() -- most systems return the length, but some return the string.Minor fixes for SunOS 4.Configure script looks for both select() and fd_set in sys/select.h.Configure script checks for gethostbyname() in -lbsd (for LynxOS).Fix missing closepath bug in PostScript output.Change PostScript portrait/landscape mode selection so it only uses landscape if the page width is greater than the paper width.Tweaked the VMS code in makePathAbsolute().0.91a (2000-oct-11)-------------------Implemented separable CMYK PostScript output (the -level1sep switch to pdftops).Implemented Pattern color spaces with tiling patterns (polygon fills only).Implemented Stamp annotations.Implemented Named link actions.Fixed a really dumb bug in the TrueColor code in SFont (which affects both Type 1 and TrueType font rendering on 16-bit displays).Rewrote the GfxColorSpace / GfxColor code.Switched from djgppcfg to dj_make.bat (from Michael Richmond).Bug in the Type 1 encoding parser -- couldn't handle lines of the form 'dup NNN/name put' (with no space between the code and the name).Fixed the mkstemp() test in configure.in -- switched from AC_TRY_COMPILE to AC_TRY_LINK and added <unistd.h>.Added DESTDIR to top-level Makefile.in.Fixed an incorrect OPI comment in PSOutputDev.Minor tweak to the CCITTFax code to avoid writing past the end of an array on an invalid data stream.Xpdf crashed if the user selected 'reload' when no document was loaded.Look for character names of the form "xx" (two hex digits with no leading alphabetic char) and 'cNNN' (decimal digits with a leading alphabetic char that happens to be a hex digit).FlateStream didn't correctly handle zero-length streams.Xref reconstruction didn't handle the case where the opening "<<" immediately followed "trailer" with no intervening whitespace.Fix the %%DocumentSuppliedResources comment in EPS output.Scale annotations to fit their rectangles.Added Stream::close() to handle cases (e.g., patterns) where a Stream object is used multiple times before it is deleted.Added the topLevel arg to Gfx::go() so it doesn't call out->dump() for every pattern element (and form).Rearranged the GfxResources class.Clean up white space handling in Lexer.Make the dpi parameter to PDFDoc::displayPage etc. a double - this avoids margin gaps with fit-page and fit-width.Fix a rounding problem in xpdf.cc that was causing the window to sometimes be one pixel too small.Fixed a minor bug in dealing with Base-14 TrueType font names.Fixed Lab -> RGB color space conversion.Added support for opacity values (from PDF 1.4) to GfxState and OutputDev. [Thanks to Leonard Rosenthol.]Implemented type 2 functions; rearranged the Function class hierarchy.0.91b (2000-oct-29)-------------------Print a warning about Type 3 fonts (XOutputDev, PSOutputDev).Added the scroll lock behavior to 'n' and 'p' keys in xpdf.Change FileStream buffer size to a #define'd constant.Renamed Pattern to GfxPattern to avoid clashes with Windows and MacOS types.Added CNS (Big5) Chinese font support (CHINESE_CNS_SUPPORT); renamed CHINESE_SUPPORT to CHINESE_GB_SUPPORT.0.91c (2000-nov-19)-------------------Fix an endianness problem in the Type 1 font code which resulted in an incorrect display with "-t1lib plain" on big-endian systems.CCITTFax stream decoder will skip over extra zero bits at end of line, even if EncodedByteAlign flag wasn't set.Added Big5 support to pdftotext (with CHINESE_CNS_SUPPORT enabled).Fixed a typo in the CNS/Big5 encoding translation table.Change the form code in PSOutputDev to store images in arrays of strings.The xref reconstruction (for damaged files) now also looks for 'endstream' tags, and the parser uses this information when setting up stream objects.In pdfinfo, convert Unicode chars in the 00xx range into 8-bit chars; print a warning if there are any other Unicode chars.0.92 (2000-dec-03)------------------Fixed %%BeginResource comment (for xpdf procset) in PostScript output.Added "-title" switch and "xpdf.title" resource to set the window title.Check for <freetype.h> in addition to <freetype/freetype.h>.Upgraded the configure script to smr_macros 0.2.4 - this should fix a bug where configure wasn't correctly finding t1lib.0.92a (2000-dec-17)-------------------Added 'extern "C" { ... }' in various places for ANSI C++ compliance.Tweaked the code that figures out DPI for fit-to-page and fit-to-width modes.Fixed the image transformation code in XOutputDev -- no more missing lines.Implemented color key image masking in XOutputDev.0.92b (2001-jan-07)-------------------Fixed a bug in the error-checking code in the Separation/DeviceN color space parsing functions. [Thanks to Lidia Mirkin.]Added wheel mouse support (mouse buttons 4 and 5). [Thanks to Thorsten Schreiner.]Added preliminary support for FreeType 2 (disabled by default).0.92c (2001-jun-04)-------------------Fixed a bug in the new image transformation code.Look for character names of the form "<letter><digit><digit>", instead of looking for names beginning with a few specific letters.T1FontFile::T1FontFile wasn't initializing vars, and ~T1FontFile wasn't checking before calling T1_DeleteFont -- this caused crashes if it tried to open a nonexistent font file.Catalog::Catalog didn't set baseURI to NULL early enough.Tweak the check for strings.h in the configure script.Yet another fix for the image rotation code in XOutputDev -- off-by-one problem when upsampling.Handle Type 1/1C encodings when using FreeType 2.Allow FreeType2 to render user-supplied Type 1 base fonts.Opening a new file from full-screen mode tried to scroll.Fixed a bug in GfxFont constructor (missing check for NULL base font name).Don't crash if a Type 1 font's FontBBox is non-integer.Pdfinfo prints page size.Tweak for the alpha hack in T1Font/TTFont: sample the middle pixel instead of the top-left pixel.Automatically activate the text input widget in the find window.Changed a Japanese char code mapping in XOutputDev and TextOutputDev: period was being incorrectly mapped to small circle (end-of-sentence character).Add the 0/+/-/z/w key bindings to control the zoom setting.Fixed ImageOutputDev (pdfimages) to correctly handle inline image masks.Extract ascent/descent info from font descriptor.0.92d (2001-jun-26)-------------------Embed TrueType fonts in PostScript output. (Added a "-noembtt" flag to pdftops.)Extract encoding from TrueType fonts.Moved Function classes to a separate file (Function.h/cc).Implemented multi-dimensional sampled Functions.Implemented Type 4 (PostScript calculator) Functions.For Type 0 fonts, FontDescriptor is in descendant font, not parent. [Thanks to Lidia Mirkin.]Added the "-htmlmeta" option to pdftotext.In TextOutputDev, when computing the number of blank lines to insert, do a sanity check on the result.If both FlateDecode and some other filter (e.g., DCTDecode) were applied to an image stream, getPSFilter() crashed instead of just returning NULL.Handle the /Identity function.0.92e (2001-aug-23)-------------------Widths in font dict should override built-in font widths.Changed "rotate left/right" menu items to "rotate clockwise/counterclockwise".The link parsing code choked if the Border array was incorrect (too short).Modified PSOutputDev to output CMYK for fill/stroke colors.0.93 (2001-oct-25)------------------Implement PDF 1.4 (128-bit) decryption.Bump supported PDF version number to 1.4.Text output for Simplified Chinese. [Thanks to Cheung Siu Fai.]Read an app-defaults file for Xpdf.Read a system-wide config file (<prefix>/etc/xpdfrc) if ~/.xpdfrc doesn't exist.Accept and verify owner password; if correct, allow all actions.Added a "-level2sep" option to pdftops to generate Level 2 separable PostScript. The PostScript separation convention operators are used to handle custom (spot) colors. [Thanks to Thomas Freitag for help on this.]Add support for FreeType 2 to the configure script. Warning: this requires FT 2.0.5 or newer.Fixed the bounding rectangle overlap test in the disconnected subpath fill hack in XOutputDev.Stupid typo in font name table in PSOutputDev.Changing the zoom setting with a keyboard shortcut didn't update the displayed setting.Modified the mouse wheel support and added the second wheel (mouse buttons 6 and 7). [Thanks to Michal Pasternak.]Character and word spacing is affected by horizontal scaling (display and PS output). [Thanks to Eddy Ng.]Rotation specified by the text matrix, character spacing, and horizontal scaling interacted incorrectly (display and PS output).Some broken Type 1/1C fonts have a zero BBox -- kludge around this by assuming a largeish BBox.Handle PDF files with an incorrect (too small) xref table size.Allow "-?" and "--help" as aliases for "-h" (all apps).Correctly handle unescaped parens in strings in Lexer.Fixed a bug in LTK where a menu got posted multiple times if you right clicked while a page was being rendered.Removed a comma inside a string in configure.in.Kludge around broken PDF files that use char 32 but encode it as .notdef instead of space.Clean up various compiler warnings: use constructor args like "fooA" if there is a field named "foo". Everything now compiles cleanly under gcc 2.91.66, 2.95.2, and 3.0.1.Page objects now read all of the page rectangles (MediaBox, CropBox, BleedBox, TrimBox, ArtBox), as requested by the pdfTeX folks. Added a new PDFRectangle struct to hold these.Use XOutputDev's Type 3 font size hack in TextOutputDev too, so it does a little better job of extracting text in Type 3 fonts.Modify pdfimages to write one-bit images as PBM files.Work around a bug in cygwin's implementation of fseek.0.93a (2001-nov-21)-------------------Implemented the sh (shaded fill) operator for the axial shading type.Minor fixes to avoid compiler warnings.Cleaned up global variables -- moved many into instance vars and function args.Minor fixes for OS/2.Fix the system config file path for VMS.Fix an uninitialized var in XOutputDev that caused crashes on Alphas.Don't incrementally update the display in full-screen mode.For Type 1/1C fonts, use the FontBBox from the PDF FontDescriptor (instead of the one in the font file) if present -- this avoids problems with fonts that have non-standard FontMatrixes.Add the Euro character to WinAnsiEncoding.Track the bounding box of the clip region to make rendering patterns more efficient.Fix openTempFile() for Win32.0.93b (2001-dec-11)-------------------Added a duplex option to PSOutputDev and a -duplex switch to pdftops.Added XRef::PDFgetDocInfoNF() for pdftex project.Updated the VMS build script.0.93c (2001-dec-12)-------------------Completely rewrote the code that handles font encodings: - everything is Unicode-based - 16-bit fonts are handled much more cleanly - text output encoding can be set more flexiblyNew .xpdfrc config files.1.00 (2002-feb-01)------------------More work on the font encoding rewrite:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -