Aspose.Font
20.10.0
See the version list below for details.
dotnet add package Aspose.Font --version 20.10.0
NuGet\Install-Package Aspose.Font -Version 20.10.0
<PackageReference Include="Aspose.Font" Version="20.10.0" />
paket add Aspose.Font --version 20.10.0
#r "nuget: Aspose.Font, 20.10.0"
// Install Aspose.Font as a Cake Addin #addin nuget:?package=Aspose.Font&version=20.10.0 // Install Aspose.Font as a Cake Tool #tool nuget:?package=Aspose.Font&version=20.10.0
Font Manipulation via .NET API
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.
New Features & Enhancements
- Ability to save the
TTF
format fonts. - Ability to edit font names.
- Improvement in the
API
reference documentation.
Please visit Aspose.Font for .NET 20.10 Release Notes for the detailed notes.
Read & Write Font Formats
TTF
Read Font Formats
TTC, OpenType, CFF, Type1
Platform Independence
Aspose.Font for .NET can be integrated with any kind of ASP.NET Web Application or a Windows Application.
Getting Started with Aspose.Font for .NET
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));
}
Home | Product Page | Docs | API Reference | Examples | Blog | Free Support | Temporary License
Product | Versions 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 was computed. 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. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
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. |
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.1
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- System.Diagnostics.PerformanceCounter (>= 4.5.0)
- System.Drawing.Common (>= 4.6.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 4.5.0)
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.