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 PdfFont, GlyphLine decodeIntoGlyphLine(PdfString)

Decodes a given PdfString sequence containing encoded string of character codes (e.g. from content stream) into a GlyphLine @param content characterCodes the encoded string 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-16 string encoding @return the GlyphLine containing the glyphs encoded by the passed string

Class PdfFontFactory, PdfFont createRegisteredFont(String, String, 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 embedded if true 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 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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy) instead
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, 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 embedded if true 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 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 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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy, boolean) instead
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, 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 embedded if true 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 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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy, int) instead
Class PdfFontFactory, PdfFont createRegisteredFont(String, String, boolean, 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 embedded if true 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 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 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() @deprecated Will be removed in next major release. Use PdfFontFactory.createRegisteredFont(String, String, EmbeddingStrategy, int, boolean) instead
Class PdfFontFactory, PdfFont createTtcFont(String, int, String, boolean, 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 embedded indicates whether the font is to be embedded into the target document @param cached indicates whether the font will be cached cached @return created PdfFont instance 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 font @deprecated Will be removed in next major release. Use PdfFontFactory.createTtcFont(String, int, String, EmbeddingStrategy, boolean) instead
Class PdfFontFactory, PdfFont createTtcFont(byte[], int, String, boolean, 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 embedded indicates whether the font is to be embedded into the target document @param cached indicates whether the font will be cached cached @return created PdfFont instance instance @throws IOException in case the contents of the TrueType Collection is mal-formed or an error error occurred during reading the font font @deprecated Will be removed in next major release. Use PdfFontFactory.createTtcFont(byte[], int, String, EmbeddingStrategy, boolean) instead

Class PdfType3Font, Type3Glyph addGlyph(char, int, int, int, int, int)

Defines a glyph. If the character was already defined it will return the same content @param c the character to match this glyph. @param wx the advance this character will have @param llx the X lower left corner of the glyph bounding box. If the colorize option is true the value is ignored @param lly the Y lower left corner of the glyph bounding box. If the colorize option is true the value is ignored @param urx the X upper right corner of the glyph bounding box. If the colorize option is true the value is ignored @param ury the Y upper right corner of the glyph bounding box. If the colorize option is true the value is ignored ignored @return a content where the glyph can be defined

Class Type3Font, void setFontName(String)

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.