Pike v8.0 release 1738

Method Image.TTF.`()()


Method `()

object `()(string filename)
object `()(string filename, mapping options)

Description

Makes a new TTF Face object.

Parameter filename

The filename of the TTF font or the TTC font collection.

Parameter options

advanced options:
    "face":int
        If opening a font collection,  '<tt>.TTC</tt>',
        this is used to get other fonts than the first.

Returns

0 if failed.