FreetypeTypeface.this

Load a font from a file.

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

Parameters

filename string

Filename of the font file.

size float

Size of the font to load (in points).

Meta