SourceFont Class

Contains information about a font used in the PDF document.

public abstract class SourceFont
Namespace
PdfToSvg
Package
PdfToSvg.NET (since v0.8.0)
Inheritance
System.Object PdfToSvg.SourceFont

Constructors

SourceFontInitializes a new instance of the SourceFont class

Properties

CanBeExtractedSpecifies whether this font can be extracted to a font file that can be embedded in the SVG.
CanBeInlinedSpecifies whether this font can be inlined. When a font is inlined, its glyphs will be embedded as paths and other elements in the SVG markup.
IsStandardFontIndicates whether this font is one of the 14 standard PDF fonts. If so, the font returned by ToOpenType() and ToWoff() is not extracted from the PDF, but rather provided by PdfToSvg.NET.
NameThe name of the font.

Methods

ToOpenTypeTries to convert this source font to an OpenType (.otf) font.
ToWoffTries to convert this source font to a WOFF font.

See Also

PdfToSvg Namespace