|
iText 9.5.0 API
|
Use this class for working with true type collection font (*.ttc) More...
Public Member Functions |
|
| TrueTypeCollection (byte[] ttc) | |
| Creates a new TrueTypeCollection instance by its bytes. More... |
|
| TrueTypeCollection (String ttcPath) | |
| Creates a new TrueTypeCollection instance by its file path. More... |
|
| virtual FontProgram | GetFontByTccIndex (int ttcIndex) |
| method return TrueTypeFont by ttc index More... |
|
| virtual int | GetTTCSize () |
| returns the number of fonts in True Type Collection (file or bytes array) More... |
|
| virtual bool | IsCached () |
| Indicates if fonts created by the call to GetFontByTccIndex(int) will be cached or not. More... |
|
| virtual void | SetCached (bool cached) |
| Sets if fonts created by the call to GetFontByTccIndex(int) will be cached or not. More... |
|
Package Attributes |
|
| RandomAccessFileOrArray | raf |
Use this class for working with true type collection font (*.ttc)
|
inline |
Creates a new TrueTypeCollection instance by its bytes.
| ttc | the byte contents of the collection |
|
inline |
Creates a new TrueTypeCollection instance by its file path.
| ttcPath | the path of the collection |
|
inlinevirtual |
method return TrueTypeFont by ttc index
| ttcIndex | the index for the TTC font |
|
inlinevirtual |
returns the number of fonts in True Type Collection (file or bytes array)
|
inlinevirtual |
Indicates if fonts created by the call to GetFontByTccIndex(int) will be cached or not.
true if the created fonts will be cached, false otherwise
|
inlinevirtual |
Sets if fonts created by the call to GetFontByTccIndex(int) will be cached or not.
| cached | true if the created fonts will be cached, false otherwise |