Prowl.Scribe 3.5.6

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

<img src="Samples/RaylibTest/ProwlLogo.png" width="100%" alt="Scribe logo image">

Github top languages GitHub version GitHub license GitHub issues GitHub stars Discord

Scribe is under active development. APIs may change and it hasn't yet proven itself in production.

<p align="center">Join our Discord server! 🎉</p>

<p align="center">A Fast & Flexible Font System for .NET</p>

<p align="center">📚 Documentation: Coming Soon 📚</p>

<span id="readme-top"></span>

<p align="center">Table of Contents</p>

  1. About The Project
  2. Features
  3. Getting Started
  4. Contributing
  5. License

<span align="center">📝 About The Project 📝</span>

Scribe is an open-source, MIT-licensed TrueType font parser and rasterizer for .NET. It powers text rendering in the Prowl game engine but is designed to work in any environment that can provide an IFontRenderer.

<span align="center">✨ Features ✨</span>

  • TrueType font parsing and glyph rasterization
  • Font Families
  • Dynamic atlas packing with optional expansion
  • Flexible text layout engine with cursor hit testing
  • Fonts, sizes, spacing, decoration and even substitution for each character, with kerning and wrapping intact
  • Draw hooks on every glyph for animated text
  • Pluggable rendering backend through IFontRenderer
  • Optional layout caching with LRU eviction
  • TTF Loader and Rasterizer Based Upon STBTrueType
  • Unicode codepoint mapping, full glyph metrics (advance, bearings, bounds, vertical metrics) and kerning pairs
  • Extracts glyph outlines and rasterizes to 8-bit alpha bitmaps

<span align="center">🚀 Getting Started 🚀</span>

Installation

Add the package via NuGet:

dotnet add package Prowl.Scribe

Basic Usage

var renderer = new MyFontRenderer(); // implements IFontRenderer
var scribe = new FontSystem(renderer);

// Load fonts, Will load all System Fonts with the passed FontFamilies as Priority
scribe.LoadSystemFonts("Arial");
// or: var font = scribe.AddFont(File.ReadAllBytes("path/to/font.ttf"));
// If you use SystemFonts its recommended to add priorities also for different platforms
// Not all operating systems have the same fonts. This is the priority list used in the Samples:
// "Segoe UI", "Arial", "Liberation Sans", "Consola", "Menlo", "Liberation Mono"

// Draw text will attempt to use preferredFont if available
var preferredFont = scribe.GetFont(fontFamily, FontStyle.Bold);
scribe.DrawText("Hello World!", position, FontColor.Blue, pixelSize, preferredFont)

Customizing Glyphs

A GlyphCustomizer runs once per character while text is laid out. Whatever it sets is what Scribe shapes, kerns, measures and wraps with, so a bold or larger run is part of the layout rather than stretched afterwards.

var settings = TextLayoutSettings.Default;
settings.Font = font;
settings.Customizer = (ref GlyphStyle g) =>
{
    if (g.CharIndex < 5) g.Font = bold;
    g.Underline = g.CharIndex >= 6;
    // g.PixelSize, g.LetterSpacing, g.WordSpacing and g.Codepoint can all change too.
};

var layout = new TextLayout();
scribe.UpdateLayout(layout, "Hello world", settings);

A GlyphModifier runs once per glyph while a layout is drawn, and can move each of its four corners, recolour it or hide it. The layout itself is untouched, so animating text costs nothing but the modifier.

scribe.DrawLayout(layout, position, FontColor.White, (ref GlyphDraw g) =>
{
    if (g.IsDecoration) return;
    float lift = MathF.Sin(time + g.CharIndex) * 2f;
    g.SetCorners(g.TopLeft + new Float2(0, lift), g.TopRight + new Float2(0, lift),
                 g.BottomLeft + new Float2(0, lift), g.BottomRight + new Float2(0, lift));
});

<span align="center">🤝 Contributing 🤝</span>

Contributions, issues and feature requests are welcome! Feel free to fork this repository and submit a pull request.

<span align="center">📄 License 📄</span>

Distributed under the MIT License. See LICENSE for details.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  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 is compatible.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos 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 Prowl.Scribe:

Package Downloads
Prowl.Quill

A Hardware-Accelerated Anti-Aliased Vector Graphics Library made with .NET

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.5.6 69 9/19/2026
3.5.5 51 9/19/2026
3.5.4 58 9/19/2026
3.5.2 48 9/19/2026
3.5.1 58 9/18/2026
3.5.0 131 9/15/2026
3.4.0 224 9/11/2026
3.3.0 409 8/30/2026
3.2.1 179 8/26/2026
3.1.0 234 8/10/2026
3.0.5 172 8/9/2026
3.0.4 192 8/9/2026
3.0.1 255 8/4/2026
3.0.0 206 8/2/2026
2.9.3 204 7/30/2026
2.9.2 187 7/30/2026
2.9.1 202 7/30/2026
2.8.6 204 7/25/2026
2.8.5 222 7/24/2026
2.8.3 200 7/24/2026
Loading failed