SDL3-CS.MacOS.TTF
3.2.2.7
dotnet add package SDL3-CS.MacOS.TTF --version 3.2.2.7
NuGet\Install-Package SDL3-CS.MacOS.TTF -Version 3.2.2.7
<PackageReference Include="SDL3-CS.MacOS.TTF" Version="3.2.2.7" />
<PackageVersion Include="SDL3-CS.MacOS.TTF" Version="3.2.2.7" />
<PackageReference Include="SDL3-CS.MacOS.TTF" />
paket add SDL3-CS.MacOS.TTF --version 3.2.2.7
#r "nuget: SDL3-CS.MacOS.TTF, 3.2.2.7"
#:package SDL3-CS.MacOS.TTF@3.2.2.7
#addin nuget:?package=SDL3-CS.MacOS.TTF&version=3.2.2.7
#tool nuget:?package=SDL3-CS.MacOS.TTF&version=3.2.2.7
SDL3-CS.MacOS.TTF
<p align="center"> <img alt="macOS native package" src="https://img.shields.io/badge/platform-macOS-555?style=flat-square"> <img alt="SDL_ttf" src="https://img.shields.io/badge/component-SDL_ttf-239120?style=flat-square"> <img alt="SDL_ttf 3.2.2" src="https://img.shields.io/badge/native-SDL_ttf%203.2.2-004880?style=flat-square"> </p>
SDL3-CS.MacOS.TTF contains SDL_ttf native runtime libraries for TrueType/OpenType font and text APIs for macOS applications that use SDL3-CS.
When To Use This Package
Use this package when a .NET application targets macOS and needs font loading, glyph metrics, and rendered text through SDL3.TTF. Keep all SDL3-CS packages in the same application on the same platform family; do not mix SDL3-CS.MacOS with native packages from another platform family. This add-on package is not a replacement for the base runtime package. Install it together with SDL3-CS and SDL3-CS.MacOS.
Native Version
| Package | Native library version | Package line |
|---|---|---|
SDL3-CS.MacOS.TTF |
SDL_ttf 3.2.2 | 3.2.2.x |
Supported Runtime Identifiers
osx-x64osx-arm64
Package Contents
runtimes/<rid>/native/assets for each supported runtime identifier.buildTransitive/SDL3-CS.MacOS.TTF.targetsfor package-time native asset integration.README.md,LICENSE, and the SDL3-CS package icon for NuGet display.- No application entry point and no managed SDL wrapper API beyond any bridge bindings required by the platform.
Native asset mode: dynamic native libraries copied from the NuGet runtime assets.
Installation
dotnet add package SDL3-CS
dotnet add package SDL3-CS.MacOS
dotnet add package SDL3-CS.MacOS.TTF
Companion Packages
| Package | Native component | Use when you need |
|---|---|---|
SDL3-CS.MacOS |
SDL 3.4.12 | Core SDL3 runtime assets. |
SDL3-CS.MacOS.Image |
SDL_image 3.4.4 | Image loading and saving. |
SDL3-CS.MacOS.TTF |
SDL_ttf 3.2.2 | Font and text rendering APIs. |
SDL3-CS.MacOS.Mixer |
SDL_mixer 3.2.4 | Music and mixer playback APIs. |
SDL3-CS.MacOS.Shadercross |
SDL_shadercross 3.0.0 | Shader translation APIs. |
Build From This Repository
From the repository root:
dotnet pack .\SDL3-CS.NativePackages\SDL3-CS.MacOS.TTF\SDL3-CS.MacOS.TTF.csproj -c Release
The release pipeline populates the lib/<rid>/ folders before packaging. A local pack without those native assets is useful only for metadata validation.
Verification Checklist
- The package RID list matches the release manifest and native artifact layout.
PackageReadmeFilepoints to this README.buildTransitivetargets are packed underbuildTransitive/$(PackageId).targets.- Applications reference
SDL3-CSplus the matching macOS native package family.
Related Documentation
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.