mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-03 15:17:29 +00:00
2.1
git-svn-id: svn+q:///qpdf/trunk@913 71b93d88-0707-0410-a8cf-f5a4172ac649
This commit is contained in:
parent
fc5ca3b18c
commit
91ce55a4e3
@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
|
||||
dnl This config.in requires autoconf 2.5 or greater.
|
||||
|
||||
AC_PREREQ(2.60)
|
||||
AC_INIT(qpdf,2.1.rc1)
|
||||
AC_INIT(qpdf,2.1)
|
||||
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_FILES([autoconf.mk])
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <qpdf/QPDF_Null.hh>
|
||||
#include <qpdf/QPDF_Dictionary.hh>
|
||||
|
||||
std::string QPDF::qpdf_version = "2.1.rc1";
|
||||
std::string QPDF::qpdf_version = "2.1";
|
||||
|
||||
void
|
||||
QPDF::InputSource::setLastOffset(off_t offset)
|
||||
@ -425,9 +425,9 @@ QPDF::setTrailer(QPDFObjectHandle obj)
|
||||
void
|
||||
QPDF::reconstruct_xref(QPDFExc& e)
|
||||
{
|
||||
static PCRE obj_re("^(\\d+) (\\d+) obj\\b");
|
||||
static PCRE endobj_re("^endobj\\b");
|
||||
static PCRE trailer_re("^trailer\\b");
|
||||
static PCRE obj_re("^\\s*(\\d+)\\s+(\\d+)\\s+obj\\b");
|
||||
static PCRE endobj_re("^\\s*endobj\\b");
|
||||
static PCRE trailer_re("^\\s*trailer\\b");
|
||||
|
||||
warn(QPDFExc(qpdf_e_damaged_pdf, this->file.getName(), "", 0,
|
||||
"file is damaged"));
|
||||
@ -561,7 +561,7 @@ QPDF::read_xref(off_t xref_offset)
|
||||
int
|
||||
QPDF::read_xrefTable(off_t xref_offset)
|
||||
{
|
||||
static PCRE xref_first_re("^(\\d+)\\s+(\\d+)");
|
||||
static PCRE xref_first_re("^\\s*(\\d+)\\s+(\\d+)");
|
||||
static PCRE xref_entry_re("(?s:(^\\d{10}) (\\d{5}) ([fn])[ \r\n]{2}$)");
|
||||
|
||||
std::vector<ObjGen> deleted_items;
|
||||
@ -1350,7 +1350,7 @@ int
|
||||
QPDF::recoverStreamLength(InputSource* input,
|
||||
int objid, int generation, off_t stream_offset)
|
||||
{
|
||||
static PCRE endobj_re("^endobj\\b");
|
||||
static PCRE endobj_re("^\\s*endobj\\b");
|
||||
|
||||
// Try to reconstruct stream length by looking for
|
||||
// endstream(\r\n?|\n)endobj
|
||||
|
@ -5,8 +5,8 @@
|
||||
<!ENTITY mdash "—">
|
||||
<!ENTITY ndash "–">
|
||||
<!ENTITY nbsp " ">
|
||||
<!ENTITY swversion "2.1.rc1">
|
||||
<!ENTITY lastreleased "October 24, 2009">
|
||||
<!ENTITY swversion "2.1">
|
||||
<!ENTITY lastreleased "October 30, 2009">
|
||||
]>
|
||||
<book>
|
||||
<bookinfo>
|
||||
@ -2072,7 +2072,7 @@ print "\n";
|
||||
</para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>2.1.rc1: October 24, 2009</term>
|
||||
<term>2.1: October 30, 2009</term>
|
||||
<listitem>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
|
Loading…
Reference in New Issue
Block a user