Skip to content

Latest commit

 

History

History
32 lines (14 loc) · 2.09 KB

File metadata and controls

32 lines (14 loc) · 2.09 KB

Changelog

[1.3.3] - 2026-04-06

  • Unicode in arguments and file paths: Ghostscript is invoked with native-encoded argv (UTF-16LE on Windows, UTF-8 elsewhere) via pointer-based gsapi_init_with_args when available, and gsapi_run_file uses the same encoding model where supported. Non-ASCII characters in paths and switches are preserved instead of being mangled by the legacy string-based API. New bindings: gsapi_init_with_args_ptr, gsapi_run_file_ptr; GhostscriptProcessor, GhostscriptInterpreter, and related helpers route through these when the loaded Ghostscript library reports support.

  • Samples (Ghostscript.NET.Samples): RunMultipleInstancesSample now waits for both thread-pool jobs, passes -f and the input file as separate argv entries, uses load-from-memory on Windows for parallel processors, and points at a shared test PDF under TestFiles. ViewerSample writes the first page to Output/ViewerSample.png, synchronizes on raster completion, and uses Console.ReadLine() before teardown so work is not cut off; default input is the repo’s PipedOutputSample.ps instead of a missing PDF.

  • Sample inputs in TestFiles: All PDFs and other inputs referenced by the samples (for example ProcessorSample1.pdf, ProcessorSample2.pdf, RasterizerSample1.pdf, RasterizerSample2.pdf, GetInkCoverageSample.pdf, DeviceUsageSample.pdf, AddWatermarkSample.pdf, SendToPrinterSample.pdf, and the Unicode test PDFs) are collected under Ghostscript.NET.Samples/TestFiles/, together with PostScript such as PipedOutputSample.ps, so every demo reads from one shared folder.

[1.3.2] - 2025-12-10

  • Upgraded SkiaSharp version (2.88.8 -> 3.119.1)

  • Included SkiaSharp.NativeAssets.Linux

[1.3.2-rc.3] - 2025-12-05

  • Converted from System.Drawing.Bitmap to SkiaSharp.SKBitmap for cross-platform support

  • Replaced System.Drawing.Common package with SkiaSharp (2.88.8)

  • Updated memory operations to work on both Windows and Linux

  • Fixed color accuracy by correctly handling BGR format from Ghostscript

  • Updated platform-specific structures for Linux compatibility