Registry / utility / fontbox

fontbox

JSON →
library3.0.7javamavenunverified

Open source Java library for obtaining low-level information from font files, a subproject of Apache PDFBox.

<dependency> <groupId>org.apache.pdfbox</groupId> <artifactId>fontbox</artifactId> <version>3.0.7</version> </dependency>
INSTALL
IMPORT
SIG · FONTBOX
F
fontbox
utilityjavav3.0.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TTFParser
✓ org.apache.fontbox.ttf.TTFParser

Parse a TrueType font file and retrieve its name.

import org.apache.fontbox.ttf.TTFParser; import org.apache.fontbox.ttf.TrueTypeFont; import java.io.File; public class Example { public static void main(String[] args) throws Exception { TTFParser parser = new TTFParser(); TrueTypeFont font = parser.parse(new File("/path/to/font.ttf")); System.out.println(font.getName()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.7latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
fontbox — mvn dependency:get fontbox · libregistry