|
Generated by JDiff |
||||||||
| PREV PACKAGE NEXT PACKAGE FRAMES NO FRAMES | |||||||||
This file contains all the changes in documentation in the packagecom.itextpdf.kernel.fontas colored differences. Deletions are shownlike this, and additions are shown like this.
If no deletions or additions are shown in an entry, the HTML tags will be what has changed. The new HTML tags are shown in the differences. If no documentation existed, and then some was added in a later version, this change is noted in the appropriate class pages of differences, but the change is not shown on this page. Only changes in existing text are shown here. Similarly, documentation which was inherited from another class or interface is not shown here.
Note that an HTML error in the new documentation may cause the display of other documentation changes to be presented incorrectly. For instance, failure to close a tag will cause all subsequent paragraphs to be displayed differently.
Created a PdfFont instance by the bytes of the underlying font program. @param fontProgram the bytes of the underlying font program @param embeddingStrategyClass PdfFontFactory, PdfFont createFont(byte[], String, EmbeddingStrategy)indicates whetherthefont isEmbeddingStrategyto be embedded intowhich will define whether thetargetfont will bedocumentembedded @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Created a PdfFont instance by the bytes of the underlying font program. @param fontProgram the bytes of the underlying font program @param encoding the encoding of the font to be created. See PdfEncodings @param embeddingStrategyClass PdfFontFactory, PdfFont createFont(byte[], String, EmbeddingStrategy, boolean)indicates whetherthefont isEmbeddingStrategyto be embedded intowhich will define whether thetargetfont will bedocumentembedded @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Created a PdfFont instance by the bytes of the underlying font program. @param fontProgram the bytes of the underlying font program @param encoding the encoding of the font to be created. See PdfEncodings @param embeddingStrategyClass PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy)indicates whetherthefont isEmbeddingStrategyto be embedded intowhich will define whether thetargetfont will bedocumentembedded @param cached indicates whether the font will be cached @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Creates PdfFont based on registered FontProgram's. Required font program is expected to be previously registered by one of the register method from PdfFontFactory. @param fontName Path to font file or Standard font name @param encoding Font encoding from PdfEncodings. @param embeddingStrategyClass PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy, boolean)ifthe EmbeddingStrategy which will definetruewhether the font will be embedded. Note, standard font won't be embedded in any case. @return created font if required FontProgram was found among registered, otherwise null. @throws IOException exception is thrown in case an I/O error occurs when reading the file @see PdfFontFactory#register(String) @see PdfFontFactory#register(String, String) @see PdfFontFactory#registerFamily(String, String, String) @see PdfFontFactory#registerDirectory(String) @see PdfFontFactory#registerSystemDirectories() @see PdfFontFactory#getRegisteredFamilies() @see PdfFontFactory#getRegisteredFonts()
Creates PdfFont based on registered FontProgram's. Required font program is expected to be previously registered by one of the register method from PdfFontFactory. @param fontName Path to font file or Standard font name @param encoding Font encoding from PdfEncodings. @param embeddingStrategyClass PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy, int)ifthetrueEmbeddingStrategy which will define whether the font will be embedded. Note, standard font won't be embedded in any case. @param cached If true font will be cached for another PdfDocument @return created font if required FontProgram was found among registered, otherwise null. @throws IOException exception is thrown in case an I/O error occurs when reading the file @see PdfFontFactory#register(String) @see PdfFontFactory#register(String, String) @see PdfFontFactory#registerFamily(String, String, String) @see PdfFontFactory#registerDirectory(String) @see PdfFontFactory#registerSystemDirectories() @see PdfFontFactory#getRegisteredFamilies() @see PdfFontFactory#getRegisteredFonts()
Creates PdfFont based on registered FontProgram's. Required font program is expected to be previously registered by one of the register method from PdfFontFactory. @param fontName Path to font file or Standard font name @param encoding Font encoding from PdfEncodings. @param embeddingStrategyClass PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy, int, boolean)ifthe EmbeddingStrategy which will definetruewhether the font will be embedded. Note, standard font won't be embedded in any case. @param style Font style from FontStyles. @return created font if required FontProgram was found among registered, otherwise null. @throws IOException exception is thrown in case an I/O error occurs when reading the file @see PdfFontFactory#register(String) @see PdfFontFactory#register(String, String) @see PdfFontFactory#registerFamily(String, String, String) @see PdfFontFactory#registerDirectory(String) @see PdfFontFactory#registerSystemDirectories() @see PdfFontFactory#getRegisteredFamilies() @see PdfFontFactory#getRegisteredFonts()
Creates PdfFont based on registered FontProgram's. Required font program is expected to be previously registered by one of the register method from PdfFontFactory. @param fontName Path to font file or Standard font name @param encoding Font encoding from PdfEncodings. @param embeddingStrategyClass PdfFontFactory, PdfFont createTtcFont(String, int, String, EmbeddingStrategy, boolean)ifthetrueEmbeddingStrategy which will define whether the font will be embedded. Note, standard font won't be embedded in any case. @param style Font style from FontStyles. @param cached If true font will be cached for another PdfDocument @return created font if required FontProgram was found among registered, otherwise null. @throws IOException exception is thrown in case an I/O error occurs when reading the file @see PdfFontFactory#register(String) @see PdfFontFactory#register(String, String) @see PdfFontFactory#registerFamily(String, String, String) @see PdfFontFactory#registerDirectory(String) @see PdfFontFactory#registerSystemDirectories() @see PdfFontFactory#getRegisteredFamilies() @see PdfFontFactory#getRegisteredFonts()
Creates a PdfFont instance from the TrueType Collection given by the path to the .ttc file. @param ttc the path of the .ttc file @param ttcIndex the index of the font in the collection, zero-based @param encoding the encoding of the font to be created. See PdfEncodings @param embeddingStrategyClass PdfFontFactory, PdfFont createTtcFont(byte[], int, String, EmbeddingStrategy, boolean)indicates whetherthefont isEmbeddingStrategyto be embedded intowhich will define whether thetargetfont will bedocumentembedded @param cached indicates whether the font will be cached @return created PdfFont instance @throws IOException in case the file is not found, contents of the TrueType Collection is mal-formed or an error occurred during reading the font
Creates a PdfFont instance from the TrueType Collection represented by its byte contents. @param ttc the byte contents of the TrueType Collection @param ttcIndex the index of the font in the collection, zero-based @param encoding the encoding of the font to be created. See PdfEncodings @param embeddingStrategyindicates whetherthefont isEmbeddingStrategyto be embedded intowhich will define whether thetargetfont will bedocumentembedded @param cached indicates whether the font will be cached @return created PdfFont instance @throws IOException in case the contents of the TrueType Collection is mal-formed or an error occurred during reading the font