Package com.itextpdf.io.font
Class WoffConverter
java.lang.Object
com.itextpdf.io.font.WoffConverter
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static long
bytesToUInt
(byte[] b, int start) private static int
bytesToUShort
(byte[] b, int start) static byte[]
convert
(byte[] woffBytes) static boolean
isWoffFont
(byte[] woffBytes)
-
Field Details
-
woffSignature
private static final long woffSignature- See Also:
-
-
Constructor Details
-
WoffConverter
WoffConverter()
-
-
Method Details
-
isWoffFont
public static boolean isWoffFont(byte[] woffBytes) -
convert
- Throws:
IOException
-
bytesToUInt
private static long bytesToUInt(byte[] b, int start) -
bytesToUShort
private static int bytesToUShort(byte[] b, int start)
-