EmbedFont(FontQuery) Method

Definition

Namespace Broadside
Assembly Broadside.dll

Embeds the program the document's font resolvers find for query, as EmbedFont(ReadOnlyMemory<Byte>, Int32) does.

public PdfCanvasFont? EmbedFont(FontQuery query)

Parameters

query
FontQuery

What to look for: a PostScript or family name, and optionally style, weight and a Standard 14 stand-in.

Returns

PdfCanvasFont
The font, or null when no resolver finds a program for the query or the program it finds cannot be embedded.

Remarks

ISO 32000-2 §9.7.4–§9.7.6, §9.8, §9.9 and §9.10.3. A mutation the first time a program is embedded.