PeachDrawing.Text 0.9.20

There is a newer version of this package available.
See the version list below for details.
dotnet add package PeachDrawing.Text --version 0.9.20
                    
NuGet\Install-Package PeachDrawing.Text -Version 0.9.20
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PeachDrawing.Text" Version="0.9.20" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PeachDrawing.Text" Version="0.9.20" />
                    
Directory.Packages.props
<PackageReference Include="PeachDrawing.Text" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PeachDrawing.Text --version 0.9.20
                    
#r "nuget: PeachDrawing.Text, 0.9.20"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PeachDrawing.Text@0.9.20
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PeachDrawing.Text&version=0.9.20
                    
Install as a Cake Addin
#tool nuget:?package=PeachDrawing.Text&version=0.9.20
                    
Install as a Cake Tool

PeachDrawing.Text

Font loading, OpenType shaping, bidirectional text and Unicode text primitives for .NET, with no package dependencies. It is the text engine PeachPDF renders HTML with, published as its own package so other applications can use it too.

Status: pre-1.0. The engine is complete and in production use inside PeachPDF, but its public API is still being designed, so this package currently contains the engine without a stable public surface. It is versioned in lockstep with PeachPDF (the same number for every release) and is a dependency of it.

What is in it:

  • Fonts: TrueType, OpenType (glyf and CFF), WOFF and WOFF2 loading; TrueType/OpenType collections; installed-font discovery on Windows, macOS, Linux (fontconfig) and Android; CSS Fonts 4 face matching by weight, width and style; unicode-range and glyph-coverage fallback.
  • Shaping: GSUB and GPOS (ligatures, kerning, mark attachment, contextual and chaining lookups), Arabic and Syriac joining, the Universal Shaping Engine for Devanagari, Bengali, Gujarati and Tamil, default-ignorable handling, and cmap format 14 variation sequences.
  • Outlines and colour: glyph outlines for glyf and CFF, COLR v0/v1 with CPAL, and CBDT/CBLC and sbix bitmaps.
  • Unicode: the Unicode Bidirectional Algorithm (UAX #9, checked against BidiCharacterTest), script itemization, vertical orientation, and TeX/Liang hyphenation for 73 languages.

Licence

BSD 3-Clause (see LICENSE). Parts of the font readers derive from PDFsharp (MIT), several shaping algorithms are ports of HarfBuzz code (Old MIT), and the data tables come from the Unicode Character Database and the hyph-utf8 pattern collection; each of those notices is reproduced in THIRD-PARTY-LICENSES.md, which ships in this package.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net10.0

    • No dependencies.
  • net11.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on PeachDrawing.Text:

Package Downloads
PeachPDF

Renders HTML and CSS to PDF in pure .NET, with no browser or external process: HTML parsing, the CSS cascade, layout, SVG, MathML and the PDF writer all run in-process.

PeachDrawing.Core

The drawing-surface abstraction (Canvas, RenderContext, Brush, Pen, Font, Image, GraphicsPath and the paint-ready value types) that rendering code draws against. Implement it to build your own render target (a PDF writer, for example), or take PeachDrawing's own raster Canvas implementation.

PeachDrawing.PDF

A PDF Canvas for PeachDrawing.Core: draw shapes, text, images, gradients and effects and write them as PDF, with fonts embedded and subset, PDF/A and PDF/X conformance, encryption and tagged output, in pure .NET.

PeachBrackets

Parses HTML, CSS, SVG and MathML, resolves the cascade and lays the document out into pages, then paints them onto any PeachDrawing canvas: PDF, a bitmap, or your own.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.9.26 256 11/6/2026
0.9.26-preview1 142 11/3/2026
0.9.25 2,005 10/31/2026
0.9.25-preview1 189 10/27/2026
0.9.24 4,995 10/23/2026
0.9.23 4,802 10/16/2026
0.9.22 2,177 10/9/2026
0.9.21 3,890 10/2/2026
0.9.20 124 9/26/2026