Generated by
JDiff

com.itextpdf.kernel.font Documentation Differences

This file contains all the changes in documentation in the package com.itextpdf.kernel.font as colored differences. Deletions are shown like 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.

Class PdfFontFactory, PdfFont createFont(byte[], EmbeddingStrategy)

Created a PdfFont instance by the bytes of the underlying font program. @param fontProgram the bytes of the underlying font program @param embeddingStrategy indicates whether the font is EmbeddingStrategy to be embedded into which will define whether the target font will be document embedded @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Class PdfFontFactory, PdfFont createFont(byte[], String, EmbeddingStrategy)

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 embeddingStrategy indicates whether the font is EmbeddingStrategy to be embedded into which will define whether the target font will be document embedded @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Class PdfFontFactory, PdfFont createFont(byte[], String, EmbeddingStrategy, boolean)

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 embeddingStrategy indicates whether the font is EmbeddingStrategy to be embedded into which will define whether the target font will be document embedded @param cached indicates whether the font will be cached @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy)

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 embeddingStrategy if the EmbeddingStrategy which will define true whether 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()
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy, boolean)

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 embeddingStrategy if the true EmbeddingStrategy 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()
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy, int)

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 embeddingStrategy if the EmbeddingStrategy which will define true whether 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()
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, EmbeddingStrategy, int, boolean)

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 embeddingStrategy if the true EmbeddingStrategy 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()
Class PdfFontFactory, PdfFont createTtcFont(String, int, String, EmbeddingStrategy, boolean)

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 embeddingStrategy indicates whether the font is EmbeddingStrategy to be embedded into which will define whether the target font will be document embedded @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
Class PdfFontFactory, PdfFont createTtcFont(byte[], int, String, EmbeddingStrategy, boolean)

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 embeddingStrategy indicates whether the font is EmbeddingStrategy to be embedded into which will define whether the target font will be document embedded @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