FontRepository

FontRepository

Overview

FontRepository 是一个类在Java的FOSS中.

缓存和解决资源字典中的PDF字体.

这个类提供了3种方法,用于在Java程序中使用FontRepository 对象. 有的方法包括: clear, fromResources, getFont. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序.

Methods

SignatureDescription
getFont(fontsDict: PdfDictionary, fontName: String, parser: PDFParser)PdfFont返回字体词典中给出的字符名的 PdfFont.
fromResources(resources: Resources, fontName: String, parser: PDFParser)PdfFont方便方法:从页面资源中解决字体.
clear()清除字体缓存.

See Also

 中文