PDF Plugin for Xojo

Font Class (console safe)

A PDF Font object that represents a font in a PDF document.

Object
   Font

class Font

Constructors

FontA Private constructor. Use the functions on the PDFDocument class to create instance of the Font class.

Properties

Ascent (console safe) Gets the vertical ascent of the font.
Descent (console safe) Gets the vertical descent of the font.
Name (console safe) Returns the name of the font.

Enumerations

FontEncodingEnumEnum that represents font encodings. PDF font encodings are tricky. If you want to support broad range of languages in your application then we recommend using Automatic here in most cases and setting up fallbacks handler like we show in one of the example projects.

Notes:

You cannot create instance of this class directly with the new operator, the Constructor has been made private to prevent that. Instead you use functions on the PDFDocument class to create instance of a Font.

Supported Platforms:

  • MacOS X Carbon
  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM