PdfBox.Net.SkiaSharp
4.0.0-preview.3
See the version list below for details.
dotnet add package PdfBox.Net.SkiaSharp --version 4.0.0-preview.3
NuGet\Install-Package PdfBox.Net.SkiaSharp -Version 4.0.0-preview.3
<PackageReference Include="PdfBox.Net.SkiaSharp" Version="4.0.0-preview.3" />
<PackageVersion Include="PdfBox.Net.SkiaSharp" Version="4.0.0-preview.3" />
<PackageReference Include="PdfBox.Net.SkiaSharp" />
paket add PdfBox.Net.SkiaSharp --version 4.0.0-preview.3
#r "nuget: PdfBox.Net.SkiaSharp, 4.0.0-preview.3"
#:package PdfBox.Net.SkiaSharp@4.0.0-preview.3
#addin nuget:?package=PdfBox.Net.SkiaSharp&version=4.0.0-preview.3&prerelease
#tool nuget:?package=PdfBox.Net.SkiaSharp&version=4.0.0-preview.3&prerelease
PdfBox.Net.SkiaSharp
Complete cross-platform SkiaSharp rendering and glyph layout backend for PdfBox.Net.
Install:
dotnet add package PdfBox.Net.SkiaSharp
Register the backend once at application startup before using PDFRenderer or
APIs that need bitmap/image encoding:
using PdfBox.Net.Loader;
using PdfBox.Net.Rendering;
SkiaRenderingBackend.Register();
using PDDocument document = Loader.LoadPDF("input.pdf");
BufferedImage image = new PDFRenderer(document).RenderImageWithDPI(0, 144);
For text that needs glyph shaping, register the SkiaSharp glyph layout processor on the content stream and load the Type 0 font through the processor:
using PdfBox.Net.GlyphLayout.SkiaSharp;
using PdfBox.Net.PDModel;
using PdfBox.Net.PDModel.Font;
using PDDocument document = new();
PDPage page = new();
document.AddPage(page);
using SkiaGlyphLayoutProcessor glyphLayout = new();
using Stream fontStream = File.OpenRead("NotoSans-Regular.ttf");
PDType0Font font = glyphLayout.LoadFont(document, fontStream,
new SkiaGlyphLayoutProcessor.FontOptions()
.SetKerningOn()
.SetLigaturesOn());
using PDPageContentStream contents = new(document, page);
contents.BeginText();
contents.SetFont(font, 12);
contents.SetGlyphLayoutProcessor(glyphLayout);
contents.ShowText("AV office");
contents.EndText();
Glyph layout uses Unicode.Bidi and HarfBuzzSharp internally. These dependencies
stay in this optional backend package; PdfBox.Net.Core continues to expose
only the Java-shaped PDFBox glyph layout interfaces.
This shapes generated content streams that opt into the processor. Existing PDF page rendering still follows the glyph codes and positions already present in the PDF content stream. The processor resolves bidirectional visual runs with Unicode.Bidi before shaping each run with HarfBuzz.
This package intentionally owns the SkiaSharp dependency so the core
PdfBox.Net.Core package can keep Java-shaped graphics proxy APIs without
exposing SkiaSharp types directly.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- HarfBuzzSharp (>= 14.2.0)
- HarfBuzzSharp.NativeAssets.Linux (>= 14.2.0)
- HarfBuzzSharp.NativeAssets.macOS (>= 14.2.0)
- HarfBuzzSharp.NativeAssets.Win32 (>= 14.2.0)
- PdfBox.Net.Core (>= 4.0.0-preview.3)
- SkiaSharp (>= 4.148.0)
- SkiaSharp.NativeAssets.Linux (>= 4.148.0)
- Unicode.Bidi (>= 0.3.18-preview.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PdfBox.Net.SkiaSharp:
| Package | Downloads |
|---|---|
|
PdfBox.Net.Rendering
Convenience package that registers the supported PdfBox.Net SkiaSharp renderer and ImageMagick image/color providers. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.0-preview.6 | 0 | 7/17/2026 |
| 4.0.0-preview.5 | 61 | 7/15/2026 |
| 4.0.0-preview.4 | 60 | 7/15/2026 |
| 4.0.0-preview.3 | 103 | 7/14/2026 |
| 4.0.0-preview.2 | 72 | 7/7/2026 |
| 4.0.0-preview.1 | 52 | 7/2/2026 |
| 3.0.8-preview.1 | 52 | 7/2/2026 |
Tracks Apache PDFBox apache/pdfbox trunk (4.0.0-SNAPSHOT).