Skip to content
| Marketplace
Sign in
Visual Studio>Controls>Aspose.Font for .NET
Aspose.Font for .NET

Aspose.Font for .NET

Aspose Marketplace

|
72 clicks
| (0) | Free Trial
.NET library to load, modify, draw, and save font data.
Get Started

Font Manipulation via .NET API

Nuget 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.

Get 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft