mirror of
https://github.com/michaelrsweet/pdfio.git
synced 2025-09-01 00:32:08 +02:00
Back out object stream changes, as they would require much more significant
reworking of the "write value" private API that I don't want to do right now.
This commit is contained in:
@@ -34,11 +34,6 @@ pdfioObjClose(pdfio_obj_t *obj) // I - Object
|
||||
// Write what remains for the object...
|
||||
if (!obj->offset)
|
||||
{
|
||||
// If we are writing a PDF 1.5 or later object, put all value-only objects
|
||||
// in object streams...
|
||||
if (obj != obj->pdf->encrypt_obj && obj != obj->pdf->info_obj && obj != obj->pdf->root_obj && strcmp(obj->pdf->version, "1.5") >= 0)
|
||||
return (true);
|
||||
|
||||
// Write the object value
|
||||
if (!_pdfioObjWriteHeader(obj))
|
||||
return (false);
|
||||
|
Reference in New Issue
Block a user