Example #1
0
 /// <summary>Gets union of available and temporary fonts.</summary>
 /// <remarks>
 /// Gets union of available and temporary fonts.
 /// <p>
 /// Note, the collection is unmodifiable.
 /// </remarks>
 /// <param name="tempFonts"/>
 public ICollection <FontInfo> GetFonts(iText.Layout.Font.FontSet tempFonts)
 {
     return(new FontSetCollection(fonts, tempFonts != null ? tempFonts.fonts : null));
 }
Example #2
0
 /// <summary>Gets union of available and temporary fonts.</summary>
 /// <remarks>
 /// Gets union of available and temporary fonts.
 /// <para />
 /// Note, the collection is unmodifiable.
 /// </remarks>
 /// <param name="additionalFonts">set of temporary fonts</param>
 /// <returns>set of all available and temporary fonts</returns>
 public ICollection <FontInfo> GetFonts(iText.Layout.Font.FontSet additionalFonts)
 {
     return(new FontSetCollection(fonts, additionalFonts != null ? additionalFonts.fonts : null));
 }