Aspose.Font  for .NET

.NET APIs to Manipulate Fonts

Load, Draw and Save different Fonts including TrueType, CFF, OpenType, and Type1 within .NET based applications.

  Download Free Trial

Aspose.Font for .NET is flexible and easy to use library to work with different font files. API supports multiple font formats like TrueType CFF, OpenType, and Type1. Moreover, It can load fonts, provide its data structures information along with any glyph, encoding information for all the font types and save fonts. End-users can get help through its rendering subsystem to render any desired glyph or text.

Advanced .NET Font Management API Features

Load font documents from disc

Load font files stream

Read font information

Save updated font files to disc

Read Glyphs and Metrics information

Detect Latin Symbols in Fonts

Extract embedded licensing information

Render text using font glyphs

Support various font formats

Load, Extract and Save TrueType Font

Aspose.Font for .NET can easily load, extract and save different font formats. Here is just few lines of code for TrueType TTF.

Load, Extract and Save TTF - C#

//byte array to load Font from

byte[] fontMemoryData = File.ReadAllBytes("directoryPath" + "Montserrat-Regular.ttf");

FontDefinition fd = new FontDefinition(FontType.TTF, new FontFileDefinition("ttf", new ByteContentStreamSource(fontMemoryData)));

TtfFont ttfFont = Aspose.Font.Font.Open(fd) as TtfFont;

//Work with data from just loaded TtfFont object

//Save CffFont to disk


Support and Learning Resources


Aspose.Font offers individual Font management APIs for other popular development environments as listed below: