Browse our Products

Aspose.Font for Java 21.4 Release Notes

This release of Aspose.Font for Java API provides the capability to edit font names for TTF/OTF fonts. In addition, you can now save TTF fonts after editing. WOFF/WOFF2 formats have been added. TTF and WOFF conversion option has been implemented. WOFF2 converting and saving support has been added. SHA-256 license type has been supported. Specific functionality for working with glyphs has been added. Several issues have been fixed, resulting in a more stable font processing functionality. Some bugs have been fixed.

KeySummaryCategory
FONTNET-107Saving functionality for fonts of TTF formatNew Feature
FONTNET-124Ability editing font namesNew Feature
FONTNET-105Improvement API reference documentationEnhancement
FONTNET-115Basic structures for TTF font editingEnhancement
FONTNET-76Problem with font replacementBug
FONTNET-99Recovering saving functionality for Type 1 and CFF fontsBug
FONTNET-108Incorrect encodings are used for font names when TTF font is savesBug
FONTNET-119Fixing the font saving functionalityBug
FONTNET-147Public API for conversion functionality has been expandedNew Feature
FONTNET-152TTF converter has been developedNew Feature
FONTNET-159Conversion for Type1 format has been developedNew Feature
FONTNET-161Support WOFF format readingNew Feature
FONTNET-153Fix bug occurred with notDef glyph mappingBug
FONTNET-156Fix bug related with adding of PostScript names into font ’name’ tableBug
FONTNET-169Wrong format file created when TrueType font convert to WOFFBug
FONTNET-191Support for reading WOFF2 formatNew Feature
FONTNET-186Redesign functionality for reading WOFF/WOFF2 formatsEnhancement
FONTNET-189Extend the compress/decompress functionalityEnhancement
FONTNET-185Combining characters from different fontsNew Feature
FONTNET-192Support for converting to WOFF2 formatNew Feature
FONTNET-213Support for TTC fontsNew Feature
FONTNET-211Support SHA-256 LicensesEnhancement
FONTNET-181Incorrect data in loca table after it was restored from WOFF2 fileBug
FONTNET-229Problems with loca table byte content in saved WOFF2 filesBug

Public API and Backwards Incompatible Changes

Added APIs

  • Method com.aspose.font.CffFont.convert(com.aspose.font.FontType)
  • Method com.aspose.font.Font.saveToFormat(java.io.OutputStream,com.aspose.font.FontSavingFormats)
  • Method com.aspose.font.convert(com.aspose.font.FontType)
  • Enumeration com.aspose.font.FontSavingFormats
  • Enumeration member com.aspose.font.FontSavingFormats.TTF
  • Enumeration member com.aspose.font.FontSavingFormats.WOFF
  • Enumeration member com.aspose.font.FontSavingFormats.WOFF2
  • com.aspose.font.FontSavingFormats.valueOf(java.lang.String)
  • com.aspose.font.FontSavingFormats.values
  • Method com.aspose.font.IFont.convert(com.aspose.font.FontType)
  • Method com.aspose.font.IFontSaver.saveToFormat(java.io.OutputStream,com.aspose.font.FontSavingFormats)
  • Method com.aspose.font.TtfFont.convert(com.aspose.font.FontType)
  • Method com.aspose.font.Type1Font.convert(com.aspose.font.FontType)
  • Class com.aspose.font.WoffFormatException
  • Constructor com.aspose.font.WoffFormatException
  • Constructor com.aspose.font.WoffFormatException(java.lang.String)
  • Constructor com.aspose.font.WoffFormatException(java.lang.String,java.lang.RuntimeException)
  • Class com.aspose.font.HelpersFactory
  • Method com.aspose.font.HelpersFactory.getFontCharactersMerger(com.aspose.font.TtfFont,com.aspose.font.TtfFont)
  • Interface com.aspose.font.IFontCharactersMerger
  • Method com.aspose.font.IFontCharactersMerger.mergeFonts(com.aspose.font.GlyphId[],com.aspose.font.GlyphId[],java.lang.String)
  • Method com.aspose.font.IFontCharactersMerger.mergeFonts(long[],long[],java.lang.String)
  • Method com.aspose.font.IFontCharactersMerger.mergeFonts(java.util.Map,java.util.Map,java.lang.String)

Renamed APIs

  • Method com.aspose.font.GlyphStringId.getNotDef -> com.aspose.font.GlyphStringId.getNotDefId
  • Method com.aspose.font.GlyphUInt32Id.getNotDef -> com.aspose.font.GlyphUInt32Id.getNotDefId
  • Class com.aspose.font.TtfCMapTable.TtfCmapSubtableDescription -> com.aspose.font.TtfCMapTable.TtfCMapSubtableDescription

Got Queries?

If you have any query related to Aspose.Font for Java API, please feel free to write to reach us on Aspose.Font forum. We’ll be glad to assist you with your inquiries.