Unclaimed Package Is this your package? Claim it to unlock full analytics and manage your listing.
Claim This Package

Install via UPM

Add to Unity Package Manager using this URL

https://www.pkglnk.dev/pdfsharp.git
PDFSharp

README Markdown

Copy this to your project's README.md

Style
Preview
pkglnk installs badge
## Installation

Add **PDFSharp** to your Unity project via Package Manager:

1. Open **Window > Package Manager**
2. Click **+** > **Add package from git URL**
3. Enter:
```
https://www.pkglnk.dev/pdfsharp.git
```

[![pkglnk](https://www.pkglnk.dev/badge/pdfsharp.svg?style=pkglnk)](https://www.pkglnk.dev/pkg/pdfsharp)

README

PDFSharp

com.sky.pdfsharp is a Unity package that exposes itself as PDFSharp and packages the PDFsharp Core build with a small convenience API for lightweight PDF text extraction.

This repository currently bundles PDFsharp 7.0.0-preview-1 from the upstream PDFsharp NuGet package:

What This Package Provides

  • bundled PDFsharp assemblies under Runtime/Plugins/
  • a tiny text extraction API in the Sky.PdfSharp namespace

The wrapper API currently provides:

  • extracting lightweight text from page content streams

The bundled upstream assemblies remain available to consumers through Unity's normal assembly reference flow.

Package Layout

  • Runtime/Plugins/ - bundled upstream PDFsharp assemblies
  • Runtime/ - wrapper API under the Sky.PdfSharp namespace
  • LICENSE - license for this repository's wrapper/source files
  • THIRD_PARTY_NOTICES.md - notices for bundled third-party binaries

Quick Start

Add the package to a Unity project, then call:

using Sky.PdfSharp;

string text = PdfSharpTextExtractor.ExtractText("/absolute/path/to/document.pdf");
UnityEngine.Debug.Log(text);

Compatibility Notes

  • This package targets Unity 2021.3 or newer.
  • The bundled PDFsharp binaries are based on the upstream netstandard2.0 build of 7.0.0-preview-1.
  • The wrapper in this repository is aimed at lightweight text-reading workflows. Broader PDFsharp usage in Unity should be validated in your target project before shipping.
  • This package bundles the additional dependency assemblies required by upstream preview 7.0.0-preview-1, including Microsoft.Extensions.Logging.Abstractions, System.Security.Cryptography.Pkcs, System.Memory, System.Buffers, System.Numerics.Vectors, and related support libraries.

Scope Notes

  • This package exposes lightweight content-stream text extraction, not full document reconstruction.
  • Scanned PDFs still require OCR-oriented tooling.
  • Text extraction quality depends on the PDF's content streams and may miss layout-heavy or unusual documents.
  • If you need full document generation or modification features, refer to the upstream PDFsharp API and documentation.

Licensing

This repository contains:

  • original wrapper/sample code licensed under MIT in LICENSE
  • bundled PDFsharp and supporting dependency binaries covered by the notices in THIRD_PARTY_NOTICES.md

Comments

No comments yet. Be the first!