|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pdfbox.pdmodel.font.PDFontFactory
public class PDFontFactory
This will create the correct type of font based on information in the dictionary.
| Method Summary | |
|---|---|
static PDFont |
createDefaultFont()
Create a default font |
static PDFont |
createFont(COSDictionary dic)
This will create the correct font based on information in the dictionary. |
static PDFont |
createFont(COSDictionary dic,
Map fontCache)
Deprecated. due to some side effects font caching is no longer supported, use createFont(COSDictionary) instead |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PDFont createFont(COSDictionary dic,
Map fontCache)
throws IOException
createFont(COSDictionary) instead
dic - The populated dictionary.fontCache - A Map to cache already created fonts
IOException - If the dictionary is not valid.
public static PDFont createFont(COSDictionary dic)
throws IOException
dic - The populated dictionary.
IOException - If the dictionary is not valid.
public static PDFont createDefaultFont()
throws IOException
IOException - if something goes wrong
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||