Skip to content

v0.34.0

Choose a tag to compare

@shps951023 shps951023 released this 27 Jun 06:46

What's New in v0.34.0

Highlights

  • PPTX to PDF conversion -- added a full PPTX conversion path with slide shape, image, table, SmartArt fallback, SVG blip, crop, and text rendering support.
  • Improved PowerPoint fidelity -- fixed theme color luminosity transforms with HSL luminance handling, improving Office-compatible color output.
  • Inherited placeholder text layout -- preserves layout/master placeholder alignment, spacing, line spacing, empty paragraphs, and hanging bullet indentation.
  • PPTX benchmark coverage -- added Asian Pacific PPTX issue files, reference PDFs, rendered comparison images, benchmark scripts, and conversion automation.
  • CLI, GUI, and web polish -- updated converter entry points, README content, localized docs, API/Web behavior, and GUI flow around the expanded conversion support.

Validation

  • Focused PPTX tests: dotnet test tests/MiniPdf.Tests --filter "PptxToPdfConverterTests" --no-restore -- 18/18 passed.
  • Full test suite: dotnet test tests/MiniPdf.Tests --no-restore -- 134/134 passed.
  • Library build: dotnet build src/MiniPdf/MiniPdf.csproj --no-restore -- 0 errors.
  • Asian Pacific PPTX benchmark: overall 0.9226, visual average 0.8567, text similarity 0.9499.

Downloads

Assets are built and attached automatically by GitHub Actions after the release is created.

GUI Download

Open the release page in a browser and download the minipdf-gui-* package for your platform:

https://github.com/mini-software/MiniPdf/releases/tag/v0.34.0

Platform GUI asset
Windows x64 minipdf-gui-win-x64.zip
Windows ARM64 minipdf-gui-win-arm64.zip
Linux x64 minipdf-gui-linux-x64.tar.gz
Linux ARM64 minipdf-gui-linux-arm64.tar.gz
macOS x64 minipdf-gui-osx-x64.tar.gz
macOS ARM64 minipdf-gui-osx-arm64.tar.gz

CLI Download

Use GitHub CLI to download the command-line package for your platform:

gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-win-x64.zip"
gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-win-arm64.zip"
gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-linux-x64.tar.gz"
gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-linux-arm64.tar.gz"
gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-osx-x64.tar.gz"
gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-osx-arm64.tar.gz"

To download the GUI package from the CLI, use the corresponding minipdf-gui-* pattern, for example:

gh release download v0.34.0 --repo mini-software/MiniPdf --pattern "minipdf-gui-win-x64.zip"

Changes since v0.33.0

f134527 Enhance PptxToPdfConverter to support text alignment and spacing for inherited placeholders
45cb5c1 feat(pptx): add luminosity transform adjustments in color conversion and update tests
3e7c332 Refactor PptxToPdfConverter to enhance text rendering and cropping functionality
95e84f2 Add automated benchmark for PPTX to PDF conversion

Git Diff Summary

.gitignore                                         |    1 +
AGENTS.md                                          |    2 +
MiniPdf.Api/Program.cs                             |   13 +-
MiniPdf.Web/MiniPdf.Web.Client/I18n.cs             |   42 +-
MiniPdf.Web/MiniPdf.Web.Client/Pages/Converter.razor       |   10 +-
MiniPdf.Web/MiniPdf.Web.Client/wwwroot/app.css     |    2 +
MiniPdf.Web/README.md                              |    2 +-
README.md                                          |   11 +-
documents/README.*.md                              |   78 +-
scripts/Run-Benchmark_pptx.ps1                     |   67 +
src/MiniPdf.Cli/MiniPdf.Cli.csproj                 |    4 +-
src/MiniPdf.Cli/Program.cs                         |   10 +-
src/MiniPdf.Gui/ViewModels/MainWindowViewModel.cs  |    3 +-
src/MiniPdf.Gui/Views/MainWindow.axaml.cs          |    2 +-
src/MiniPdf/MiniPdf.cs                             |  127 +-
src/MiniPdf/MiniPdf.csproj                         |    4 +-
src/MiniPdf/PdfPage.cs                             |   20 +
src/MiniPdf/PdfWriter.cs                           |   31 +
src/MiniPdf/PptxReader.cs                          | 1610 ++++++++++++++++++++
src/MiniPdf/PptxToPdfConverter.cs                  |  836 ++++++++++
tests/Issue_Files/pptx/Asian Pacific.pptx          |  Bin 0 -> 547003 bytes
tests/Issue_Files/reference_pptx/Asian Pacific.pdf |  Bin 0 -> 355585 bytes
tests/Issue_Files/reports_pptx/*                   | comparison report and rendered image assets
tests/MiniPdf.Benchmark/generate_reference_pdfs_pptx.py | 136 ++
tests/MiniPdf.Benchmark/run_benchmark_pptx.py      |  152 ++
tests/MiniPdf.Scripts/convert_pptx_to_pdf.cs       |   64 +
tests/MiniPdf.Tests/PptxToPdfConverterTests.cs     |  883 +++++++++++
59 files changed, 4325 insertions(+), 96 deletions(-)

Full Changelog: v0.33.0...v0.34.0