RecursiveAI.OneImage.Text 1.7.0

dotnet add package RecursiveAI.OneImage.Text --version 1.7.0
                    
NuGet\Install-Package RecursiveAI.OneImage.Text -Version 1.7.0
                    
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="RecursiveAI.OneImage.Text" Version="1.7.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneImage.Text" Version="1.7.0" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneImage.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 RecursiveAI.OneImage.Text --version 1.7.0
                    
#r "nuget: RecursiveAI.OneImage.Text, 1.7.0"
                    
#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 RecursiveAI.OneImage.Text@1.7.0
                    
#: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=RecursiveAI.OneImage.Text&version=1.7.0
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneImage.Text&version=1.7.0
                    
Install as a Cake Tool

OneImage.Text

Fonts and text for OneImage: load TrueType, OpenType (CFF), TrueType Collection, WOFF and WOFF2 fonts, draw COLR color glyphs, measure and lay out text, and draw it on an Image or Canvas through the vector drawing layer. Pure C# with no dependency beyond OneImage and .NET.

using OneImage;
using OneImage.Drawing;
using OneImage.Text;

var fonts = new FontCollection();
FontFamily family = fonts.Add("Roboto-Regular.ttf");
Font font = family.CreateFont(32);

Image img = Image.Load("photo.jpg")
    .DrawText("Hello, world", new TextOptions(font) { Origin = new(40, 60) }, Brush.Solid(new Rgba32(255, 255, 255, 255)));

Text is shaped with OpenType GSUB/GPOS (ligatures, kerning, marks) for Latin, Greek, Cyrillic, Arabic, Hebrew, the Indic scripts, Thai, Lao and the other complex scripts (with the Unicode bidirectional algorithm, so mixed left-to-right and right-to-left paragraphs lay out correctly) and wrapped with the Unicode line breaking algorithm. Vertical and bottom-to-top layout, TrueType hinting (opt-in) and COLR version 0 and 1 color glyphs are supported, as are rich-text runs, decorations, font fallback, text on a path and installed fonts. The text guide covers the API, units, defaults and the differences from SixLabors.Fonts.

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RecursiveAI.OneImage.Text:

Package Downloads
RecursiveAI.OneImage.Svg

SVG support for OneImage: reads static SVG (shapes, paths, gradients, patterns, clipping, masks, markers, filters and text) as an image format, rendered directly at the requested output size.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.7.0 0 10/23/2026
1.6.0 0 10/23/2026
1.5.0 1 10/23/2026
1.4.0 38 10/23/2026
1.3.0 40 10/23/2026
1.2.0 49 10/22/2026

See CHANGELOG.md in the repository.