Class EmbeddedMultipleFonts
- java.lang.Object
-
- org.apache.pdfbox.examples.pdmodel.EmbeddedMultipleFonts
-
public class EmbeddedMultipleFonts extends java.lang.ObjectOutput a text without knowing which font is the right one. One use case is a worldwide address list. Only LTR languages are supported, RTL (e.g. Hebrew, Arabic) are not supported so they would appear in the wrong direction. Complex scripts (Thai, Arabic, some Indian languages) are also not supported, any output will look weird. There is an (unfinished) effort here: https://issues.apache.org/jira/browse/PDFBOX-4189
-
-
Constructor Summary
Constructors Modifier Constructor Description privateEmbeddedMultipleFonts()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static booleanisWinAnsiEncoding(int unicode)static voidmain(java.lang.String[] args)(package private) static voidshowTextMultiple(PDPageContentStream cs, java.lang.String text, java.util.List<PDFont> fonts, float size)
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws java.io.IOException- Throws:
java.io.IOException
-
showTextMultiple
static void showTextMultiple(PDPageContentStream cs, java.lang.String text, java.util.List<PDFont> fonts, float size) throws java.io.IOException
- Throws:
java.io.IOException
-
isWinAnsiEncoding
static boolean isWinAnsiEncoding(int unicode)
-
-