mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2024-12-27 05:48:20 +01:00
Compare commits
4 Commits
2ea99597cc
...
2ecb9cfb2d
Author | SHA1 | Date | |
---|---|---|---|
|
2ecb9cfb2d | ||
|
91a467e55c | ||
|
d705d7eb5d | ||
|
55745bcea8 |
@ -10,6 +10,8 @@ v1.4.0 - YYYY-MM-DD
|
|||||||
- Added new `pdfioFileCreateNameObj` and `pdfioObjGetName` APIs for creating and
|
- Added new `pdfioFileCreateNameObj` and `pdfioObjGetName` APIs for creating and
|
||||||
getting name object values (Issue #76)
|
getting name object values (Issue #76)
|
||||||
- Updated documentation (Issue #78)
|
- Updated documentation (Issue #78)
|
||||||
|
- Fixed reading of PDF files whose trailer is missing a newline (Issue #80)
|
||||||
|
- Fixed builds with some versions of VC++ (Issue #81)
|
||||||
|
|
||||||
|
|
||||||
v1.3.2 - 2024-08-15
|
v1.3.2 - 2024-08-15
|
||||||
|
@ -1977,7 +1977,7 @@ load_xref(
|
|||||||
{
|
{
|
||||||
PDFIO_DEBUG("load_xref: '%s' at offset %lu\n", line, (unsigned long)trailer_offset);
|
PDFIO_DEBUG("load_xref: '%s' at offset %lu\n", line, (unsigned long)trailer_offset);
|
||||||
|
|
||||||
if (!strncmp(line, "trailer", 7) && (!line[7] || isspace(line[7] & 255)))
|
if (!strncmp(line, "trailer", 7) && (!line[7] || isspace(line[7] & 255) || line[7] == '<'))
|
||||||
{
|
{
|
||||||
if (line[7])
|
if (line[7])
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user