FontResolver.ResolveFontAsync Method
Resolves asynchronously which font to be used for text in the SVG, for a given source PDF font.
public virtual Task<Font> ResolveFontAsync( SourceFont sourceFont, CancellationToken cancellationToken )
Parameters
- sourceFont SourceFont
- Provides information about the source PDF font.
- cancellationToken CancellationToken
- Token for monitoring cancellation requests.
Return Value
Task<Font>The font to be used in the resulting SVG markup. Can be a LocalFont or WebFont.