FreeTypeFontManager.registerFont

register freetype font by filename - optinally font properties can be passed if known (e.g. from libfontconfig).

  1. bool registerFont(string filename, bool skipUnknown)
  2. bool registerFont(string filename, FontFamily family, string face, bool italic, int weight, bool dontLoadFile)
    class FreeTypeFontManager
    bool
    registerFont
    (
    string filename
    ,,
    string face = null
    ,
    bool italic = false
    ,
    int weight = 0
    ,
    bool dontLoadFile = false
    )

Meta