PeachDrawing.Text
0.9.22
See the version list below for details.
dotnet add package PeachDrawing.Text --version 0.9.22
NuGet\Install-Package PeachDrawing.Text -Version 0.9.22
<PackageReference Include="PeachDrawing.Text" Version="0.9.22" />
<PackageVersion Include="PeachDrawing.Text" Version="0.9.22" />
<PackageReference Include="PeachDrawing.Text" />
paket add PeachDrawing.Text --version 0.9.22
#r "nuget: PeachDrawing.Text, 0.9.22"
#:package PeachDrawing.Text@0.9.22
#addin nuget:?package=PeachDrawing.Text&version=0.9.22
#tool nuget:?package=PeachDrawing.Text&version=0.9.22
PeachDrawing.Text
Font loading, OpenType shaping, bidirectional text and Unicode text primitives for .NET, with no package dependencies. It is a standalone package, usable on its own in any application.
Status: pre-1.0. The engine is complete and in production use, and its public API is being published area by area. Font loading and matching (FontSet, TypefaceFamily, Typeface), what a typeface says about itself (TypefaceMetrics, glyph mapping, advances), shaping (Shaper, ShapeSettings, GlyphRun), glyph outlines and colour glyphs (GlyphOutline, ColorPalette, the COLR paint graph, bitmap glyphs) and the PeachDrawing.Text.Unicode namespace (bidirectional text, script itemization, OpenType tags, vertical orientation, hyphenation, emoji presentation) the MATH table (Typeface.MathData) and font subsetting for embedding (TypefaceExporter) and variable fonts (Typeface.WithAxes) are public today; paragraph layout is still internal and will follow.
What is in it:
- Fonts: TrueType, OpenType (
glyfand 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-rangeand 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
cmapformat 14 variation sequences. - Outlines and colour: glyph outlines for
glyfand 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.
Sponsorship
PeachPDF is free and open source. If it saves you time, you can sponsor jhaygood86 on GitHub; sponsors can get paid support, see Sponsorship.
Licence
BSD 3-Clause (see LICENSE). Parts of the font readers derive from PDFsharp (MIT), the TrueType bytecode interpreter
and Adobe's CFF engine that grid-fit outlines are ported from FreeType (FreeType Project License, FTL.TXT, with Adobe's patent licence grant), several shaping algorithms are
ports of HarfBuzz code (Old MIT), and the data tables come from the Unicode Character Database, the hyph-utf8
pattern collection and ICU's Thai and Khmer word lists; each of those notices is reproduced in THIRD-PARTY-LICENSES.md, which ships in this package.
Portions of this software are copyright © 1996-2026 The FreeType Project (https://freetype.org). All rights reserved. This software is based in part on the work of the FreeType Team.
| Product | Versions 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. |
-
net10.0
- PeachDrawing.Text.Data (>= 0.9.22)
-
net11.0
- PeachDrawing.Text.Data (>= 0.9.22)
-
net8.0
- PeachDrawing.Text.Data (>= 0.9.22)
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 | 50 | 11/6/2026 |
| 0.9.26-preview1 | 128 | 11/3/2026 |
| 0.9.25 | 1,765 | 10/31/2026 |
| 0.9.25-preview1 | 188 | 10/27/2026 |
| 0.9.24 | 4,256 | 10/23/2026 |
| 0.9.23 | 4,690 | 10/16/2026 |
| 0.9.22 | 2,153 | 10/9/2026 |
| 0.9.21 | 3,752 | 10/2/2026 |
| 0.9.20 | 124 | 9/26/2026 |