FreetypeTypeface.this

Load a font from a file.

  1. this(int size)
  2. this(FT_Face face, int size)
  3. this(string filename, int size)
    class FreetypeTypeface
    @trusted
    this
    (
    string filename
    ,
    int size
    )

Parameters

filename string

Filename of the font file.

size int

Size of the font to load (in points).

Meta