public class FontPatternExtractor
extends java.lang.Object
| Constructor and Description |
|---|
FontPatternExtractor() |
| Modifier and Type | Method and Description |
|---|---|
void |
extract(java.io.File file,
java.io.File targetDir)
Extracts the Type1 PFB file from the given AFP outline font.
|
static void |
main(java.lang.String[] args)
Main method
|
public void extract(java.io.File file,
java.io.File targetDir)
throws java.io.IOException
file - the AFP file to read fromtargetDir - the target directory where the PFB file is to be placed.java.io.IOException - if an I/O error occurspublic static void main(java.lang.String[] args)
args - the command-line argumentsCopyright 1999-2022 The Apache Software Foundation. All Rights Reserved.