News: 0001543839

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

LibreOffice Begins Landing Zstd Integration

([LibreOffice] 3 Hours Ago Zstandard Compression)


LibreOffice supports Zip compression for ODT and DOCX files, among other compression uses. There's now work beginning to be merged for supporting Zstandard (Zstd) compression moving forward.

For nearly five years now has been [1]this Document Foundation bug report suggesting Zstandard compression as a faster and higher compression ratio than Zip. But it also comes down to a documentation format standards issue for being able to support documents compressed with Zstd. As such there hasn't been much activity around Zstd compression in LibreOffice Git until the past month.

Open-source developer Akshay Kumar Dubey has been working to accomplish Zstd integration within LibreOffice. Akshay [2]refactored the inflator code within LibreOffice Git for better extensibility. And then finally [3]merged today is adding actual Ztd build support and decompression handling to LibreOffice.

"Integrate build system support for the Zstandard (zstd) library and implement the corresponding C++ decompression stream classes, enabling future use of zstd-compressed streams in ZIP packages.

...

This completes the infrastructure for zstd decompression support. The next step (Part 2c) involves adding logic to select the appropriate Inflater based on the ZIP entry's compression method ID."

It will be interesting to see in time ultimately where Zstd usage ends up within this open-source office suite and the wider document standards space.



[1] https://bugs.documentfoundation.org/show_bug.cgi?id=137308

[2] https://cgit.freedesktop.org/libreoffice/core/commit/?id=3e1aa5805cb2339a55ffce0448e0b3b5d8efd3a6

[3] https://cgit.freedesktop.org/libreoffice/core/commit/?id=b410749d30ed167f5bf0da6491d72e55f596cd41



cl333r

schmidtbag

p0358

acobar

The further the spiritual evolution of mankind advances, the more certain it
seems to me that the path to genuine religiosity does not lie through the
fear of life, and the fear of death, and blind faith, but through striving
after rational knowledge.
-- Albert Einstein