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