CodeBrix.Platform.Fonts.Roboto.OflLicenseForever 1.0.181.661

There is a newer version of this package available.
See the version list below for details.
dotnet add package CodeBrix.Platform.Fonts.Roboto.OflLicenseForever --version 1.0.181.661
                    
NuGet\Install-Package CodeBrix.Platform.Fonts.Roboto.OflLicenseForever -Version 1.0.181.661
                    
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="CodeBrix.Platform.Fonts.Roboto.OflLicenseForever" Version="1.0.181.661" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CodeBrix.Platform.Fonts.Roboto.OflLicenseForever" Version="1.0.181.661" />
                    
Directory.Packages.props
<PackageReference Include="CodeBrix.Platform.Fonts.Roboto.OflLicenseForever" />
                    
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 CodeBrix.Platform.Fonts.Roboto.OflLicenseForever --version 1.0.181.661
                    
#r "nuget: CodeBrix.Platform.Fonts.Roboto.OflLicenseForever, 1.0.181.661"
                    
#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 CodeBrix.Platform.Fonts.Roboto.OflLicenseForever@1.0.181.661
                    
#: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=CodeBrix.Platform.Fonts.Roboto.OflLicenseForever&version=1.0.181.661
                    
Install as a Cake Addin
#tool nuget:?package=CodeBrix.Platform.Fonts.Roboto.OflLicenseForever&version=1.0.181.661
                    
Install as a Cake Tool

CodeBrix.Platform.Fonts.Roboto

A redistribution of the Roboto font family packaged as a CodeBrix-family NuGet library for .NET 10 applications. CodeBrix.Platform.Fonts.Roboto is a content-files font package for CodeBrix.Platform-forked applications — supplying the Roboto variable font and its static instances as build-time assets — and is equally usable as a plain content-files NuGet in any .NET 10 project that wants the Roboto font set. The library has no managed dependencies other than .NET, and is provided as a .NET 10 library and associated CodeBrix.Platform.Fonts.Roboto.OflLicenseForever NuGet package.

CodeBrix.Platform.Fonts.Roboto supports applications and assemblies that target Microsoft .NET version 10.0 and later. Microsoft .NET version 10.0 is a Long-Term Supported (LTS) version of .NET, and was released on Nov 11, 2025; and will be actively supported by Microsoft until Nov 14, 2028. Please update your C#/.NET code and projects to the latest LTS version of Microsoft .NET.

CodeBrix.Platform.Fonts.Roboto supports:

  • The Roboto variable font (Roboto.ttf) covering the full weight axis (100-900) and width axis, used directly on every platform.
  • 36 static .ttf font files covering the Light/Regular/Medium/SemiBold/Bold/ExtraBold weights in Normal, Italic, Condensed, Condensed-Italic, SemiCondensed, and SemiCondensed-Italic stretches — for platforms that resolve fonts through the static-instance manifest.
  • A .ttf.manifest JSON file that maps font_style / font_weight / font_stretch triples to the matching static font file.
  • A buildTransitive MSBuild .targets file (hooking into the CodeBrix.Platform _CodeBrixAddLibraryAssets target) that prunes the redundant static font files at build time on platforms that don't need them, while always keeping the variable Roboto.ttf available.
  • The CodeBrix .uprimarker file so CodeBrix.Platform build pipelines discover the package as a UPRI-bearing font asset library.

Sample Code

Reference the font from XAML (CodeBrix.Platform app)

<TextBlock Text="Hello, world."
           FontFamily="ms-appx:///CodeBrix.Platform.Fonts.Roboto/Fonts/Roboto.ttf#Roboto" />

Reference a specific static weight

<TextBlock Text="Bold sample"
           FontFamily="ms-appx:///CodeBrix.Platform.Fonts.Roboto/Fonts/Roboto-Bold.ttf#Roboto" />

Set Roboto as the default text font (CodeBrix.Platform app)

global::CodeBrix.Platform.UI.FeatureConfiguration.Font.DefaultTextFontFamily =
    "ms-appx:///CodeBrix.Platform.Fonts.Roboto/Fonts/Roboto.ttf";

License

The entire package — the library code, the .targets file, the packaging wrapper, and the bundled Roboto .ttf font files — is licensed under the SIL Open Font License, Version 1.1. see: https://en.wikipedia.org/wiki/SIL_Open_Font_License

The full license text is bundled with this repository as OFL.txt at the repository root and is also packaged inside the produced NuGet under the same name. The package is published under the SPDX expression OFL-1.1.

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.
  • net10.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on CodeBrix.Platform.Fonts.Roboto.OflLicenseForever:

Package Downloads
CodeBrix.PdfDocCreate.Html2Pdf.MitLicenseForever

Renders author-created HTML pages with CSS styling into PDF documents via the CodeBrix.PdfDocCreate document object model. Applies a documented subset of CSS - inline style attributes, style blocks, and linked local stylesheets - with real selector matching, cascade, specificity, and inheritance. All text is rendered with the CodeBrix.Platform.Fonts Roboto (sans-serif), Merriweather (serif), and Roboto Mono (monospace) font packages, so output is identical on every operating system. Designed for HTML/CSS written for PDF generation, not for repurposing arbitrary web pages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.209.315 141 7/28/2026
1.0.181.661 136 6/30/2026
1.0.181.254 116 6/30/2026