Aspose.Font 22.9.0

.NET 5.0 .NET Standard 2.1 .NET Framework 4.0
NuGet\Install-Package Aspose.Font -Version 22.9.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.
dotnet add package Aspose.Font --version 22.9.0
<PackageReference Include="Aspose.Font" Version="22.9.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Aspose.Font --version 22.9.0
#r "nuget: Aspose.Font, 22.9.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Aspose.Font as a Cake Addin
#addin nuget:?package=Aspose.Font&version=22.9.0

// Install Aspose.Font as a Cake Tool
#tool nuget:?package=Aspose.Font&version=22.9.0

Font Manipulation via .NET API

Version 22.9.0 Nuget

banner

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Aspose.Font for .NET is a library that enables your .NET applications to load, edit, and save font data. Aspose.Font for .NET also enables your .NET applications to draw text with the specified font.

Font Processing Features

  • Load font files from the disc as well as stream.
  • Read font information and save updated font files to disc.
  • Read Glyphs and Metrics information from Font files.
  • Detect Latin Symbols in Fonts.
  • Extract embedded licensing information from font files.
  • Render text using font glyphs.
  • Render text using custom interfaces.

Read & Write Font Formats

TTF

Read Font Formats

TTC, OpenType, CFF, Type1, WOFF/WOFF2

Platform Independence

Aspose.Font for .NET can be integrated with any kind of ASP.NET Web Application or a Windows Application.

Getting Started

Are you ready to give Aspose.Font for .NET a try? Simply execute Install-Package Aspose.Font from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have Aspose.Font for .NET and want to upgrade the version, please execute Update-Package Aspose.Font to get the latest version.

Check Latin Symbols Support in the Font using C# Code

// For complete examples and data files, please go to https://github.com/aspose-font/Aspose.Font-for-.NET
string fileName = dataDir + "Montserrat-Regular.ttf"; //Font file name with full path

FontDefinition fd = new FontDefinition(FontType.TTF, new FontFileDefinition("ttf", new FileSystemStreamSource(fileName)));
TtfFont ttfFont = Aspose.Font.Font.Open(fd) as TtfFont;

bool latinText = true;


for (uint code = 65; code < 123; code++){
    GlyphId gid = ttfFont.Encoding.DecodeToGid(code);
    if (gid == null || gid == GlyphUInt32Id.NotDefId){
        latinText = false;
    }
}

if (latinText){
    Console.WriteLine(string.Format("Font {0} supports latin symbols.", ttfFont.FontName));
}
else{
    Console.WriteLine(string.Format("Latin symbols are not supported by font {0}.", ttfFont.FontName));
}

Product Page | Docs | API Reference | Examples | Blog | Search | Free Support | Temporary License

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Aspose.Font:

Package Downloads
Aspose.Total

Aspose.Total for .NET is the most complete package of all .NET file format APIs offered by Aspose. It empowers developers to create, edit, render, print and convert between a wide range of popular document formats within any .NET, C#, ASP.NET and VB.NET applications.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
22.9.0 144 9/15/2022
22.7.0 1,462 7/15/2022
22.4.0 5,529 4/22/2022
21.12.0 9,094 12/1/2021
21.10.0 3,418 10/7/2021
21.8.0 6,340 8/5/2021
21.4.0 14,929 4/8/2021
21.2.0 4,292 2/24/2021
20.12.0 4,272 12/8/2020
20.10.0 2,261 10/15/2020
20.9.0 1,002 9/3/2020