public interface ITextShaperFactory
ITextShaper implementations.| Modifier and Type | Method and Description |
|---|---|
ITextShaper |
getTextShaper(java.lang.String fontId,
byte[] fontBlob,
int faceIndex)
Returns new instance of a text shaper for the font represented by
fontBlob and faceIndex. |
ITextShaper |
getTextShaper(java.lang.String fontPath,
int faceIndex)
Returns new instance of a text shaper for the font specified by
fontPath and faceIndex. |
ITextShaper getTextShaper(java.lang.String fontPath, int faceIndex)
fontPath and faceIndex.fontPath - An absolute path to the font file.faceIndex - An index of the font face in the TrueType font collection, or 0 if specified font file is not TrueType font collection.ITextShaper getTextShaper(java.lang.String fontId, byte[] fontBlob, int faceIndex)
fontBlob and faceIndex.fontId - A unique identifier that can be uniquely associated with the provided font fontBlob.fontBlob - Byte array with the font data.faceIndex - An index of the font face in the TrueType font collection, or 0 if fontBlob is not TrueType font collection.