Aspose.Font
23.1.0
See the version list below for details.
dotnet add package Aspose.Font --version 23.1.0
NuGet\Install-Package Aspose.Font -Version 23.1.0
<PackageReference Include="Aspose.Font" Version="23.1.0" />
paket add Aspose.Font --version 23.1.0
#r "nuget: Aspose.Font, 23.1.0"
// Install Aspose.Font as a Cake Addin
#addin nuget:?package=Aspose.Font&version=23.1.0
// Install Aspose.Font as a Cake Tool
#tool nuget:?package=Aspose.Font&version=23.1.0
Font Manipulation via .NET API
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 net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.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 net481 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETFramework 4.0
- No dependencies.
-
.NETStandard 2.1
- System.Security.Permissions (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 4.4.0)
-
net5.0
- System.Security.Permissions (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.0)
-
net6.0
- System.Security.Permissions (>= 5.0.0)
- System.Text.Encoding.CodePages (>= 5.0.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.
Version | Downloads | Last updated |
---|---|---|
23.2.0 | 1,392 | 2/15/2023 |
23.1.0 | 2,390 | 1/23/2023 |
22.12.0 | 1,886 | 12/29/2022 |
22.11.0 | 2,881 | 11/21/2022 |
22.10.0 | 645 | 10/28/2022 |
22.9.0 | 6,246 | 9/15/2022 |
22.7.0 | 9,929 | 7/15/2022 |
22.4.0 | 12,340 | 4/22/2022 |
21.12.0 | 14,693 | 12/1/2021 |
21.10.0 | 7,448 | 10/7/2021 |
21.8.0 | 10,917 | 8/5/2021 |
21.4.0 | 22,541 | 4/8/2021 |
21.2.0 | 7,589 | 2/24/2021 |
20.12.0 | 5,026 | 12/8/2020 |
20.10.0 | 4,095 | 10/15/2020 |
20.9.0 | 1,223 | 9/3/2020 |