|
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.
Decodesa given PdfStringsequencecontaining encoded stringof character codes (e.g. from content stream) into a GlyphLine @paramcontentcharacterCodes theencodedstring which is interpreted as a sequence of character codes. Note, that PdfString acts as a storage for char code values specific to given font, therefore individual character codes must not be interpreted as code units of the UTF-16stringencoding @return the GlyphLine containing the glyphs encoded by the passed string
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 embedded if true font will be embedded. Note, standard font won't be embedded in any case.Class PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, boolean)@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 thefilefile @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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy) instead
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 embedded if true font will be embedded. Note, standard font won't be embedded in any case. @param cachedClass PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, int)If true font will be cached for anotherPdfDocumentPdfDocument @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 thefilefile @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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy, boolean) instead
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 embedded if true font will be embedded. Note, standard font won't be embedded in any case. @param styleClass PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, int, boolean)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 thefilefile @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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy, int) instead
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 embedded if true font will be embedded. Note, standard font won't be embedded in any case. @param styleClass PdfFontFactory, PdfFont createTtcFont(String, int, String, boolean, boolean)Font style from FontStyles. @param cachedIf true font will be cached for anotherPdfDocumentPdfDocument @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 thefilefile @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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy, int, boolean) instead
Creates a PdfFont instance from the TrueType Collection given by the path to the .ttc file. @param ttcClass PdfFontFactory, PdfFont createTtcFont(byte[], int, String, boolean, boolean)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 embedded indicates whether the font is to be embedded into the target document @param cachedindicates whether the font will becachedcached @return created PdfFontinstanceinstance @throws IOException in case the file is not found, contents of the TrueType Collection is mal-formed or an error occurred during reading thefontfont @deprecated Will be removed in next major release. Use PdfFontFactory.createTtcFont(String, int, String, EmbeddingStrategy, boolean) instead
Creates a PdfFont instance from the TrueType Collection represented by its byte contents. @param ttcthe 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 embedded indicates whether the font is to be embedded into the target document @param cachedindicates whether the font will becachedcached @return created PdfFontinstanceinstance @throws IOException in case the contents of the TrueType Collection is mal-formed or anerrorerror occurred during reading thefontfont @deprecated Will be removed in next major release. Use PdfFontFactory.createTtcFont(byte[], int, String, EmbeddingStrategy, boolean) instead
Defines a glyph. If the character was already defined it will return the same content @param cthe character to match this glyph. @param wxthe advance this character will have @param llx the X lower left corner of the glyph bounding box. If thecolorizeoption istruethe value is ignored @param lly the Y lower left corner of the glyph bounding box. If thecolorizeoption istruethe value is ignored @param urx the X upper right corner of the glyph bounding box. If thecolorizeoption istruethe value is ignored @param ury the Y upper right corner of the glyph bounding box. If thecolorizeoption istruethe value isignoredignored @return a content where the glyph can be defined
Sets the PostScript name of the font.If full name is null, it will be set as well.
@param fontName the PostScript name of the font, shall not be null or empty.