Package com.itextpdf.io.font
Class WoffConverter
- java.lang.Object
-
- com.itextpdf.io.font.WoffConverter
-
class WoffConverter extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
WoffConverter.TableDirectory
-
Field Summary
Fields Modifier and Type Field Description private static long
woffSignature
-
Constructor Summary
Constructors Constructor Description WoffConverter()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private 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 Detail
-
woffSignature
private static final long woffSignature
- See Also:
- Constant Field Values
-
-
Method Detail
-
isWoffFont
public static boolean isWoffFont(byte[] woffBytes)
-
convert
public static byte[] convert(byte[] woffBytes) throws java.io.IOException
- Throws:
java.io.IOException
-
bytesToUInt
private static long bytesToUInt(byte[] b, int start)
-
bytesToUShort
private static int bytesToUShort(byte[] b, int start)
-
-