|
iText 9.6.0 API
|
Sort given set of fonts according to font name and style. More...
Public Member Functions |
|
| FontSelector (ICollection< FontInfo > allFonts, IList< String > fontFamilies, FontCharacteristics fc) | |
| Create new FontSelector instance. More... |
|
| FontInfo | BestMatch () |
| The best font match. More... |
|
| IEnumerable< FontInfo > | GetFonts () |
| Sorted set of fonts. More... |
|
Package Functions |
|
| virtual IComparer< FontInfo > | GetComparator (IList< String > fontFamilies, FontCharacteristics fc) |
Package Attributes |
|
| IList< FontInfo > | fonts |
Sort given set of fonts according to font name and style.
|
inline |
Create new FontSelector instance.
| allFonts | unsorted set of all available fonts. |
| fontFamilies | sorted list of preferred font families. |
| fc | instance of FontCharacteristics. |
|
inline |
The best font match.
The best font match. If any font from GetFonts() doesn't contain requested glyphs, this font will be used.
|
inline |
Sorted set of fonts.