PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Method TrueType

Namespace TallComponents.PDF.Fonts
Class Font

Get a TrueType font from a TrueType collection (.TTC) file.

To specify a TrueType font in XML, use the font attribute and assign a value equal to the concatenation of the TrueType collection path and the font name, separated by a question mark.

Syntax

public Font TrueType(String pathString fontName)

Returns

Font

Parameters


String path
Relative or absolute path to TrueType collection file.

String fontName
Name (case-insensitive) of the TrueType font inside the collection.
Download PDFKit.NET 5.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.