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:
Michael R Sweet
2025-02-21 16:57:01 -05:00
parent aa6a20c042
commit e996898b57
2 changed files with 1 additions and 38 deletions

View File

@@ -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);