You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today.
Order online or call us +62-821-2442-2332 (Whatsapp)
IDR
  • Empty!

Aspose.Font for Java

  • Brand: Aspose
  • Product Code: Aspose.Font
  • Availability: In Stock


Available Options





  Aspose.Total

Java APIs to Manipulate Fonts

Load, Draw and Save Fonts including TrueType, CFF, OpenType, and Type1 within Java-based applications.

Download Free Trial
 
 

Aspose.Font for Java is a flexible and easy to use library for font manipulation. API supports various font formats such as TrueType, CFF, OpenType, and Type1. Moreover, it can load fonts, provide its data structures information, along with any glyph encoding information, and save fonts. End users can get help through its rendering subsystem to render any desired glyph or text. Developers can render special glyphs by implementing interface using simple graphics like move point, draw line, and curve.

At a
Glance

Aspose.Words for .NET

Supported File
Formats

Aspose.Words for .NET




Platform
Independence

Aspose.Words for .NET































Advanced Java Font Management API Features

Load font documents from disk

Load font files stream

Read font information


Save updated font files to disk

Read Glyphs and Metrics information

Detect Latin Symbols in Fonts


Extract embedded licensing information

Render text using font glyphs

Support different font formats

Load, Extract and Save TrueType Font

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

Load, Extract and Save TTF - Java

byte[] fontMemoryData = Utils.getInputFileBytes("Montserrat-Regular.ttf");



 //Font file name with full path

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

TtfFont font = (TtfFont) Font.open(fd);



//Work with data from just loaded TtfFont object



//Save TtfFont to disk

font.save(Utils.getDataDir() + "Montserrat-Regular_out.ttf");

Tags: Aspose, Document & Office, Java, Aspose.Font for Java