Maker.js, a Microsoft Garage project, is a JavaScript library for creating and sharing modular line drawings for CNC and laser cutters.

View project on GitHub Star

Api - IFontkitLayoutOptions Interface

Layout options for fontkit font rendering. These options are passed to the fontkit layout engine.

Hierarchy

  • IFontkitLayoutOptions

Index

Properties

Optional direction

direction: string

Text direction ('ltr' or 'rtl')

Optional features

features: string[] | Record<string, boolean>

OpenType features to enable/disable (array of feature tags or object mapping feature tags to boolean)

Optional language

language: string

Language code (e.g., 'ENG', 'ARA')

Optional script

script: string

Script code (e.g., 'latn', 'arab')

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc