|
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.
Indicates if all the glyphs and widths for that particular encoding should be included in the document. When set to {@code true} only the glyphs used will be included in the font. When set to {@code false} the full font will be included and all subset ranges will be removed. @param subset new value of property subset @see #addSubsetRange(int[])
This class provides helpful methods for creating fonts ready to be used in a PdfDocumentClass PdfFontFactory, PdfFont createFont(PdfDictionary)Note, just created PdfFont is almost empty until it will be flushed, because it is impossible to fulfill font data until flush.
Creates a PdfFont by already existing font dictionary.Class PdfFontFactory, PdfFont createFont(byte[], String)Note, the font won't be added to any document, until you add it to com.itextpdf.kernel.pdf.canvas.PdfCanvas. While adding to com.itextpdf.kernel.pdf.canvas.PdfCanvas, or to com.itextpdf.kernel.pdf.PdfResources the font will be made indirect implicitly.
PdfDocument.getFont method is strongly recommended if you want to get PdfFont by both existing font dictionary, or just created and hasn't flushed yet. @param fontDictionary the font dictionary to create the font from @return created PdfFont instance
Created a PdfFont instance by the bytes of the underlying font program. @param fontProgram the bytes of the underlying font program @paramClass PdfFontFactory, PdfFont createRegisteredFont(String)encodingencoding the encoding of the font to be created. See PdfEncodings @return created PdfFont instance @throws IOException signals that an I/O exception has occurred.
Creates PdfFont based on registered FontProgram's. @paramClass PdfFontFactory, PdfFont createRegisteredFont(String, String)fontNamefontName Path to font file or Standard font name @throwsIOExceptionIOException 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. @paramClass PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean)fontNamefontName Path to font file or Standard font name @paramencodingencoding Font encoding from PdfEncodings. @throwsIOExceptionIOException 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. @paramClass PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, boolean)fontNamefontName Path to font file or Standard font name @paramencodingencoding Font encoding from PdfEncodings. @paramembeddedembedded if true font will be embedded. Note, standard font won't be embedded in any case. @throwsIOExceptionIOException 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. @paramClass PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, int)fontNamefontName Path to font file or Standard font name @paramencodingencoding Font encoding from PdfEncodings. @paramembeddedembedded if true font will be embedded. Note, standard font won't be embedded in any case. @paramcachedcached If true font will be cached for another PdfDocument @throwsIOExceptionIOException 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. @paramClass PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, int, boolean)fontNamefontName Path to font file or Standard font name @paramencodingencoding Font encoding from PdfEncodings. @paramembeddedembedded if true font will be embedded. Note, standard font won't be embedded in any case. @paramstylestyle Font style from FontStyles. @throwsIOExceptionIOException 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. @paramfontNamefontName Path to font file or Standard font name @paramencodingencoding Font encoding from PdfEncodings. @paramembeddedembedded if true font will be embedded. Note, standard font won't be embedded in any case. @paramstylestyle Font style from FontStyles. @paramcachedcached If true font will be cached for another PdfDocument @throwsIOExceptionIOException 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()