VOOZH about

URL: https://www.phoronix.com/news/LibreOffice-Landing-Zstd

⇱ LibreOffice Begins Landing Zstd Integration - Phoronix


👁 Phoronix

LibreOffice Begins Landing Zstd Integration

Written by Michael Larabel in LibreOffice on 1 May 2025 at 08:32 AM EDT. 21 Comments
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 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.

👁 LibreOffice Zstd merge


Open-source developer Akshay Kumar Dubey has been working to accomplish Zstd integration within LibreOffice. Akshay refactored the inflator code within LibreOffice Git for better extensibility. And then finally 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.

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.